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.
31 'by_inst_id':
'dict(str, object)',
32 'by_rank':
'dict(str, object)'
36 'by_inst_id':
'by_inst_id',
40 def __init__(self, by_inst_id=None, by_rank=None):
41 """InlineResponse2002 - a model defined in Swagger"""
45 if by_inst_id
is not None:
47 if by_rank
is not None:
52 """Gets the by_inst_id of this InlineResponse2002. # noqa: E501
55 :return: The by_inst_id of this InlineResponse2002. # noqa: E501
56 :rtype: dict(str, object)
62 """Sets the by_inst_id of this InlineResponse2002.
65 :param by_inst_id: The by_inst_id of this InlineResponse2002. # noqa: E501
66 :type: dict(str, object)
73 """Gets the by_rank of this InlineResponse2002. # noqa: E501
76 :return: The by_rank of this InlineResponse2002. # noqa: E501
77 :rtype: dict(str, object)
83 """Sets the by_rank of this InlineResponse2002.
86 :param by_rank: The by_rank of this InlineResponse2002. # noqa: E501
87 :type: dict(str, object)
93 """Returns the model properties as a dict"""
96 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
97 value = getattr(self, attr)
98 if isinstance(value, list):
99 result[attr] = list(map(
100 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
103 elif hasattr(value,
"to_dict"):
104 result[attr] = value.to_dict()
105 elif isinstance(value, dict):
106 result[attr] = dict(map(
107 lambda item: (item[0], item[1].
to_dict())
108 if hasattr(item[1],
"to_dict")
else item,
113 if issubclass(InlineResponse2002, dict):
114 for key, value
in self.items():
120 """Returns the string representation of the model"""
121 return pprint.pformat(self.
to_dictto_dict())
124 """For `print` and `pprint`"""
125 return self.
to_strto_str()
128 """Returns true if both objects are equal"""
129 if not isinstance(other, InlineResponse2002):
132 return self.
__dict____dict__ == other.__dict__
135 """Returns true if both objects are not equal"""
136 return not self == other
def __init__(self, by_inst_id=None, by_rank=None)
def by_inst_id(self, by_inst_id)
def by_rank(self, by_rank)