docusign_webforms.models.create_instance_request_body

Web Forms API version 1.1

The Web Forms API facilitates generating semantic HTML forms around everyday contracts. # noqa: E501

OpenAPI spec version: 1.1.0 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git

  1# coding: utf-8
  2
  3"""
  4    Web Forms API version 1.1
  5
  6    The Web Forms API facilitates generating semantic HTML forms around everyday contracts.   # noqa: E501
  7
  8    OpenAPI spec version: 1.1.0
  9    Contact: devcenter@docusign.com
 10    Generated by: https://github.com/swagger-api/swagger-codegen.git
 11"""
 12
 13
 14import pprint
 15import re  # noqa: F401
 16
 17import six
 18
 19from docusign_webforms.client.configuration import Configuration
 20
 21
 22class CreateInstanceRequestBody(object):
 23    """NOTE: This class is auto generated by the swagger code generator program.
 24
 25    Do not edit the class manually.
 26    """
 27
 28    """
 29    Attributes:
 30      swagger_types (dict): The key is attribute name
 31                            and the value is attribute type.
 32      attribute_map (dict): The key is attribute name
 33                            and the value is json key in definition.
 34    """
 35    swagger_types = {
 36        'form_values': 'WebFormValues',
 37        'client_user_id': 'str',
 38        'authentication_instant': 'datetime',
 39        'authentication_method': 'AuthenticationMethod',
 40        'assertion_id': 'str',
 41        'security_domain': 'str',
 42        'return_url': 'str',
 43        'expiration_offset': 'int',
 44        'tags': 'list[str]'
 45    }
 46
 47    attribute_map = {
 48        'form_values': 'formValues',
 49        'client_user_id': 'clientUserId',
 50        'authentication_instant': 'authenticationInstant',
 51        'authentication_method': 'authenticationMethod',
 52        'assertion_id': 'assertionId',
 53        'security_domain': 'securityDomain',
 54        'return_url': 'returnUrl',
 55        'expiration_offset': 'expirationOffset',
 56        'tags': 'tags'
 57    }
 58
 59    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 60        """CreateInstanceRequestBody - a model defined in Swagger"""  # noqa: E501
 61        if _configuration is None:
 62            _configuration = Configuration()
 63        self._configuration = _configuration
 64
 65        self._form_values = None
 66        self._client_user_id = None
 67        self._authentication_instant = None
 68        self._authentication_method = None
 69        self._assertion_id = None
 70        self._security_domain = None
 71        self._return_url = None
 72        self._expiration_offset = None
 73        self._tags = None
 74        self.discriminator = None
 75
 76        setattr(self, "_{}".format('form_values'), kwargs.get('form_values', None))
 77        setattr(self, "_{}".format('client_user_id'), kwargs.get('client_user_id', None))
 78        setattr(self, "_{}".format('authentication_instant'), kwargs.get('authentication_instant', None))
 79        setattr(self, "_{}".format('authentication_method'), kwargs.get('authentication_method', None))
 80        setattr(self, "_{}".format('assertion_id'), kwargs.get('assertion_id', None))
 81        setattr(self, "_{}".format('security_domain'), kwargs.get('security_domain', None))
 82        setattr(self, "_{}".format('return_url'), kwargs.get('return_url', None))
 83        setattr(self, "_{}".format('expiration_offset'), kwargs.get('expiration_offset', None))
 84        setattr(self, "_{}".format('tags'), kwargs.get('tags', None))
 85
 86    @property
 87    def form_values(self):
 88        """Gets the form_values of this CreateInstanceRequestBody.  # noqa: E501
 89
 90
 91        :return: The form_values of this CreateInstanceRequestBody.  # noqa: E501
 92        :rtype: WebFormValues
 93        """
 94        return self._form_values
 95
 96    @form_values.setter
 97    def form_values(self, form_values):
 98        """Sets the form_values of this CreateInstanceRequestBody.
 99
100
101        :param form_values: The form_values of this CreateInstanceRequestBody.  # noqa: E501
102        :type: WebFormValues
103        """
104
105        self._form_values = form_values
106
107    @property
108    def client_user_id(self):
109        """Gets the client_user_id of this CreateInstanceRequestBody.  # noqa: E501
110
111
112        :return: The client_user_id of this CreateInstanceRequestBody.  # noqa: E501
113        :rtype: str
114        """
115        return self._client_user_id
116
117    @client_user_id.setter
118    def client_user_id(self, client_user_id):
119        """Sets the client_user_id of this CreateInstanceRequestBody.
120
121
122        :param client_user_id: The client_user_id of this CreateInstanceRequestBody.  # noqa: E501
123        :type: str
124        """
125        if self._configuration.client_side_validation and client_user_id is None:
126            raise ValueError("Invalid value for `client_user_id`, must not be `None`")  # noqa: E501
127
128        self._client_user_id = client_user_id
129
130    @property
131    def authentication_instant(self):
132        """Gets the authentication_instant of this CreateInstanceRequestBody.  # noqa: E501
133
134
135        :return: The authentication_instant of this CreateInstanceRequestBody.  # noqa: E501
136        :rtype: datetime
137        """
138        return self._authentication_instant
139
140    @authentication_instant.setter
141    def authentication_instant(self, authentication_instant):
142        """Sets the authentication_instant of this CreateInstanceRequestBody.
143
144
145        :param authentication_instant: The authentication_instant of this CreateInstanceRequestBody.  # noqa: E501
146        :type: datetime
147        """
148
149        self._authentication_instant = authentication_instant
150
151    @property
152    def authentication_method(self):
153        """Gets the authentication_method of this CreateInstanceRequestBody.  # noqa: E501
154
155
156        :return: The authentication_method of this CreateInstanceRequestBody.  # noqa: E501
157        :rtype: AuthenticationMethod
158        """
159        return self._authentication_method
160
161    @authentication_method.setter
162    def authentication_method(self, authentication_method):
163        """Sets the authentication_method of this CreateInstanceRequestBody.
164
165
166        :param authentication_method: The authentication_method of this CreateInstanceRequestBody.  # noqa: E501
167        :type: AuthenticationMethod
168        """
169
170        self._authentication_method = authentication_method
171
172    @property
173    def assertion_id(self):
174        """Gets the assertion_id of this CreateInstanceRequestBody.  # noqa: E501
175
176
177        :return: The assertion_id of this CreateInstanceRequestBody.  # noqa: E501
178        :rtype: str
179        """
180        return self._assertion_id
181
182    @assertion_id.setter
183    def assertion_id(self, assertion_id):
184        """Sets the assertion_id of this CreateInstanceRequestBody.
185
186
187        :param assertion_id: The assertion_id of this CreateInstanceRequestBody.  # noqa: E501
188        :type: str
189        """
190
191        self._assertion_id = assertion_id
192
193    @property
194    def security_domain(self):
195        """Gets the security_domain of this CreateInstanceRequestBody.  # noqa: E501
196
197
198        :return: The security_domain of this CreateInstanceRequestBody.  # noqa: E501
199        :rtype: str
200        """
201        return self._security_domain
202
203    @security_domain.setter
204    def security_domain(self, security_domain):
205        """Sets the security_domain of this CreateInstanceRequestBody.
206
207
208        :param security_domain: The security_domain of this CreateInstanceRequestBody.  # noqa: E501
209        :type: str
210        """
211
212        self._security_domain = security_domain
213
214    @property
215    def return_url(self):
216        """Gets the return_url of this CreateInstanceRequestBody.  # noqa: E501
217
218
219        :return: The return_url of this CreateInstanceRequestBody.  # noqa: E501
220        :rtype: str
221        """
222        return self._return_url
223
224    @return_url.setter
225    def return_url(self, return_url):
226        """Sets the return_url of this CreateInstanceRequestBody.
227
228
229        :param return_url: The return_url of this CreateInstanceRequestBody.  # noqa: E501
230        :type: str
231        """
232
233        self._return_url = return_url
234
235    @property
236    def expiration_offset(self):
237        """Gets the expiration_offset of this CreateInstanceRequestBody.  # noqa: E501
238
239
240        :return: The expiration_offset of this CreateInstanceRequestBody.  # noqa: E501
241        :rtype: int
242        """
243        return self._expiration_offset
244
245    @expiration_offset.setter
246    def expiration_offset(self, expiration_offset):
247        """Sets the expiration_offset of this CreateInstanceRequestBody.
248
249
250        :param expiration_offset: The expiration_offset of this CreateInstanceRequestBody.  # noqa: E501
251        :type: int
252        """
253
254        self._expiration_offset = expiration_offset
255
256    @property
257    def tags(self):
258        """Gets the tags of this CreateInstanceRequestBody.  # noqa: E501
259
260        List of tags provided by the user with each request. This field is optional.  # noqa: E501
261
262        :return: The tags of this CreateInstanceRequestBody.  # noqa: E501
263        :rtype: list[str]
264        """
265        return self._tags
266
267    @tags.setter
268    def tags(self, tags):
269        """Sets the tags of this CreateInstanceRequestBody.
270
271        List of tags provided by the user with each request. This field is optional.  # noqa: E501
272
273        :param tags: The tags of this CreateInstanceRequestBody.  # noqa: E501
274        :type: list[str]
275        """
276
277        self._tags = tags
278
279    def to_dict(self):
280        """Returns the model properties as a dict"""
281        result = {}
282
283        for attr, _ in six.iteritems(self.swagger_types):
284            value = getattr(self, attr)
285            if isinstance(value, list):
286                result[attr] = list(map(
287                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
288                    value
289                ))
290            elif hasattr(value, "to_dict"):
291                result[attr] = value.to_dict()
292            elif isinstance(value, dict):
293                result[attr] = dict(map(
294                    lambda item: (item[0], item[1].to_dict())
295                    if hasattr(item[1], "to_dict") else item,
296                    value.items()
297                ))
298            else:
299                result[attr] = value
300        if issubclass(CreateInstanceRequestBody, dict):
301            for key, value in self.items():
302                result[key] = value
303
304        return result
305
306    def to_str(self):
307        """Returns the string representation of the model"""
308        return pprint.pformat(self.to_dict())
309
310    def __repr__(self):
311        """For `print` and `pprint`"""
312        return self.to_str()
313
314    def __eq__(self, other):
315        """Returns true if both objects are equal"""
316        if not isinstance(other, CreateInstanceRequestBody):
317            return False
318
319        return self.to_dict() == other.to_dict()
320
321    def __ne__(self, other):
322        """Returns true if both objects are not equal"""
323        if not isinstance(other, CreateInstanceRequestBody):
324            return True
325
326        return self.to_dict() != other.to_dict()
class CreateInstanceRequestBody:
 23class CreateInstanceRequestBody(object):
 24    """NOTE: This class is auto generated by the swagger code generator program.
 25
 26    Do not edit the class manually.
 27    """
 28
 29    """
 30    Attributes:
 31      swagger_types (dict): The key is attribute name
 32                            and the value is attribute type.
 33      attribute_map (dict): The key is attribute name
 34                            and the value is json key in definition.
 35    """
 36    swagger_types = {
 37        'form_values': 'WebFormValues',
 38        'client_user_id': 'str',
 39        'authentication_instant': 'datetime',
 40        'authentication_method': 'AuthenticationMethod',
 41        'assertion_id': 'str',
 42        'security_domain': 'str',
 43        'return_url': 'str',
 44        'expiration_offset': 'int',
 45        'tags': 'list[str]'
 46    }
 47
 48    attribute_map = {
 49        'form_values': 'formValues',
 50        'client_user_id': 'clientUserId',
 51        'authentication_instant': 'authenticationInstant',
 52        'authentication_method': 'authenticationMethod',
 53        'assertion_id': 'assertionId',
 54        'security_domain': 'securityDomain',
 55        'return_url': 'returnUrl',
 56        'expiration_offset': 'expirationOffset',
 57        'tags': 'tags'
 58    }
 59
 60    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
 61        """CreateInstanceRequestBody - a model defined in Swagger"""  # noqa: E501
 62        if _configuration is None:
 63            _configuration = Configuration()
 64        self._configuration = _configuration
 65
 66        self._form_values = None
 67        self._client_user_id = None
 68        self._authentication_instant = None
 69        self._authentication_method = None
 70        self._assertion_id = None
 71        self._security_domain = None
 72        self._return_url = None
 73        self._expiration_offset = None
 74        self._tags = None
 75        self.discriminator = None
 76
 77        setattr(self, "_{}".format('form_values'), kwargs.get('form_values', None))
 78        setattr(self, "_{}".format('client_user_id'), kwargs.get('client_user_id', None))
 79        setattr(self, "_{}".format('authentication_instant'), kwargs.get('authentication_instant', None))
 80        setattr(self, "_{}".format('authentication_method'), kwargs.get('authentication_method', None))
 81        setattr(self, "_{}".format('assertion_id'), kwargs.get('assertion_id', None))
 82        setattr(self, "_{}".format('security_domain'), kwargs.get('security_domain', None))
 83        setattr(self, "_{}".format('return_url'), kwargs.get('return_url', None))
 84        setattr(self, "_{}".format('expiration_offset'), kwargs.get('expiration_offset', None))
 85        setattr(self, "_{}".format('tags'), kwargs.get('tags', None))
 86
 87    @property
 88    def form_values(self):
 89        """Gets the form_values of this CreateInstanceRequestBody.  # noqa: E501
 90
 91
 92        :return: The form_values of this CreateInstanceRequestBody.  # noqa: E501
 93        :rtype: WebFormValues
 94        """
 95        return self._form_values
 96
 97    @form_values.setter
 98    def form_values(self, form_values):
 99        """Sets the form_values of this CreateInstanceRequestBody.
100
101
102        :param form_values: The form_values of this CreateInstanceRequestBody.  # noqa: E501
103        :type: WebFormValues
104        """
105
106        self._form_values = form_values
107
108    @property
109    def client_user_id(self):
110        """Gets the client_user_id of this CreateInstanceRequestBody.  # noqa: E501
111
112
113        :return: The client_user_id of this CreateInstanceRequestBody.  # noqa: E501
114        :rtype: str
115        """
116        return self._client_user_id
117
118    @client_user_id.setter
119    def client_user_id(self, client_user_id):
120        """Sets the client_user_id of this CreateInstanceRequestBody.
121
122
123        :param client_user_id: The client_user_id of this CreateInstanceRequestBody.  # noqa: E501
124        :type: str
125        """
126        if self._configuration.client_side_validation and client_user_id is None:
127            raise ValueError("Invalid value for `client_user_id`, must not be `None`")  # noqa: E501
128
129        self._client_user_id = client_user_id
130
131    @property
132    def authentication_instant(self):
133        """Gets the authentication_instant of this CreateInstanceRequestBody.  # noqa: E501
134
135
136        :return: The authentication_instant of this CreateInstanceRequestBody.  # noqa: E501
137        :rtype: datetime
138        """
139        return self._authentication_instant
140
141    @authentication_instant.setter
142    def authentication_instant(self, authentication_instant):
143        """Sets the authentication_instant of this CreateInstanceRequestBody.
144
145
146        :param authentication_instant: The authentication_instant of this CreateInstanceRequestBody.  # noqa: E501
147        :type: datetime
148        """
149
150        self._authentication_instant = authentication_instant
151
152    @property
153    def authentication_method(self):
154        """Gets the authentication_method of this CreateInstanceRequestBody.  # noqa: E501
155
156
157        :return: The authentication_method of this CreateInstanceRequestBody.  # noqa: E501
158        :rtype: AuthenticationMethod
159        """
160        return self._authentication_method
161
162    @authentication_method.setter
163    def authentication_method(self, authentication_method):
164        """Sets the authentication_method of this CreateInstanceRequestBody.
165
166
167        :param authentication_method: The authentication_method of this CreateInstanceRequestBody.  # noqa: E501
168        :type: AuthenticationMethod
169        """
170
171        self._authentication_method = authentication_method
172
173    @property
174    def assertion_id(self):
175        """Gets the assertion_id of this CreateInstanceRequestBody.  # noqa: E501
176
177
178        :return: The assertion_id of this CreateInstanceRequestBody.  # noqa: E501
179        :rtype: str
180        """
181        return self._assertion_id
182
183    @assertion_id.setter
184    def assertion_id(self, assertion_id):
185        """Sets the assertion_id of this CreateInstanceRequestBody.
186
187
188        :param assertion_id: The assertion_id of this CreateInstanceRequestBody.  # noqa: E501
189        :type: str
190        """
191
192        self._assertion_id = assertion_id
193
194    @property
195    def security_domain(self):
196        """Gets the security_domain of this CreateInstanceRequestBody.  # noqa: E501
197
198
199        :return: The security_domain of this CreateInstanceRequestBody.  # noqa: E501
200        :rtype: str
201        """
202        return self._security_domain
203
204    @security_domain.setter
205    def security_domain(self, security_domain):
206        """Sets the security_domain of this CreateInstanceRequestBody.
207
208
209        :param security_domain: The security_domain of this CreateInstanceRequestBody.  # noqa: E501
210        :type: str
211        """
212
213        self._security_domain = security_domain
214
215    @property
216    def return_url(self):
217        """Gets the return_url of this CreateInstanceRequestBody.  # noqa: E501
218
219
220        :return: The return_url of this CreateInstanceRequestBody.  # noqa: E501
221        :rtype: str
222        """
223        return self._return_url
224
225    @return_url.setter
226    def return_url(self, return_url):
227        """Sets the return_url of this CreateInstanceRequestBody.
228
229
230        :param return_url: The return_url of this CreateInstanceRequestBody.  # noqa: E501
231        :type: str
232        """
233
234        self._return_url = return_url
235
236    @property
237    def expiration_offset(self):
238        """Gets the expiration_offset of this CreateInstanceRequestBody.  # noqa: E501
239
240
241        :return: The expiration_offset of this CreateInstanceRequestBody.  # noqa: E501
242        :rtype: int
243        """
244        return self._expiration_offset
245
246    @expiration_offset.setter
247    def expiration_offset(self, expiration_offset):
248        """Sets the expiration_offset of this CreateInstanceRequestBody.
249
250
251        :param expiration_offset: The expiration_offset of this CreateInstanceRequestBody.  # noqa: E501
252        :type: int
253        """
254
255        self._expiration_offset = expiration_offset
256
257    @property
258    def tags(self):
259        """Gets the tags of this CreateInstanceRequestBody.  # noqa: E501
260
261        List of tags provided by the user with each request. This field is optional.  # noqa: E501
262
263        :return: The tags of this CreateInstanceRequestBody.  # noqa: E501
264        :rtype: list[str]
265        """
266        return self._tags
267
268    @tags.setter
269    def tags(self, tags):
270        """Sets the tags of this CreateInstanceRequestBody.
271
272        List of tags provided by the user with each request. This field is optional.  # noqa: E501
273
274        :param tags: The tags of this CreateInstanceRequestBody.  # noqa: E501
275        :type: list[str]
276        """
277
278        self._tags = tags
279
280    def to_dict(self):
281        """Returns the model properties as a dict"""
282        result = {}
283
284        for attr, _ in six.iteritems(self.swagger_types):
285            value = getattr(self, attr)
286            if isinstance(value, list):
287                result[attr] = list(map(
288                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
289                    value
290                ))
291            elif hasattr(value, "to_dict"):
292                result[attr] = value.to_dict()
293            elif isinstance(value, dict):
294                result[attr] = dict(map(
295                    lambda item: (item[0], item[1].to_dict())
296                    if hasattr(item[1], "to_dict") else item,
297                    value.items()
298                ))
299            else:
300                result[attr] = value
301        if issubclass(CreateInstanceRequestBody, dict):
302            for key, value in self.items():
303                result[key] = value
304
305        return result
306
307    def to_str(self):
308        """Returns the string representation of the model"""
309        return pprint.pformat(self.to_dict())
310
311    def __repr__(self):
312        """For `print` and `pprint`"""
313        return self.to_str()
314
315    def __eq__(self, other):
316        """Returns true if both objects are equal"""
317        if not isinstance(other, CreateInstanceRequestBody):
318            return False
319
320        return self.to_dict() == other.to_dict()
321
322    def __ne__(self, other):
323        """Returns true if both objects are not equal"""
324        if not isinstance(other, CreateInstanceRequestBody):
325            return True
326
327        return self.to_dict() != other.to_dict()

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

CreateInstanceRequestBody(_configuration=None, **kwargs)
60    def __init__(self, _configuration=None, **kwargs):  # noqa: E501
61        """CreateInstanceRequestBody - a model defined in Swagger"""  # noqa: E501
62        if _configuration is None:
63            _configuration = Configuration()
64        self._configuration = _configuration
65
66        self._form_values = None
67        self._client_user_id = None
68        self._authentication_instant = None
69        self._authentication_method = None
70        self._assertion_id = None
71        self._security_domain = None
72        self._return_url = None
73        self._expiration_offset = None
74        self._tags = None
75        self.discriminator = None
76
77        setattr(self, "_{}".format('form_values'), kwargs.get('form_values', None))
78        setattr(self, "_{}".format('client_user_id'), kwargs.get('client_user_id', None))
79        setattr(self, "_{}".format('authentication_instant'), kwargs.get('authentication_instant', None))
80        setattr(self, "_{}".format('authentication_method'), kwargs.get('authentication_method', None))
81        setattr(self, "_{}".format('assertion_id'), kwargs.get('assertion_id', None))
82        setattr(self, "_{}".format('security_domain'), kwargs.get('security_domain', None))
83        setattr(self, "_{}".format('return_url'), kwargs.get('return_url', None))
84        setattr(self, "_{}".format('expiration_offset'), kwargs.get('expiration_offset', None))
85        setattr(self, "_{}".format('tags'), kwargs.get('tags', None))

CreateInstanceRequestBody - a model defined in Swagger

swagger_types = {'form_values': 'WebFormValues', 'client_user_id': 'str', 'authentication_instant': 'datetime', 'authentication_method': 'AuthenticationMethod', 'assertion_id': 'str', 'security_domain': 'str', 'return_url': 'str', 'expiration_offset': 'int', 'tags': 'list[str]'}
attribute_map = {'form_values': 'formValues', 'client_user_id': 'clientUserId', 'authentication_instant': 'authenticationInstant', 'authentication_method': 'authenticationMethod', 'assertion_id': 'assertionId', 'security_domain': 'securityDomain', 'return_url': 'returnUrl', 'expiration_offset': 'expirationOffset', 'tags': 'tags'}
form_values

Gets the form_values of this CreateInstanceRequestBody. # noqa: E501

Returns

The form_values of this CreateInstanceRequestBody. # noqa: E501

client_user_id

Gets the client_user_id of this CreateInstanceRequestBody. # noqa: E501

Returns

The client_user_id of this CreateInstanceRequestBody. # noqa: E501

authentication_instant

Gets the authentication_instant of this CreateInstanceRequestBody. # noqa: E501

Returns

The authentication_instant of this CreateInstanceRequestBody. # noqa: E501

authentication_method

Gets the authentication_method of this CreateInstanceRequestBody. # noqa: E501

Returns

The authentication_method of this CreateInstanceRequestBody. # noqa: E501

assertion_id

Gets the assertion_id of this CreateInstanceRequestBody. # noqa: E501

Returns

The assertion_id of this CreateInstanceRequestBody. # noqa: E501

security_domain

Gets the security_domain of this CreateInstanceRequestBody. # noqa: E501

Returns

The security_domain of this CreateInstanceRequestBody. # noqa: E501

return_url

Gets the return_url of this CreateInstanceRequestBody. # noqa: E501

Returns

The return_url of this CreateInstanceRequestBody. # noqa: E501

expiration_offset

Gets the expiration_offset of this CreateInstanceRequestBody. # noqa: E501

Returns

The expiration_offset of this CreateInstanceRequestBody. # noqa: E501

tags

Gets the tags of this CreateInstanceRequestBody. # noqa: E501

List of tags provided by the user with each request. This field is optional. # noqa: E501

Returns

The tags of this CreateInstanceRequestBody. # noqa: E501

def to_dict(self)
280    def to_dict(self):
281        """Returns the model properties as a dict"""
282        result = {}
283
284        for attr, _ in six.iteritems(self.swagger_types):
285            value = getattr(self, attr)
286            if isinstance(value, list):
287                result[attr] = list(map(
288                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
289                    value
290                ))
291            elif hasattr(value, "to_dict"):
292                result[attr] = value.to_dict()
293            elif isinstance(value, dict):
294                result[attr] = dict(map(
295                    lambda item: (item[0], item[1].to_dict())
296                    if hasattr(item[1], "to_dict") else item,
297                    value.items()
298                ))
299            else:
300                result[attr] = value
301        if issubclass(CreateInstanceRequestBody, dict):
302            for key, value in self.items():
303                result[key] = value
304
305        return result

Returns the model properties as a dict

def to_str(self)
307    def to_str(self):
308        """Returns the string representation of the model"""
309        return pprint.pformat(self.to_dict())

Returns the string representation of the model