docusign_webforms.models.web_form_instance
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 WebFormInstance(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_url': 'str', 37 'instance_token': 'str', 38 'token_expiration_date_time': 'datetime', 39 'id': 'str', 40 'form_id': 'str', 41 'account_id': 'str', 42 'client_user_id': 'str', 43 'tags': 'list[str]', 44 'status': 'InstanceStatus', 45 'envelopes': 'list[WebFormInstanceEnvelopes]', 46 'instance_metadata': 'WebFormInstanceMetadata', 47 'form_values': 'WebFormValues' 48 } 49 50 attribute_map = { 51 'form_url': 'formUrl', 52 'instance_token': 'instanceToken', 53 'token_expiration_date_time': 'tokenExpirationDateTime', 54 'id': 'id', 55 'form_id': 'formId', 56 'account_id': 'accountId', 57 'client_user_id': 'clientUserId', 58 'tags': 'tags', 59 'status': 'status', 60 'envelopes': 'envelopes', 61 'instance_metadata': 'instanceMetadata', 62 'form_values': 'formValues' 63 } 64 65 def __init__(self, _configuration=None, **kwargs): # noqa: E501 66 """WebFormInstance - a model defined in Swagger""" # noqa: E501 67 if _configuration is None: 68 _configuration = Configuration() 69 self._configuration = _configuration 70 71 self._form_url = None 72 self._instance_token = None 73 self._token_expiration_date_time = None 74 self._id = None 75 self._form_id = None 76 self._account_id = None 77 self._client_user_id = None 78 self._tags = None 79 self._status = None 80 self._envelopes = None 81 self._instance_metadata = None 82 self._form_values = None 83 self.discriminator = None 84 85 setattr(self, "_{}".format('form_url'), kwargs.get('form_url', None)) 86 setattr(self, "_{}".format('instance_token'), kwargs.get('instance_token', None)) 87 setattr(self, "_{}".format('token_expiration_date_time'), kwargs.get('token_expiration_date_time', None)) 88 setattr(self, "_{}".format('id'), kwargs.get('id', None)) 89 setattr(self, "_{}".format('form_id'), kwargs.get('form_id', None)) 90 setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None)) 91 setattr(self, "_{}".format('client_user_id'), kwargs.get('client_user_id', None)) 92 setattr(self, "_{}".format('tags'), kwargs.get('tags', None)) 93 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 94 setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None)) 95 setattr(self, "_{}".format('instance_metadata'), kwargs.get('instance_metadata', None)) 96 setattr(self, "_{}".format('form_values'), kwargs.get('form_values', None)) 97 98 @property 99 def form_url(self): 100 """Gets the form_url of this WebFormInstance. # noqa: E501 101 102 103 :return: The form_url of this WebFormInstance. # noqa: E501 104 :rtype: str 105 """ 106 return self._form_url 107 108 @form_url.setter 109 def form_url(self, form_url): 110 """Sets the form_url of this WebFormInstance. 111 112 113 :param form_url: The form_url of this WebFormInstance. # noqa: E501 114 :type: str 115 """ 116 117 self._form_url = form_url 118 119 @property 120 def instance_token(self): 121 """Gets the instance_token of this WebFormInstance. # noqa: E501 122 123 124 :return: The instance_token of this WebFormInstance. # noqa: E501 125 :rtype: str 126 """ 127 return self._instance_token 128 129 @instance_token.setter 130 def instance_token(self, instance_token): 131 """Sets the instance_token of this WebFormInstance. 132 133 134 :param instance_token: The instance_token of this WebFormInstance. # noqa: E501 135 :type: str 136 """ 137 138 self._instance_token = instance_token 139 140 @property 141 def token_expiration_date_time(self): 142 """Gets the token_expiration_date_time of this WebFormInstance. # noqa: E501 143 144 145 :return: The token_expiration_date_time of this WebFormInstance. # noqa: E501 146 :rtype: datetime 147 """ 148 return self._token_expiration_date_time 149 150 @token_expiration_date_time.setter 151 def token_expiration_date_time(self, token_expiration_date_time): 152 """Sets the token_expiration_date_time of this WebFormInstance. 153 154 155 :param token_expiration_date_time: The token_expiration_date_time of this WebFormInstance. # noqa: E501 156 :type: datetime 157 """ 158 159 self._token_expiration_date_time = token_expiration_date_time 160 161 @property 162 def id(self): 163 """Gets the id of this WebFormInstance. # noqa: E501 164 165 166 :return: The id of this WebFormInstance. # noqa: E501 167 :rtype: str 168 """ 169 return self._id 170 171 @id.setter 172 def id(self, id): 173 """Sets the id of this WebFormInstance. 174 175 176 :param id: The id of this WebFormInstance. # noqa: E501 177 :type: str 178 """ 179 if self._configuration.client_side_validation and id is None: 180 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 181 182 self._id = id 183 184 @property 185 def form_id(self): 186 """Gets the form_id of this WebFormInstance. # noqa: E501 187 188 Web form from which the instance is created # noqa: E501 189 190 :return: The form_id of this WebFormInstance. # noqa: E501 191 :rtype: str 192 """ 193 return self._form_id 194 195 @form_id.setter 196 def form_id(self, form_id): 197 """Sets the form_id of this WebFormInstance. 198 199 Web form from which the instance is created # noqa: E501 200 201 :param form_id: The form_id of this WebFormInstance. # noqa: E501 202 :type: str 203 """ 204 205 self._form_id = form_id 206 207 @property 208 def account_id(self): 209 """Gets the account_id of this WebFormInstance. # noqa: E501 210 211 212 :return: The account_id of this WebFormInstance. # noqa: E501 213 :rtype: str 214 """ 215 return self._account_id 216 217 @account_id.setter 218 def account_id(self, account_id): 219 """Sets the account_id of this WebFormInstance. 220 221 222 :param account_id: The account_id of this WebFormInstance. # noqa: E501 223 :type: str 224 """ 225 226 self._account_id = account_id 227 228 @property 229 def client_user_id(self): 230 """Gets the client_user_id of this WebFormInstance. # noqa: E501 231 232 233 :return: The client_user_id of this WebFormInstance. # noqa: E501 234 :rtype: str 235 """ 236 return self._client_user_id 237 238 @client_user_id.setter 239 def client_user_id(self, client_user_id): 240 """Sets the client_user_id of this WebFormInstance. 241 242 243 :param client_user_id: The client_user_id of this WebFormInstance. # noqa: E501 244 :type: str 245 """ 246 247 self._client_user_id = client_user_id 248 249 @property 250 def tags(self): 251 """Gets the tags of this WebFormInstance. # noqa: E501 252 253 List of tags provided by the user with each request. This field is optional. # noqa: E501 254 255 :return: The tags of this WebFormInstance. # noqa: E501 256 :rtype: list[str] 257 """ 258 return self._tags 259 260 @tags.setter 261 def tags(self, tags): 262 """Sets the tags of this WebFormInstance. 263 264 List of tags provided by the user with each request. This field is optional. # noqa: E501 265 266 :param tags: The tags of this WebFormInstance. # noqa: E501 267 :type: list[str] 268 """ 269 270 self._tags = tags 271 272 @property 273 def status(self): 274 """Gets the status of this WebFormInstance. # noqa: E501 275 276 277 :return: The status of this WebFormInstance. # noqa: E501 278 :rtype: InstanceStatus 279 """ 280 return self._status 281 282 @status.setter 283 def status(self, status): 284 """Sets the status of this WebFormInstance. 285 286 287 :param status: The status of this WebFormInstance. # noqa: E501 288 :type: InstanceStatus 289 """ 290 291 self._status = status 292 293 @property 294 def envelopes(self): 295 """Gets the envelopes of this WebFormInstance. # noqa: E501 296 297 The associated envelope that is created when the instance is submitted # noqa: E501 298 299 :return: The envelopes of this WebFormInstance. # noqa: E501 300 :rtype: list[WebFormInstanceEnvelopes] 301 """ 302 return self._envelopes 303 304 @envelopes.setter 305 def envelopes(self, envelopes): 306 """Sets the envelopes of this WebFormInstance. 307 308 The associated envelope that is created when the instance is submitted # noqa: E501 309 310 :param envelopes: The envelopes of this WebFormInstance. # noqa: E501 311 :type: list[WebFormInstanceEnvelopes] 312 """ 313 314 self._envelopes = envelopes 315 316 @property 317 def instance_metadata(self): 318 """Gets the instance_metadata of this WebFormInstance. # noqa: E501 319 320 321 :return: The instance_metadata of this WebFormInstance. # noqa: E501 322 :rtype: WebFormInstanceMetadata 323 """ 324 return self._instance_metadata 325 326 @instance_metadata.setter 327 def instance_metadata(self, instance_metadata): 328 """Sets the instance_metadata of this WebFormInstance. 329 330 331 :param instance_metadata: The instance_metadata of this WebFormInstance. # noqa: E501 332 :type: WebFormInstanceMetadata 333 """ 334 335 self._instance_metadata = instance_metadata 336 337 @property 338 def form_values(self): 339 """Gets the form_values of this WebFormInstance. # noqa: E501 340 341 342 :return: The form_values of this WebFormInstance. # noqa: E501 343 :rtype: WebFormValues 344 """ 345 return self._form_values 346 347 @form_values.setter 348 def form_values(self, form_values): 349 """Sets the form_values of this WebFormInstance. 350 351 352 :param form_values: The form_values of this WebFormInstance. # noqa: E501 353 :type: WebFormValues 354 """ 355 356 self._form_values = form_values 357 358 def to_dict(self): 359 """Returns the model properties as a dict""" 360 result = {} 361 362 for attr, _ in six.iteritems(self.swagger_types): 363 value = getattr(self, attr) 364 if isinstance(value, list): 365 result[attr] = list(map( 366 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 367 value 368 )) 369 elif hasattr(value, "to_dict"): 370 result[attr] = value.to_dict() 371 elif isinstance(value, dict): 372 result[attr] = dict(map( 373 lambda item: (item[0], item[1].to_dict()) 374 if hasattr(item[1], "to_dict") else item, 375 value.items() 376 )) 377 else: 378 result[attr] = value 379 if issubclass(WebFormInstance, dict): 380 for key, value in self.items(): 381 result[key] = value 382 383 return result 384 385 def to_str(self): 386 """Returns the string representation of the model""" 387 return pprint.pformat(self.to_dict()) 388 389 def __repr__(self): 390 """For `print` and `pprint`""" 391 return self.to_str() 392 393 def __eq__(self, other): 394 """Returns true if both objects are equal""" 395 if not isinstance(other, WebFormInstance): 396 return False 397 398 return self.to_dict() == other.to_dict() 399 400 def __ne__(self, other): 401 """Returns true if both objects are not equal""" 402 if not isinstance(other, WebFormInstance): 403 return True 404 405 return self.to_dict() != other.to_dict()
23class WebFormInstance(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_url': 'str', 38 'instance_token': 'str', 39 'token_expiration_date_time': 'datetime', 40 'id': 'str', 41 'form_id': 'str', 42 'account_id': 'str', 43 'client_user_id': 'str', 44 'tags': 'list[str]', 45 'status': 'InstanceStatus', 46 'envelopes': 'list[WebFormInstanceEnvelopes]', 47 'instance_metadata': 'WebFormInstanceMetadata', 48 'form_values': 'WebFormValues' 49 } 50 51 attribute_map = { 52 'form_url': 'formUrl', 53 'instance_token': 'instanceToken', 54 'token_expiration_date_time': 'tokenExpirationDateTime', 55 'id': 'id', 56 'form_id': 'formId', 57 'account_id': 'accountId', 58 'client_user_id': 'clientUserId', 59 'tags': 'tags', 60 'status': 'status', 61 'envelopes': 'envelopes', 62 'instance_metadata': 'instanceMetadata', 63 'form_values': 'formValues' 64 } 65 66 def __init__(self, _configuration=None, **kwargs): # noqa: E501 67 """WebFormInstance - a model defined in Swagger""" # noqa: E501 68 if _configuration is None: 69 _configuration = Configuration() 70 self._configuration = _configuration 71 72 self._form_url = None 73 self._instance_token = None 74 self._token_expiration_date_time = None 75 self._id = None 76 self._form_id = None 77 self._account_id = None 78 self._client_user_id = None 79 self._tags = None 80 self._status = None 81 self._envelopes = None 82 self._instance_metadata = None 83 self._form_values = None 84 self.discriminator = None 85 86 setattr(self, "_{}".format('form_url'), kwargs.get('form_url', None)) 87 setattr(self, "_{}".format('instance_token'), kwargs.get('instance_token', None)) 88 setattr(self, "_{}".format('token_expiration_date_time'), kwargs.get('token_expiration_date_time', None)) 89 setattr(self, "_{}".format('id'), kwargs.get('id', None)) 90 setattr(self, "_{}".format('form_id'), kwargs.get('form_id', None)) 91 setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None)) 92 setattr(self, "_{}".format('client_user_id'), kwargs.get('client_user_id', None)) 93 setattr(self, "_{}".format('tags'), kwargs.get('tags', None)) 94 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 95 setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None)) 96 setattr(self, "_{}".format('instance_metadata'), kwargs.get('instance_metadata', None)) 97 setattr(self, "_{}".format('form_values'), kwargs.get('form_values', None)) 98 99 @property 100 def form_url(self): 101 """Gets the form_url of this WebFormInstance. # noqa: E501 102 103 104 :return: The form_url of this WebFormInstance. # noqa: E501 105 :rtype: str 106 """ 107 return self._form_url 108 109 @form_url.setter 110 def form_url(self, form_url): 111 """Sets the form_url of this WebFormInstance. 112 113 114 :param form_url: The form_url of this WebFormInstance. # noqa: E501 115 :type: str 116 """ 117 118 self._form_url = form_url 119 120 @property 121 def instance_token(self): 122 """Gets the instance_token of this WebFormInstance. # noqa: E501 123 124 125 :return: The instance_token of this WebFormInstance. # noqa: E501 126 :rtype: str 127 """ 128 return self._instance_token 129 130 @instance_token.setter 131 def instance_token(self, instance_token): 132 """Sets the instance_token of this WebFormInstance. 133 134 135 :param instance_token: The instance_token of this WebFormInstance. # noqa: E501 136 :type: str 137 """ 138 139 self._instance_token = instance_token 140 141 @property 142 def token_expiration_date_time(self): 143 """Gets the token_expiration_date_time of this WebFormInstance. # noqa: E501 144 145 146 :return: The token_expiration_date_time of this WebFormInstance. # noqa: E501 147 :rtype: datetime 148 """ 149 return self._token_expiration_date_time 150 151 @token_expiration_date_time.setter 152 def token_expiration_date_time(self, token_expiration_date_time): 153 """Sets the token_expiration_date_time of this WebFormInstance. 154 155 156 :param token_expiration_date_time: The token_expiration_date_time of this WebFormInstance. # noqa: E501 157 :type: datetime 158 """ 159 160 self._token_expiration_date_time = token_expiration_date_time 161 162 @property 163 def id(self): 164 """Gets the id of this WebFormInstance. # noqa: E501 165 166 167 :return: The id of this WebFormInstance. # noqa: E501 168 :rtype: str 169 """ 170 return self._id 171 172 @id.setter 173 def id(self, id): 174 """Sets the id of this WebFormInstance. 175 176 177 :param id: The id of this WebFormInstance. # noqa: E501 178 :type: str 179 """ 180 if self._configuration.client_side_validation and id is None: 181 raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501 182 183 self._id = id 184 185 @property 186 def form_id(self): 187 """Gets the form_id of this WebFormInstance. # noqa: E501 188 189 Web form from which the instance is created # noqa: E501 190 191 :return: The form_id of this WebFormInstance. # noqa: E501 192 :rtype: str 193 """ 194 return self._form_id 195 196 @form_id.setter 197 def form_id(self, form_id): 198 """Sets the form_id of this WebFormInstance. 199 200 Web form from which the instance is created # noqa: E501 201 202 :param form_id: The form_id of this WebFormInstance. # noqa: E501 203 :type: str 204 """ 205 206 self._form_id = form_id 207 208 @property 209 def account_id(self): 210 """Gets the account_id of this WebFormInstance. # noqa: E501 211 212 213 :return: The account_id of this WebFormInstance. # noqa: E501 214 :rtype: str 215 """ 216 return self._account_id 217 218 @account_id.setter 219 def account_id(self, account_id): 220 """Sets the account_id of this WebFormInstance. 221 222 223 :param account_id: The account_id of this WebFormInstance. # noqa: E501 224 :type: str 225 """ 226 227 self._account_id = account_id 228 229 @property 230 def client_user_id(self): 231 """Gets the client_user_id of this WebFormInstance. # noqa: E501 232 233 234 :return: The client_user_id of this WebFormInstance. # noqa: E501 235 :rtype: str 236 """ 237 return self._client_user_id 238 239 @client_user_id.setter 240 def client_user_id(self, client_user_id): 241 """Sets the client_user_id of this WebFormInstance. 242 243 244 :param client_user_id: The client_user_id of this WebFormInstance. # noqa: E501 245 :type: str 246 """ 247 248 self._client_user_id = client_user_id 249 250 @property 251 def tags(self): 252 """Gets the tags of this WebFormInstance. # noqa: E501 253 254 List of tags provided by the user with each request. This field is optional. # noqa: E501 255 256 :return: The tags of this WebFormInstance. # noqa: E501 257 :rtype: list[str] 258 """ 259 return self._tags 260 261 @tags.setter 262 def tags(self, tags): 263 """Sets the tags of this WebFormInstance. 264 265 List of tags provided by the user with each request. This field is optional. # noqa: E501 266 267 :param tags: The tags of this WebFormInstance. # noqa: E501 268 :type: list[str] 269 """ 270 271 self._tags = tags 272 273 @property 274 def status(self): 275 """Gets the status of this WebFormInstance. # noqa: E501 276 277 278 :return: The status of this WebFormInstance. # noqa: E501 279 :rtype: InstanceStatus 280 """ 281 return self._status 282 283 @status.setter 284 def status(self, status): 285 """Sets the status of this WebFormInstance. 286 287 288 :param status: The status of this WebFormInstance. # noqa: E501 289 :type: InstanceStatus 290 """ 291 292 self._status = status 293 294 @property 295 def envelopes(self): 296 """Gets the envelopes of this WebFormInstance. # noqa: E501 297 298 The associated envelope that is created when the instance is submitted # noqa: E501 299 300 :return: The envelopes of this WebFormInstance. # noqa: E501 301 :rtype: list[WebFormInstanceEnvelopes] 302 """ 303 return self._envelopes 304 305 @envelopes.setter 306 def envelopes(self, envelopes): 307 """Sets the envelopes of this WebFormInstance. 308 309 The associated envelope that is created when the instance is submitted # noqa: E501 310 311 :param envelopes: The envelopes of this WebFormInstance. # noqa: E501 312 :type: list[WebFormInstanceEnvelopes] 313 """ 314 315 self._envelopes = envelopes 316 317 @property 318 def instance_metadata(self): 319 """Gets the instance_metadata of this WebFormInstance. # noqa: E501 320 321 322 :return: The instance_metadata of this WebFormInstance. # noqa: E501 323 :rtype: WebFormInstanceMetadata 324 """ 325 return self._instance_metadata 326 327 @instance_metadata.setter 328 def instance_metadata(self, instance_metadata): 329 """Sets the instance_metadata of this WebFormInstance. 330 331 332 :param instance_metadata: The instance_metadata of this WebFormInstance. # noqa: E501 333 :type: WebFormInstanceMetadata 334 """ 335 336 self._instance_metadata = instance_metadata 337 338 @property 339 def form_values(self): 340 """Gets the form_values of this WebFormInstance. # noqa: E501 341 342 343 :return: The form_values of this WebFormInstance. # noqa: E501 344 :rtype: WebFormValues 345 """ 346 return self._form_values 347 348 @form_values.setter 349 def form_values(self, form_values): 350 """Sets the form_values of this WebFormInstance. 351 352 353 :param form_values: The form_values of this WebFormInstance. # noqa: E501 354 :type: WebFormValues 355 """ 356 357 self._form_values = form_values 358 359 def to_dict(self): 360 """Returns the model properties as a dict""" 361 result = {} 362 363 for attr, _ in six.iteritems(self.swagger_types): 364 value = getattr(self, attr) 365 if isinstance(value, list): 366 result[attr] = list(map( 367 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 368 value 369 )) 370 elif hasattr(value, "to_dict"): 371 result[attr] = value.to_dict() 372 elif isinstance(value, dict): 373 result[attr] = dict(map( 374 lambda item: (item[0], item[1].to_dict()) 375 if hasattr(item[1], "to_dict") else item, 376 value.items() 377 )) 378 else: 379 result[attr] = value 380 if issubclass(WebFormInstance, dict): 381 for key, value in self.items(): 382 result[key] = value 383 384 return result 385 386 def to_str(self): 387 """Returns the string representation of the model""" 388 return pprint.pformat(self.to_dict()) 389 390 def __repr__(self): 391 """For `print` and `pprint`""" 392 return self.to_str() 393 394 def __eq__(self, other): 395 """Returns true if both objects are equal""" 396 if not isinstance(other, WebFormInstance): 397 return False 398 399 return self.to_dict() == other.to_dict() 400 401 def __ne__(self, other): 402 """Returns true if both objects are not equal""" 403 if not isinstance(other, WebFormInstance): 404 return True 405 406 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.
66 def __init__(self, _configuration=None, **kwargs): # noqa: E501 67 """WebFormInstance - a model defined in Swagger""" # noqa: E501 68 if _configuration is None: 69 _configuration = Configuration() 70 self._configuration = _configuration 71 72 self._form_url = None 73 self._instance_token = None 74 self._token_expiration_date_time = None 75 self._id = None 76 self._form_id = None 77 self._account_id = None 78 self._client_user_id = None 79 self._tags = None 80 self._status = None 81 self._envelopes = None 82 self._instance_metadata = None 83 self._form_values = None 84 self.discriminator = None 85 86 setattr(self, "_{}".format('form_url'), kwargs.get('form_url', None)) 87 setattr(self, "_{}".format('instance_token'), kwargs.get('instance_token', None)) 88 setattr(self, "_{}".format('token_expiration_date_time'), kwargs.get('token_expiration_date_time', None)) 89 setattr(self, "_{}".format('id'), kwargs.get('id', None)) 90 setattr(self, "_{}".format('form_id'), kwargs.get('form_id', None)) 91 setattr(self, "_{}".format('account_id'), kwargs.get('account_id', None)) 92 setattr(self, "_{}".format('client_user_id'), kwargs.get('client_user_id', None)) 93 setattr(self, "_{}".format('tags'), kwargs.get('tags', None)) 94 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 95 setattr(self, "_{}".format('envelopes'), kwargs.get('envelopes', None)) 96 setattr(self, "_{}".format('instance_metadata'), kwargs.get('instance_metadata', None)) 97 setattr(self, "_{}".format('form_values'), kwargs.get('form_values', None))
WebFormInstance - a model defined in Swagger
Gets the form_url of this WebFormInstance. # noqa: E501
Returns
The form_url of this WebFormInstance. # noqa: E501
Gets the instance_token of this WebFormInstance. # noqa: E501
Returns
The instance_token of this WebFormInstance. # noqa: E501
Gets the token_expiration_date_time of this WebFormInstance. # noqa: E501
Returns
The token_expiration_date_time of this WebFormInstance. # noqa: E501
Gets the id of this WebFormInstance. # noqa: E501
Returns
The id of this WebFormInstance. # noqa: E501
Gets the form_id of this WebFormInstance. # noqa: E501
Web form from which the instance is created # noqa: E501
Returns
The form_id of this WebFormInstance. # noqa: E501
Gets the account_id of this WebFormInstance. # noqa: E501
Returns
The account_id of this WebFormInstance. # noqa: E501
Gets the client_user_id of this WebFormInstance. # noqa: E501
Returns
The client_user_id of this WebFormInstance. # noqa: E501
Gets the status of this WebFormInstance. # noqa: E501
Returns
The status of this WebFormInstance. # noqa: E501
Gets the envelopes of this WebFormInstance. # noqa: E501
The associated envelope that is created when the instance is submitted # noqa: E501
Returns
The envelopes of this WebFormInstance. # noqa: E501
Gets the instance_metadata of this WebFormInstance. # noqa: E501
Returns
The instance_metadata of this WebFormInstance. # noqa: E501
Gets the form_values of this WebFormInstance. # noqa: E501
Returns
The form_values of this WebFormInstance. # noqa: E501
359 def to_dict(self): 360 """Returns the model properties as a dict""" 361 result = {} 362 363 for attr, _ in six.iteritems(self.swagger_types): 364 value = getattr(self, attr) 365 if isinstance(value, list): 366 result[attr] = list(map( 367 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 368 value 369 )) 370 elif hasattr(value, "to_dict"): 371 result[attr] = value.to_dict() 372 elif isinstance(value, dict): 373 result[attr] = dict(map( 374 lambda item: (item[0], item[1].to_dict()) 375 if hasattr(item[1], "to_dict") else item, 376 value.items() 377 )) 378 else: 379 result[attr] = value 380 if issubclass(WebFormInstance, dict): 381 for key, value in self.items(): 382 result[key] = value 383 384 return result
Returns the model properties as a dict