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 'custom_request_method':
'str',
32 'custom_request_uri':
'str',
33 'custom_request_payload':
'str'
37 'custom_request_method':
'custom_request_method',
38 'custom_request_uri':
'custom_request_uri',
39 'custom_request_payload':
'custom_request_payload'
42 def __init__(self, custom_request_method=None, custom_request_uri=None, custom_request_payload=None):
43 """InstanceIdApiGatewayBody - a model defined in Swagger"""
50 if custom_request_payload
is not None:
55 """Gets the custom_request_method of this InstanceIdApiGatewayBody. # noqa: E501
57 The METHOD of the custom API request # noqa: E501
59 :return: The custom_request_method of this InstanceIdApiGatewayBody. # noqa: E501
64 @custom_request_method.setter
66 """Sets the custom_request_method of this InstanceIdApiGatewayBody.
68 The METHOD of the custom API request # noqa: E501
70 :param custom_request_method: The custom_request_method of this InstanceIdApiGatewayBody. # noqa: E501
73 if custom_request_method
is None:
74 raise ValueError(
"Invalid value for `custom_request_method`, must not be `None`")
80 """Gets the custom_request_uri of this InstanceIdApiGatewayBody. # noqa: E501
82 The URI (i.e. path) of the custom API request # noqa: E501
84 :return: The custom_request_uri of this InstanceIdApiGatewayBody. # noqa: E501
89 @custom_request_uri.setter
91 """Sets the custom_request_uri of this InstanceIdApiGatewayBody.
93 The URI (i.e. path) of the custom API request # noqa: E501
95 :param custom_request_uri: The custom_request_uri of this InstanceIdApiGatewayBody. # noqa: E501
98 if custom_request_uri
is None:
99 raise ValueError(
"Invalid value for `custom_request_uri`, must not be `None`")
105 """Gets the custom_request_payload of this InstanceIdApiGatewayBody. # noqa: E501
107 The PAYLPOAD (i.e. body) of the custom API request # noqa: E501
109 :return: The custom_request_payload of this InstanceIdApiGatewayBody. # noqa: E501
114 @custom_request_payload.setter
116 """Sets the custom_request_payload of this InstanceIdApiGatewayBody.
118 The PAYLPOAD (i.e. body) of the custom API request # noqa: E501
120 :param custom_request_payload: The custom_request_payload of this InstanceIdApiGatewayBody. # 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(InstanceIdApiGatewayBody, 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, InstanceIdApiGatewayBody):
166 return self.
__dict____dict__ == other.__dict__
169 """Returns true if both objects are not equal"""
170 return not self == other
def custom_request_uri(self)
def __init__(self, custom_request_method=None, custom_request_uri=None, custom_request_payload=None)
def custom_request_method(self)
def custom_request_payload(self)
def custom_request_uri(self, custom_request_uri)
def custom_request_method(self, custom_request_method)
def custom_request_payload(self, custom_request_payload)