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.
41 'fpga_board':
'fpga_board',
43 'shell_type':
'shell_type'
46 def __init__(self, breed=None, comment=None, fpga_board=None, id=None, shell_type=None):
47 """Image - a model defined in Swagger"""
56 if comment
is not None:
58 if fpga_board
is not None:
62 if shell_type
is not None:
67 """Gets the breed of this Image. # noqa: E501
69 SHELL or ROLE; SHELL is only allowed by admins # noqa: E501
71 :return: The breed of this Image. # noqa: E501
78 """Sets the breed of this Image.
80 SHELL or ROLE; SHELL is only allowed by admins # noqa: E501
82 :param breed: The breed of this Image. # noqa: E501
90 """Gets the comment of this Image. # noqa: E501
92 Some valuable information for humans (optional) # noqa: E501
94 :return: The comment of this Image. # noqa: E501
101 """Sets the comment of this Image.
103 Some valuable information for humans (optional) # noqa: E501
105 :param comment: The comment of this Image. # noqa: E501
113 """Gets the fpga_board of this Image. # noqa: E501
115 Type of cloudFPGA (for SHELL only) # noqa: E501
117 :return: The fpga_board of this Image. # noqa: E501
124 """Sets the fpga_board of this Image.
126 Type of cloudFPGA (for SHELL only) # noqa: E501
128 :param fpga_board: The fpga_board of this Image. # noqa: E501
136 """Gets the id of this Image. # noqa: E501
138 ID of the Image # noqa: E501
140 :return: The id of this Image. # noqa: E501
147 """Sets the id of this Image.
149 ID of the Image # noqa: E501
151 :param id: The id of this Image. # noqa: E501
159 """Gets the shell_type of this Image. # noqa: E501
161 Shell type as interface # noqa: E501
163 :return: The shell_type of this Image. # noqa: E501
170 """Sets the shell_type of this Image.
172 Shell type as interface # noqa: E501
174 :param shell_type: The shell_type of this Image. # noqa: E501
181 """Returns the model properties as a dict"""
184 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
185 value = getattr(self, attr)
186 if isinstance(value, list):
187 result[attr] = list(map(
188 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
191 elif hasattr(value,
"to_dict"):
192 result[attr] = value.to_dict()
193 elif isinstance(value, dict):
194 result[attr] = dict(map(
195 lambda item: (item[0], item[1].
to_dict())
196 if hasattr(item[1],
"to_dict")
else item,
201 if issubclass(Image, dict):
202 for key, value
in self.items():
208 """Returns the string representation of the model"""
209 return pprint.pformat(self.
to_dictto_dict())
212 """For `print` and `pprint`"""
213 return self.
to_strto_str()
216 """Returns true if both objects are equal"""
217 if not isinstance(other, Image):
220 return self.
__dict____dict__ == other.__dict__
223 """Returns true if both objects are not equal"""
224 return not self == other
def shell_type(self, shell_type)
def __init__(self, breed=None, comment=None, fpga_board=None, id=None, shell_type=None)
def comment(self, comment)
def fpga_board(self, fpga_board)