4 cloudFPGA Resource Manager API
6 No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
8 OpenAPI spec version: 0.8
10 Generated by: https://github.com/swagger-api/swagger-codegen.git
19 """NOTE: This class is auto generated by the swagger code generator program.
21 Do not edit the class manually.
25 swagger_types (dict): The key is attribute name
26 and the value is attribute type.
27 attribute_map (dict): The key is attribute name
28 and the value is json key in definition.
38 'failure_cnt':
'failure_cnt',
39 'failure_msg':
'failure_msg',
41 'success_cnt':
'success_cnt'
44 def __init__(self, failure_cnt=None, failure_msg=None, status=None, success_cnt=None):
45 """InlineResponse2006 - a model defined in Swagger"""
51 if failure_cnt
is not None:
53 if failure_msg
is not None:
55 if status
is not None:
57 if success_cnt
is not None:
62 """Gets the failure_cnt of this InlineResponse2006. # noqa: E501
64 Counter of failures on this resource # noqa: E501
66 :return: The failure_cnt of this InlineResponse2006. # noqa: E501
73 """Sets the failure_cnt of this InlineResponse2006.
75 Counter of failures on this resource # noqa: E501
77 :param failure_cnt: The failure_cnt of this InlineResponse2006. # noqa: E501
85 """Gets the failure_msg of this InlineResponse2006. # noqa: E501
87 The last failure that occured on this resource # noqa: E501
89 :return: The failure_msg of this InlineResponse2006. # noqa: E501
96 """Sets the failure_msg of this InlineResponse2006.
98 The last failure that occured on this resource # noqa: E501
100 :param failure_msg: The failure_msg of this InlineResponse2006. # noqa: E501
108 """Gets the status of this InlineResponse2006. # noqa: E501
110 The state of the resource # noqa: E501
112 :return: The status of this InlineResponse2006. # noqa: E501
119 """Sets the status of this InlineResponse2006.
121 The state of the resource # noqa: E501
123 :param status: The status of this InlineResponse2006. # noqa: E501
131 """Gets the success_cnt of this InlineResponse2006. # noqa: E501
133 Counter of successfull deployments on this resource # noqa: E501
135 :return: The success_cnt of this InlineResponse2006. # noqa: E501
142 """Sets the success_cnt of this InlineResponse2006.
144 Counter of successfull deployments on this resource # noqa: E501
146 :param success_cnt: The success_cnt of this InlineResponse2006. # noqa: E501
153 """Returns the model properties as a dict"""
156 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
157 value = getattr(self, attr)
158 if isinstance(value, list):
159 result[attr] = list(map(
160 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
163 elif hasattr(value,
"to_dict"):
164 result[attr] = value.to_dict()
165 elif isinstance(value, dict):
166 result[attr] = dict(map(
167 lambda item: (item[0], item[1].
to_dict())
168 if hasattr(item[1],
"to_dict")
else item,
173 if issubclass(InlineResponse2006, dict):
174 for key, value
in self.items():
180 """Returns the string representation of the model"""
181 return pprint.pformat(self.
to_dictto_dict())
184 """For `print` and `pprint`"""
185 return self.
to_strto_str()
188 """Returns true if both objects are equal"""
189 if not isinstance(other, InlineResponse2006):
192 return self.
__dict____dict__ == other.__dict__
195 """Returns true if both objects are not equal"""
196 return not self == other
def success_cnt(self, success_cnt)
def __init__(self, failure_cnt=None, failure_msg=None, status=None, success_cnt=None)
def failure_msg(self, failure_msg)
def failure_cnt(self, failure_cnt)