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',
36 'pr_verify_rpt':
'str'
40 'image_details':
'image_details',
41 'dcp_file':
'dcp_file',
42 'bit_file':
'bit_file',
43 'mcs_file':
'mcs_file',
44 'sig_file':
'sig_file',
45 'pr_verify_rpt':
'pr_verify_rpt'
48 def __init__(self, image_details=None, dcp_file=None, bit_file=None, mcs_file=None, sig_file=None, pr_verify_rpt=None):
49 """AdministrationPlatformLogicBody - a model defined in Swagger"""
66 """Gets the image_details of this AdministrationPlatformLogicBody. # noqa: E501
68 Must be a valid `image_detail` dict-representation. Example: ```json { \"fpga_board\": \"FMKU60\", \"shell_type\": \"Themisto\", \"version\": \"0.9.42\", \"needs_mantle\": false, \"has_fmc_tcp\": true, \"comment\" : \"Some valuable information for humans (optional)\" } ``` # noqa: E501
70 :return: The image_details of this AdministrationPlatformLogicBody. # noqa: E501
77 """Sets the image_details of this AdministrationPlatformLogicBody.
79 Must be a valid `image_detail` dict-representation. Example: ```json { \"fpga_board\": \"FMKU60\", \"shell_type\": \"Themisto\", \"version\": \"0.9.42\", \"needs_mantle\": false, \"has_fmc_tcp\": true, \"comment\" : \"Some valuable information for humans (optional)\" } ``` # noqa: E501
81 :param image_details: The image_details of this AdministrationPlatformLogicBody. # noqa: E501
84 if image_details
is None:
85 raise ValueError(
"Invalid value for `image_details`, must not be `None`")
91 """Gets the dcp_file of this AdministrationPlatformLogicBody. # noqa: E501
93 the STATIC dcp checkpoint to be used by users # noqa: E501
95 :return: The dcp_file of this AdministrationPlatformLogicBody. # noqa: E501
102 """Sets the dcp_file of this AdministrationPlatformLogicBody.
104 the STATIC dcp checkpoint to be used by users # noqa: E501
106 :param dcp_file: The dcp_file of this AdministrationPlatformLogicBody. # noqa: E501
110 raise ValueError(
"Invalid value for `dcp_file`, must not be `None`")
116 """Gets the bit_file of this AdministrationPlatformLogicBody. # noqa: E501
118 The corresponding static bitfile, to write to the FPGA # noqa: E501
120 :return: The bit_file of this AdministrationPlatformLogicBody. # noqa: E501
127 """Sets the bit_file of this AdministrationPlatformLogicBody.
129 The corresponding static bitfile, to write to the FPGA # noqa: E501
131 :param bit_file: The bit_file of this AdministrationPlatformLogicBody. # noqa: E501
135 raise ValueError(
"Invalid value for `bit_file`, must not be `None`")
141 """Gets the mcs_file of this AdministrationPlatformLogicBody. # noqa: E501
143 The corresponding mcs file, to write to the board flash # noqa: E501
145 :return: The mcs_file of this AdministrationPlatformLogicBody. # noqa: E501
152 """Sets the mcs_file of this AdministrationPlatformLogicBody.
154 The corresponding mcs file, to write to the board flash # noqa: E501
156 :param mcs_file: The mcs_file of this AdministrationPlatformLogicBody. # noqa: E501
160 raise ValueError(
"Invalid value for `mcs_file`, must not be `None`")
166 """Gets the sig_file of this AdministrationPlatformLogicBody. # noqa: E501
168 The corresponding .sig file of the binfile # noqa: E501
170 :return: The sig_file of this AdministrationPlatformLogicBody. # noqa: E501
177 """Sets the sig_file of this AdministrationPlatformLogicBody.
179 The corresponding .sig file of the binfile # noqa: E501
181 :param sig_file: The sig_file of this AdministrationPlatformLogicBody. # noqa: E501
185 raise ValueError(
"Invalid value for `sig_file`, must not be `None`")
191 """Gets the pr_verify_rpt of this AdministrationPlatformLogicBody. # noqa: E501
193 Result of the `pr_verify` command # noqa: E501
195 :return: The pr_verify_rpt of this AdministrationPlatformLogicBody. # noqa: E501
200 @pr_verify_rpt.setter
202 """Sets the pr_verify_rpt of this AdministrationPlatformLogicBody.
204 Result of the `pr_verify` command # noqa: E501
206 :param pr_verify_rpt: The pr_verify_rpt of this AdministrationPlatformLogicBody. # noqa: E501
209 if pr_verify_rpt
is None:
210 raise ValueError(
"Invalid value for `pr_verify_rpt`, must not be `None`")
215 """Returns the model properties as a dict"""
218 for attr, _
in six.iteritems(self.
swagger_typesswagger_types):
219 value = getattr(self, attr)
220 if isinstance(value, list):
221 result[attr] = list(map(
222 lambda x: x.to_dict()
if hasattr(x,
"to_dict")
else x,
225 elif hasattr(value,
"to_dict"):
226 result[attr] = value.to_dict()
227 elif isinstance(value, dict):
228 result[attr] = dict(map(
229 lambda item: (item[0], item[1].
to_dict())
230 if hasattr(item[1],
"to_dict")
else item,
235 if issubclass(AdministrationPlatformLogicBody, dict):
236 for key, value
in self.items():
242 """Returns the string representation of the model"""
243 return pprint.pformat(self.
to_dictto_dict())
246 """For `print` and `pprint`"""
247 return self.
to_strto_str()
250 """Returns true if both objects are equal"""
251 if not isinstance(other, AdministrationPlatformLogicBody):
254 return self.
__dict____dict__ == other.__dict__
257 """Returns true if both objects are not equal"""
258 return not self == other