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.
42 def __init__(self, device=None, host=None, port=None):
43 """InlineResponse2003 - a model defined in Swagger"""
45 self.
_host_host =
None
46 self.
_port_port =
None
48 if device
is not None:
57 """Gets the device of this InlineResponse2003. # noqa: E501
59 Device name of the FPGA in the hw_server connection # noqa: E501
61 :return: The device of this InlineResponse2003. # noqa: E501
68 """Sets the device of this InlineResponse2003.
70 Device name of the FPGA in the hw_server connection # noqa: E501
72 :param device: The device of this InlineResponse2003. # noqa: E501
80 """Gets the host of this InlineResponse2003. # noqa: E501
82 Hostname or IP address to connect # noqa: E501
84 :return: The host of this InlineResponse2003. # noqa: E501
87 return self.
_host_host
91 """Sets the host of this InlineResponse2003.
93 Hostname or IP address to connect # noqa: E501
95 :param host: The host of this InlineResponse2003. # noqa: E501
99 self.
_host_host = host
103 """Gets the port of this InlineResponse2003. # noqa: E501
105 TCP port to connect # noqa: E501
107 :return: The port of this InlineResponse2003. # noqa: E501
110 return self.
_port_port
114 """Sets the port of this InlineResponse2003.
116 TCP port to connect # noqa: E501
118 :param port: The port of this InlineResponse2003. # noqa: E501
122 self.
_port_port = port
125 """Returns the model properties as a dict"""
128 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
129 value = getattr(self, attr)
130 if isinstance(value, list):
131 result[attr] = list(map(
132 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
135 elif hasattr(value,
"to_dict"):
136 result[attr] = value.to_dict()
137 elif isinstance(value, dict):
138 result[attr] = dict(map(
139 lambda item: (item[0], item[1].
to_dict())
140 if hasattr(item[1],
"to_dict")
else item,
145 if issubclass(InlineResponse2003, dict):
146 for key, value
in self.items():
152 """Returns the string representation of the model"""
153 return pprint.pformat(self.
to_dictto_dict())
156 """For `print` and `pprint`"""
157 return self.
to_strto_str()
160 """Returns true if both objects are equal"""
161 if not isinstance(other, InlineResponse2003):
164 return self.
__dict____dict__ == other.__dict__
167 """Returns true if both objects are not equal"""
168 return not self == other
def __init__(self, device=None, host=None, port=None)