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 'image_id':
'image_id',
39 'instance_id':
'instance_id',
44 def __init__(self, image_id=None, instance_id=None, node_id=None, node_ip=None):
45 """NodeMapInner - a model defined in Swagger"""
51 if image_id
is not None:
53 if instance_id
is not None:
55 if node_id
is not None:
57 if node_ip
is not None:
62 """Gets the image_id of this NodeMapInner. # noqa: E501
64 ID of Image for that Node # noqa: E501
66 :return: The image_id of this NodeMapInner. # noqa: E501
73 """Sets the image_id of this NodeMapInner.
75 ID of Image for that Node # noqa: E501
77 :param image_id: The image_id of this NodeMapInner. # noqa: E501
85 """Gets the instance_id of this NodeMapInner. # noqa: E501
87 ID of the instance for that Node (set by the server) # noqa: E501
89 :return: The instance_id of this NodeMapInner. # noqa: E501
96 """Sets the instance_id of this NodeMapInner.
98 ID of the instance for that Node (set by the server) # noqa: E501
100 :param instance_id: The instance_id of this NodeMapInner. # noqa: E501
108 """Gets the node_id of this NodeMapInner. # noqa: E501
110 ID of a Node # noqa: E501
112 :return: The node_id of this NodeMapInner. # noqa: E501
119 """Sets the node_id of this NodeMapInner.
121 ID of a Node # noqa: E501
123 :param node_id: The node_id of this NodeMapInner. # noqa: E501
131 """Gets the node_ip of this NodeMapInner. # noqa: E501
133 IP of a non-FPGA node (is used only if image_id=NON_FPGA) # noqa: E501
135 :return: The node_ip of this NodeMapInner. # noqa: E501
142 """Sets the node_ip of this NodeMapInner.
144 IP of a non-FPGA node (is used only if image_id=NON_FPGA) # noqa: E501
146 :param node_ip: The node_ip of this NodeMapInner. # 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(NodeMapInner, 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, NodeMapInner):
192 return self.
__dict____dict__ == other.__dict__
195 """Returns true if both objects are not equal"""
196 return not self == other
def __init__(self, image_id=None, instance_id=None, node_id=None, node_ip=None)
def instance_id(self, instance_id)
def image_id(self, image_id)
def node_ip(self, node_ip)
def node_id(self, node_id)