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',
34 'pr_verify_rpt':
'str'
38 'image_details':
'image_details',
39 'image_file':
'image_file',
40 'sig_file':
'sig_file',
41 'pr_verify_rpt':
'pr_verify_rpt'
44 def __init__(self, image_details=None, image_file=None, sig_file=None, pr_verify_rpt=None):
45 """ImagesAppLogicBody - a model defined in Swagger"""
58 """Gets the image_details of this ImagesAppLogicBody. # noqa: E501
60 Must be a valid `image_detail` dict-representation. Example: ```json { \"cl_id\": \"42\", \"fpga_board\": \"FMKU60\", \"shell_type\": \"Themisto\", \"comment\" : \"Some valuable information for humans (optional)\" } ``` # noqa: E501
62 :return: The image_details of this ImagesAppLogicBody. # noqa: E501
69 """Sets the image_details of this ImagesAppLogicBody.
71 Must be a valid `image_detail` dict-representation. Example: ```json { \"cl_id\": \"42\", \"fpga_board\": \"FMKU60\", \"shell_type\": \"Themisto\", \"comment\" : \"Some valuable information for humans (optional)\" } ``` # noqa: E501
73 :param image_details: The image_details of this ImagesAppLogicBody. # noqa: E501
76 if image_details
is None:
77 raise ValueError(
"Invalid value for `image_details`, must not be `None`")
83 """Gets the image_file of this ImagesAppLogicBody. # noqa: E501
85 FPGA binfile to be programmed # noqa: E501
87 :return: The image_file of this ImagesAppLogicBody. # noqa: E501
94 """Sets the image_file of this ImagesAppLogicBody.
96 FPGA binfile to be programmed # noqa: E501
98 :param image_file: The image_file of this ImagesAppLogicBody. # noqa: E501
101 if image_file
is None:
102 raise ValueError(
"Invalid value for `image_file`, must not be `None`")
108 """Gets the sig_file of this ImagesAppLogicBody. # noqa: E501
110 The corresponding .sig file of the binfile # noqa: E501
112 :return: The sig_file of this ImagesAppLogicBody. # noqa: E501
119 """Sets the sig_file of this ImagesAppLogicBody.
121 The corresponding .sig file of the binfile # noqa: E501
123 :param sig_file: The sig_file of this ImagesAppLogicBody. # noqa: E501
127 raise ValueError(
"Invalid value for `sig_file`, must not be `None`")
133 """Gets the pr_verify_rpt of this ImagesAppLogicBody. # noqa: E501
135 Result of the `pr_verify` command # noqa: E501
137 :return: The pr_verify_rpt of this ImagesAppLogicBody. # noqa: E501
142 @pr_verify_rpt.setter
144 """Sets the pr_verify_rpt of this ImagesAppLogicBody.
146 Result of the `pr_verify` command # noqa: E501
148 :param pr_verify_rpt: The pr_verify_rpt of this ImagesAppLogicBody. # noqa: E501
151 if pr_verify_rpt
is None:
152 raise ValueError(
"Invalid value for `pr_verify_rpt`, must not be `None`")
157 """Returns the model properties as a dict"""
160 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
161 value = getattr(self, attr)
162 if isinstance(value, list):
163 result[attr] = list(map(
164 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
167 elif hasattr(value,
"to_dict"):
168 result[attr] = value.to_dict()
169 elif isinstance(value, dict):
170 result[attr] = dict(map(
171 lambda item: (item[0], item[1].
to_dict())
172 if hasattr(item[1],
"to_dict")
else item,
177 if issubclass(ImagesAppLogicBody, dict):
178 for key, value
in self.items():
184 """Returns the string representation of the model"""
185 return pprint.pformat(self.
to_dictto_dict())
188 """For `print` and `pprint`"""
189 return self.
to_strto_str()
192 """Returns true if both objects are equal"""
193 if not isinstance(other, ImagesAppLogicBody):
196 return self.
__dict____dict__ == other.__dict__
199 """Returns true if both objects are not equal"""
200 return not self == other
def __init__(self, image_details=None, image_file=None, sig_file=None, pr_verify_rpt=None)
def sig_file(self, sig_file)
def pr_verify_rpt(self, pr_verify_rpt)
def image_details(self, image_details)
def image_file(self, image_file)