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 'image_details':
'str',
33 'pr_verify_rpt':
'str'
37 'image_details':
'image_details',
38 'image_file':
'image_file',
39 'pr_verify_rpt':
'pr_verify_rpt'
42 def __init__(self, image_details=None, image_file=None, pr_verify_rpt=None):
43 """ImagesBody - a model defined in Swagger"""
50 if pr_verify_rpt
is not None:
55 """Gets the image_details of this ImagesBody. # noqa: E501
57 Must be a valid `image_detail` dict-representation. Example: ``` { \"breed\": \"SHELL\", \"fpga_board\": \"FMKU60\", \"shell_type\": \"Themisto\", \"comment\" : \"Some valuable information for humans (optional)\" } ``` # noqa: E501
59 :return: The image_details of this ImagesBody. # noqa: E501
66 """Sets the image_details of this ImagesBody.
68 Must be a valid `image_detail` dict-representation. Example: ``` { \"breed\": \"SHELL\", \"fpga_board\": \"FMKU60\", \"shell_type\": \"Themisto\", \"comment\" : \"Some valuable information for humans (optional)\" } ``` # noqa: E501
70 :param image_details: The image_details of this ImagesBody. # noqa: E501
73 if image_details
is None:
74 raise ValueError(
"Invalid value for `image_details`, must not be `None`")
80 """Gets the image_file of this ImagesBody. # noqa: E501
82 FPGA bitfile to be programmed # noqa: E501
84 :return: The image_file of this ImagesBody. # noqa: E501
91 """Sets the image_file of this ImagesBody.
93 FPGA bitfile to be programmed # noqa: E501
95 :param image_file: The image_file of this ImagesBody. # noqa: E501
98 if image_file
is None:
99 raise ValueError(
"Invalid value for `image_file`, must not be `None`")
105 """Gets the pr_verify_rpt of this ImagesBody. # noqa: E501
107 Result of the `pr_verify` command (currently optional) # noqa: E501
109 :return: The pr_verify_rpt of this ImagesBody. # noqa: E501
114 @pr_verify_rpt.setter
116 """Sets the pr_verify_rpt of this ImagesBody.
118 Result of the `pr_verify` command (currently optional) # noqa: E501
120 :param pr_verify_rpt: The pr_verify_rpt of this ImagesBody. # noqa: E501
127 """Returns the model properties as a dict"""
130 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
131 value = getattr(self, attr)
132 if isinstance(value, list):
133 result[attr] = list(map(
134 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
137 elif hasattr(value,
"to_dict"):
138 result[attr] = value.to_dict()
139 elif isinstance(value, dict):
140 result[attr] = dict(map(
141 lambda item: (item[0], item[1].
to_dict())
142 if hasattr(item[1],
"to_dict")
else item,
147 if issubclass(ImagesBody, dict):
148 for key, value
in self.items():
154 """Returns the string representation of the model"""
155 return pprint.pformat(self.
to_dictto_dict())
158 """For `print` and `pprint`"""
159 return self.
to_strto_str()
162 """Returns true if both objects are equal"""
163 if not isinstance(other, ImagesBody):
166 return self.
__dict____dict__ == other.__dict__
169 """Returns true if both objects are not equal"""
170 return not self == other
def pr_verify_rpt(self, pr_verify_rpt)
def __init__(self, image_details=None, image_file=None, pr_verify_rpt=None)
def image_details(self, image_details)
def image_file(self, image_file)