-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from fabric-testbed/rel1.6
Rel1.6 changes
- Loading branch information
Showing
13 changed files
with
197 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.0.44 | ||
3.0.46 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# PoaPostDataKeys | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**key** | **str** | | | ||
**comment** | **str** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "1.5.4" | ||
__version__ = "1.6.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
138 changes: 138 additions & 0 deletions
138
fabric_cf/orchestrator/swagger_client/models/poa_post_data_keys.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
# coding: utf-8 | ||
|
||
""" | ||
Fabric Orchestrator API | ||
This is Fabric Orchestrator API # noqa: E501 | ||
OpenAPI spec version: 1.0.1 | ||
Contact: [email protected] | ||
Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
""" | ||
|
||
import pprint | ||
import re # noqa: F401 | ||
|
||
import six | ||
|
||
class PoaPostDataKeys(object): | ||
"""NOTE: This class is auto generated by the swagger code generator program. | ||
Do not edit the class manually. | ||
""" | ||
""" | ||
Attributes: | ||
swagger_types (dict): The key is attribute name | ||
and the value is attribute type. | ||
attribute_map (dict): The key is attribute name | ||
and the value is json key in definition. | ||
""" | ||
swagger_types = { | ||
'key': 'str', | ||
'comment': 'str' | ||
} | ||
|
||
attribute_map = { | ||
'key': 'key', | ||
'comment': 'comment' | ||
} | ||
|
||
def __init__(self, key=None, comment=None): # noqa: E501 | ||
"""PoaPostDataKeys - a model defined in Swagger""" # noqa: E501 | ||
self._key = None | ||
self._comment = None | ||
self.discriminator = None | ||
self.key = key | ||
self.comment = comment | ||
|
||
@property | ||
def key(self): | ||
"""Gets the key of this PoaPostDataKeys. # noqa: E501 | ||
:return: The key of this PoaPostDataKeys. # noqa: E501 | ||
:rtype: str | ||
""" | ||
return self._key | ||
|
||
@key.setter | ||
def key(self, key): | ||
"""Sets the key of this PoaPostDataKeys. | ||
:param key: The key of this PoaPostDataKeys. # noqa: E501 | ||
:type: str | ||
""" | ||
if key is None: | ||
raise ValueError("Invalid value for `key`, must not be `None`") # noqa: E501 | ||
|
||
self._key = key | ||
|
||
@property | ||
def comment(self): | ||
"""Gets the comment of this PoaPostDataKeys. # noqa: E501 | ||
:return: The comment of this PoaPostDataKeys. # noqa: E501 | ||
:rtype: str | ||
""" | ||
return self._comment | ||
|
||
@comment.setter | ||
def comment(self, comment): | ||
"""Sets the comment of this PoaPostDataKeys. | ||
:param comment: The comment of this PoaPostDataKeys. # noqa: E501 | ||
:type: str | ||
""" | ||
if comment is None: | ||
raise ValueError("Invalid value for `comment`, must not be `None`") # noqa: E501 | ||
|
||
self._comment = comment | ||
|
||
def to_dict(self): | ||
"""Returns the model properties as a dict""" | ||
result = {} | ||
|
||
for attr, _ in six.iteritems(self.swagger_types): | ||
value = getattr(self, attr) | ||
if isinstance(value, list): | ||
result[attr] = list(map( | ||
lambda x: x.to_dict() if hasattr(x, "to_dict") else x, | ||
value | ||
)) | ||
elif hasattr(value, "to_dict"): | ||
result[attr] = value.to_dict() | ||
elif isinstance(value, dict): | ||
result[attr] = dict(map( | ||
lambda item: (item[0], item[1].to_dict()) | ||
if hasattr(item[1], "to_dict") else item, | ||
value.items() | ||
)) | ||
else: | ||
result[attr] = value | ||
if issubclass(PoaPostDataKeys, dict): | ||
for key, value in self.items(): | ||
result[key] = value | ||
|
||
return result | ||
|
||
def to_str(self): | ||
"""Returns the string representation of the model""" | ||
return pprint.pformat(self.to_dict()) | ||
|
||
def __repr__(self): | ||
"""For `print` and `pprint`""" | ||
return self.to_str() | ||
|
||
def __eq__(self, other): | ||
"""Returns true if both objects are equal""" | ||
if not isinstance(other, PoaPostDataKeys): | ||
return False | ||
|
||
return self.__dict__ == other.__dict__ | ||
|
||
def __ne__(self, other): | ||
"""Returns true if both objects are not equal""" | ||
return not self == other |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters