docusign_esign.models.folder_item_v2
Docusign eSignature REST API
The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501
OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git
1# coding: utf-8 2 3""" 4 Docusign eSignature REST API 5 6 The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501 7 8 OpenAPI spec version: v2.1 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_esign.client.configuration import Configuration 20 21 22class FolderItemV2(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 'completed_date_time': 'str', 37 'created_date_time': 'str', 38 'envelope_id': 'str', 39 'envelope_uri': 'str', 40 'expire_date_time': 'str', 41 'folder_id': 'str', 42 'folder_uri': 'str', 43 'is21_cfr_part11': 'str', 44 'last_modified_date_time': 'str', 45 'owner_name': 'str', 46 'recipients': 'Recipients', 47 'recipients_uri': 'str', 48 'sender_company': 'str', 49 'sender_email': 'str', 50 'sender_name': 'str', 51 'sender_user_id': 'str', 52 'sent_date_time': 'str', 53 'status': 'str', 54 'subject': 'str', 55 'template_id': 'str', 56 'template_uri': 'str' 57 } 58 59 attribute_map = { 60 'completed_date_time': 'completedDateTime', 61 'created_date_time': 'createdDateTime', 62 'envelope_id': 'envelopeId', 63 'envelope_uri': 'envelopeUri', 64 'expire_date_time': 'expireDateTime', 65 'folder_id': 'folderId', 66 'folder_uri': 'folderUri', 67 'is21_cfr_part11': 'is21CFRPart11', 68 'last_modified_date_time': 'lastModifiedDateTime', 69 'owner_name': 'ownerName', 70 'recipients': 'recipients', 71 'recipients_uri': 'recipientsUri', 72 'sender_company': 'senderCompany', 73 'sender_email': 'senderEmail', 74 'sender_name': 'senderName', 75 'sender_user_id': 'senderUserId', 76 'sent_date_time': 'sentDateTime', 77 'status': 'status', 78 'subject': 'subject', 79 'template_id': 'templateId', 80 'template_uri': 'templateUri' 81 } 82 83 def __init__(self, _configuration=None, **kwargs): # noqa: E501 84 """FolderItemV2 - a model defined in Swagger""" # noqa: E501 85 if _configuration is None: 86 _configuration = Configuration() 87 self._configuration = _configuration 88 89 self._completed_date_time = None 90 self._created_date_time = None 91 self._envelope_id = None 92 self._envelope_uri = None 93 self._expire_date_time = None 94 self._folder_id = None 95 self._folder_uri = None 96 self._is21_cfr_part11 = None 97 self._last_modified_date_time = None 98 self._owner_name = None 99 self._recipients = None 100 self._recipients_uri = None 101 self._sender_company = None 102 self._sender_email = None 103 self._sender_name = None 104 self._sender_user_id = None 105 self._sent_date_time = None 106 self._status = None 107 self._subject = None 108 self._template_id = None 109 self._template_uri = None 110 self.discriminator = None 111 112 setattr(self, "_{}".format('completed_date_time'), kwargs.get('completed_date_time', None)) 113 setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None)) 114 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 115 setattr(self, "_{}".format('envelope_uri'), kwargs.get('envelope_uri', None)) 116 setattr(self, "_{}".format('expire_date_time'), kwargs.get('expire_date_time', None)) 117 setattr(self, "_{}".format('folder_id'), kwargs.get('folder_id', None)) 118 setattr(self, "_{}".format('folder_uri'), kwargs.get('folder_uri', None)) 119 setattr(self, "_{}".format('is21_cfr_part11'), kwargs.get('is21_cfr_part11', None)) 120 setattr(self, "_{}".format('last_modified_date_time'), kwargs.get('last_modified_date_time', None)) 121 setattr(self, "_{}".format('owner_name'), kwargs.get('owner_name', None)) 122 setattr(self, "_{}".format('recipients'), kwargs.get('recipients', None)) 123 setattr(self, "_{}".format('recipients_uri'), kwargs.get('recipients_uri', None)) 124 setattr(self, "_{}".format('sender_company'), kwargs.get('sender_company', None)) 125 setattr(self, "_{}".format('sender_email'), kwargs.get('sender_email', None)) 126 setattr(self, "_{}".format('sender_name'), kwargs.get('sender_name', None)) 127 setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None)) 128 setattr(self, "_{}".format('sent_date_time'), kwargs.get('sent_date_time', None)) 129 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 130 setattr(self, "_{}".format('subject'), kwargs.get('subject', None)) 131 setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None)) 132 setattr(self, "_{}".format('template_uri'), kwargs.get('template_uri', None)) 133 134 @property 135 def completed_date_time(self): 136 """Gets the completed_date_time of this FolderItemV2. # noqa: E501 137 138 Specifies the date and time this item was completed. # noqa: E501 139 140 :return: The completed_date_time of this FolderItemV2. # noqa: E501 141 :rtype: str 142 """ 143 return self._completed_date_time 144 145 @completed_date_time.setter 146 def completed_date_time(self, completed_date_time): 147 """Sets the completed_date_time of this FolderItemV2. 148 149 Specifies the date and time this item was completed. # noqa: E501 150 151 :param completed_date_time: The completed_date_time of this FolderItemV2. # noqa: E501 152 :type: str 153 """ 154 155 self._completed_date_time = completed_date_time 156 157 @property 158 def created_date_time(self): 159 """Gets the created_date_time of this FolderItemV2. # noqa: E501 160 161 Indicates the date and time the item was created. # noqa: E501 162 163 :return: The created_date_time of this FolderItemV2. # noqa: E501 164 :rtype: str 165 """ 166 return self._created_date_time 167 168 @created_date_time.setter 169 def created_date_time(self, created_date_time): 170 """Sets the created_date_time of this FolderItemV2. 171 172 Indicates the date and time the item was created. # noqa: E501 173 174 :param created_date_time: The created_date_time of this FolderItemV2. # noqa: E501 175 :type: str 176 """ 177 178 self._created_date_time = created_date_time 179 180 @property 181 def envelope_id(self): 182 """Gets the envelope_id of this FolderItemV2. # noqa: E501 183 184 The envelope ID of the envelope status that failed to post. # noqa: E501 185 186 :return: The envelope_id of this FolderItemV2. # noqa: E501 187 :rtype: str 188 """ 189 return self._envelope_id 190 191 @envelope_id.setter 192 def envelope_id(self, envelope_id): 193 """Sets the envelope_id of this FolderItemV2. 194 195 The envelope ID of the envelope status that failed to post. # noqa: E501 196 197 :param envelope_id: The envelope_id of this FolderItemV2. # noqa: E501 198 :type: str 199 """ 200 201 self._envelope_id = envelope_id 202 203 @property 204 def envelope_uri(self): 205 """Gets the envelope_uri of this FolderItemV2. # noqa: E501 206 207 Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. # noqa: E501 208 209 :return: The envelope_uri of this FolderItemV2. # noqa: E501 210 :rtype: str 211 """ 212 return self._envelope_uri 213 214 @envelope_uri.setter 215 def envelope_uri(self, envelope_uri): 216 """Sets the envelope_uri of this FolderItemV2. 217 218 Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. # noqa: E501 219 220 :param envelope_uri: The envelope_uri of this FolderItemV2. # noqa: E501 221 :type: str 222 """ 223 224 self._envelope_uri = envelope_uri 225 226 @property 227 def expire_date_time(self): 228 """Gets the expire_date_time of this FolderItemV2. # noqa: E501 229 230 The date and time the envelope is set to expire. # noqa: E501 231 232 :return: The expire_date_time of this FolderItemV2. # noqa: E501 233 :rtype: str 234 """ 235 return self._expire_date_time 236 237 @expire_date_time.setter 238 def expire_date_time(self, expire_date_time): 239 """Sets the expire_date_time of this FolderItemV2. 240 241 The date and time the envelope is set to expire. # noqa: E501 242 243 :param expire_date_time: The expire_date_time of this FolderItemV2. # noqa: E501 244 :type: str 245 """ 246 247 self._expire_date_time = expire_date_time 248 249 @property 250 def folder_id(self): 251 """Gets the folder_id of this FolderItemV2. # noqa: E501 252 253 # noqa: E501 254 255 :return: The folder_id of this FolderItemV2. # noqa: E501 256 :rtype: str 257 """ 258 return self._folder_id 259 260 @folder_id.setter 261 def folder_id(self, folder_id): 262 """Sets the folder_id of this FolderItemV2. 263 264 # noqa: E501 265 266 :param folder_id: The folder_id of this FolderItemV2. # noqa: E501 267 :type: str 268 """ 269 270 self._folder_id = folder_id 271 272 @property 273 def folder_uri(self): 274 """Gets the folder_uri of this FolderItemV2. # noqa: E501 275 276 # noqa: E501 277 278 :return: The folder_uri of this FolderItemV2. # noqa: E501 279 :rtype: str 280 """ 281 return self._folder_uri 282 283 @folder_uri.setter 284 def folder_uri(self, folder_uri): 285 """Sets the folder_uri of this FolderItemV2. 286 287 # noqa: E501 288 289 :param folder_uri: The folder_uri of this FolderItemV2. # noqa: E501 290 :type: str 291 """ 292 293 self._folder_uri = folder_uri 294 295 @property 296 def is21_cfr_part11(self): 297 """Gets the is21_cfr_part11 of this FolderItemV2. # noqa: E501 298 299 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 300 301 :return: The is21_cfr_part11 of this FolderItemV2. # noqa: E501 302 :rtype: str 303 """ 304 return self._is21_cfr_part11 305 306 @is21_cfr_part11.setter 307 def is21_cfr_part11(self, is21_cfr_part11): 308 """Sets the is21_cfr_part11 of this FolderItemV2. 309 310 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 311 312 :param is21_cfr_part11: The is21_cfr_part11 of this FolderItemV2. # noqa: E501 313 :type: str 314 """ 315 316 self._is21_cfr_part11 = is21_cfr_part11 317 318 @property 319 def last_modified_date_time(self): 320 """Gets the last_modified_date_time of this FolderItemV2. # noqa: E501 321 322 The date and time the item was last modified. # noqa: E501 323 324 :return: The last_modified_date_time of this FolderItemV2. # noqa: E501 325 :rtype: str 326 """ 327 return self._last_modified_date_time 328 329 @last_modified_date_time.setter 330 def last_modified_date_time(self, last_modified_date_time): 331 """Sets the last_modified_date_time of this FolderItemV2. 332 333 The date and time the item was last modified. # noqa: E501 334 335 :param last_modified_date_time: The last_modified_date_time of this FolderItemV2. # noqa: E501 336 :type: str 337 """ 338 339 self._last_modified_date_time = last_modified_date_time 340 341 @property 342 def owner_name(self): 343 """Gets the owner_name of this FolderItemV2. # noqa: E501 344 345 # noqa: E501 346 347 :return: The owner_name of this FolderItemV2. # noqa: E501 348 :rtype: str 349 """ 350 return self._owner_name 351 352 @owner_name.setter 353 def owner_name(self, owner_name): 354 """Sets the owner_name of this FolderItemV2. 355 356 # noqa: E501 357 358 :param owner_name: The owner_name of this FolderItemV2. # noqa: E501 359 :type: str 360 """ 361 362 self._owner_name = owner_name 363 364 @property 365 def recipients(self): 366 """Gets the recipients of this FolderItemV2. # noqa: E501 367 368 An array of powerform recipients. # noqa: E501 369 370 :return: The recipients of this FolderItemV2. # noqa: E501 371 :rtype: Recipients 372 """ 373 return self._recipients 374 375 @recipients.setter 376 def recipients(self, recipients): 377 """Sets the recipients of this FolderItemV2. 378 379 An array of powerform recipients. # noqa: E501 380 381 :param recipients: The recipients of this FolderItemV2. # noqa: E501 382 :type: Recipients 383 """ 384 385 self._recipients = recipients 386 387 @property 388 def recipients_uri(self): 389 """Gets the recipients_uri of this FolderItemV2. # noqa: E501 390 391 Contains a URI for an endpoint that you can use to retrieve the recipients. # noqa: E501 392 393 :return: The recipients_uri of this FolderItemV2. # noqa: E501 394 :rtype: str 395 """ 396 return self._recipients_uri 397 398 @recipients_uri.setter 399 def recipients_uri(self, recipients_uri): 400 """Sets the recipients_uri of this FolderItemV2. 401 402 Contains a URI for an endpoint that you can use to retrieve the recipients. # noqa: E501 403 404 :param recipients_uri: The recipients_uri of this FolderItemV2. # noqa: E501 405 :type: str 406 """ 407 408 self._recipients_uri = recipients_uri 409 410 @property 411 def sender_company(self): 412 """Gets the sender_company of this FolderItemV2. # noqa: E501 413 414 # noqa: E501 415 416 :return: The sender_company of this FolderItemV2. # noqa: E501 417 :rtype: str 418 """ 419 return self._sender_company 420 421 @sender_company.setter 422 def sender_company(self, sender_company): 423 """Sets the sender_company of this FolderItemV2. 424 425 # noqa: E501 426 427 :param sender_company: The sender_company of this FolderItemV2. # noqa: E501 428 :type: str 429 """ 430 431 self._sender_company = sender_company 432 433 @property 434 def sender_email(self): 435 """Gets the sender_email of this FolderItemV2. # noqa: E501 436 437 # noqa: E501 438 439 :return: The sender_email of this FolderItemV2. # noqa: E501 440 :rtype: str 441 """ 442 return self._sender_email 443 444 @sender_email.setter 445 def sender_email(self, sender_email): 446 """Sets the sender_email of this FolderItemV2. 447 448 # noqa: E501 449 450 :param sender_email: The sender_email of this FolderItemV2. # noqa: E501 451 :type: str 452 """ 453 454 self._sender_email = sender_email 455 456 @property 457 def sender_name(self): 458 """Gets the sender_name of this FolderItemV2. # noqa: E501 459 460 # noqa: E501 461 462 :return: The sender_name of this FolderItemV2. # noqa: E501 463 :rtype: str 464 """ 465 return self._sender_name 466 467 @sender_name.setter 468 def sender_name(self, sender_name): 469 """Sets the sender_name of this FolderItemV2. 470 471 # noqa: E501 472 473 :param sender_name: The sender_name of this FolderItemV2. # noqa: E501 474 :type: str 475 """ 476 477 self._sender_name = sender_name 478 479 @property 480 def sender_user_id(self): 481 """Gets the sender_user_id of this FolderItemV2. # noqa: E501 482 483 # noqa: E501 484 485 :return: The sender_user_id of this FolderItemV2. # noqa: E501 486 :rtype: str 487 """ 488 return self._sender_user_id 489 490 @sender_user_id.setter 491 def sender_user_id(self, sender_user_id): 492 """Sets the sender_user_id of this FolderItemV2. 493 494 # noqa: E501 495 496 :param sender_user_id: The sender_user_id of this FolderItemV2. # noqa: E501 497 :type: str 498 """ 499 500 self._sender_user_id = sender_user_id 501 502 @property 503 def sent_date_time(self): 504 """Gets the sent_date_time of this FolderItemV2. # noqa: E501 505 506 The date and time the envelope was sent. # noqa: E501 507 508 :return: The sent_date_time of this FolderItemV2. # noqa: E501 509 :rtype: str 510 """ 511 return self._sent_date_time 512 513 @sent_date_time.setter 514 def sent_date_time(self, sent_date_time): 515 """Sets the sent_date_time of this FolderItemV2. 516 517 The date and time the envelope was sent. # noqa: E501 518 519 :param sent_date_time: The sent_date_time of this FolderItemV2. # noqa: E501 520 :type: str 521 """ 522 523 self._sent_date_time = sent_date_time 524 525 @property 526 def status(self): 527 """Gets the status of this FolderItemV2. # noqa: E501 528 529 Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. # noqa: E501 530 531 :return: The status of this FolderItemV2. # noqa: E501 532 :rtype: str 533 """ 534 return self._status 535 536 @status.setter 537 def status(self, status): 538 """Sets the status of this FolderItemV2. 539 540 Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. # noqa: E501 541 542 :param status: The status of this FolderItemV2. # noqa: E501 543 :type: str 544 """ 545 546 self._status = status 547 548 @property 549 def subject(self): 550 """Gets the subject of this FolderItemV2. # noqa: E501 551 552 # noqa: E501 553 554 :return: The subject of this FolderItemV2. # noqa: E501 555 :rtype: str 556 """ 557 return self._subject 558 559 @subject.setter 560 def subject(self, subject): 561 """Sets the subject of this FolderItemV2. 562 563 # noqa: E501 564 565 :param subject: The subject of this FolderItemV2. # noqa: E501 566 :type: str 567 """ 568 569 self._subject = subject 570 571 @property 572 def template_id(self): 573 """Gets the template_id of this FolderItemV2. # noqa: E501 574 575 The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501 576 577 :return: The template_id of this FolderItemV2. # noqa: E501 578 :rtype: str 579 """ 580 return self._template_id 581 582 @template_id.setter 583 def template_id(self, template_id): 584 """Sets the template_id of this FolderItemV2. 585 586 The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501 587 588 :param template_id: The template_id of this FolderItemV2. # noqa: E501 589 :type: str 590 """ 591 592 self._template_id = template_id 593 594 @property 595 def template_uri(self): 596 """Gets the template_uri of this FolderItemV2. # noqa: E501 597 598 # noqa: E501 599 600 :return: The template_uri of this FolderItemV2. # noqa: E501 601 :rtype: str 602 """ 603 return self._template_uri 604 605 @template_uri.setter 606 def template_uri(self, template_uri): 607 """Sets the template_uri of this FolderItemV2. 608 609 # noqa: E501 610 611 :param template_uri: The template_uri of this FolderItemV2. # noqa: E501 612 :type: str 613 """ 614 615 self._template_uri = template_uri 616 617 def to_dict(self): 618 """Returns the model properties as a dict""" 619 result = {} 620 621 for attr, _ in six.iteritems(self.swagger_types): 622 value = getattr(self, attr) 623 if isinstance(value, list): 624 result[attr] = list(map( 625 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 626 value 627 )) 628 elif hasattr(value, "to_dict"): 629 result[attr] = value.to_dict() 630 elif isinstance(value, dict): 631 result[attr] = dict(map( 632 lambda item: (item[0], item[1].to_dict()) 633 if hasattr(item[1], "to_dict") else item, 634 value.items() 635 )) 636 else: 637 result[attr] = value 638 if issubclass(FolderItemV2, dict): 639 for key, value in self.items(): 640 result[key] = value 641 642 return result 643 644 def to_str(self): 645 """Returns the string representation of the model""" 646 return pprint.pformat(self.to_dict()) 647 648 def __repr__(self): 649 """For `print` and `pprint`""" 650 return self.to_str() 651 652 def __eq__(self, other): 653 """Returns true if both objects are equal""" 654 if not isinstance(other, FolderItemV2): 655 return False 656 657 return self.to_dict() == other.to_dict() 658 659 def __ne__(self, other): 660 """Returns true if both objects are not equal""" 661 if not isinstance(other, FolderItemV2): 662 return True 663 664 return self.to_dict() != other.to_dict()
23class FolderItemV2(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 'completed_date_time': 'str', 38 'created_date_time': 'str', 39 'envelope_id': 'str', 40 'envelope_uri': 'str', 41 'expire_date_time': 'str', 42 'folder_id': 'str', 43 'folder_uri': 'str', 44 'is21_cfr_part11': 'str', 45 'last_modified_date_time': 'str', 46 'owner_name': 'str', 47 'recipients': 'Recipients', 48 'recipients_uri': 'str', 49 'sender_company': 'str', 50 'sender_email': 'str', 51 'sender_name': 'str', 52 'sender_user_id': 'str', 53 'sent_date_time': 'str', 54 'status': 'str', 55 'subject': 'str', 56 'template_id': 'str', 57 'template_uri': 'str' 58 } 59 60 attribute_map = { 61 'completed_date_time': 'completedDateTime', 62 'created_date_time': 'createdDateTime', 63 'envelope_id': 'envelopeId', 64 'envelope_uri': 'envelopeUri', 65 'expire_date_time': 'expireDateTime', 66 'folder_id': 'folderId', 67 'folder_uri': 'folderUri', 68 'is21_cfr_part11': 'is21CFRPart11', 69 'last_modified_date_time': 'lastModifiedDateTime', 70 'owner_name': 'ownerName', 71 'recipients': 'recipients', 72 'recipients_uri': 'recipientsUri', 73 'sender_company': 'senderCompany', 74 'sender_email': 'senderEmail', 75 'sender_name': 'senderName', 76 'sender_user_id': 'senderUserId', 77 'sent_date_time': 'sentDateTime', 78 'status': 'status', 79 'subject': 'subject', 80 'template_id': 'templateId', 81 'template_uri': 'templateUri' 82 } 83 84 def __init__(self, _configuration=None, **kwargs): # noqa: E501 85 """FolderItemV2 - a model defined in Swagger""" # noqa: E501 86 if _configuration is None: 87 _configuration = Configuration() 88 self._configuration = _configuration 89 90 self._completed_date_time = None 91 self._created_date_time = None 92 self._envelope_id = None 93 self._envelope_uri = None 94 self._expire_date_time = None 95 self._folder_id = None 96 self._folder_uri = None 97 self._is21_cfr_part11 = None 98 self._last_modified_date_time = None 99 self._owner_name = None 100 self._recipients = None 101 self._recipients_uri = None 102 self._sender_company = None 103 self._sender_email = None 104 self._sender_name = None 105 self._sender_user_id = None 106 self._sent_date_time = None 107 self._status = None 108 self._subject = None 109 self._template_id = None 110 self._template_uri = None 111 self.discriminator = None 112 113 setattr(self, "_{}".format('completed_date_time'), kwargs.get('completed_date_time', None)) 114 setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None)) 115 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 116 setattr(self, "_{}".format('envelope_uri'), kwargs.get('envelope_uri', None)) 117 setattr(self, "_{}".format('expire_date_time'), kwargs.get('expire_date_time', None)) 118 setattr(self, "_{}".format('folder_id'), kwargs.get('folder_id', None)) 119 setattr(self, "_{}".format('folder_uri'), kwargs.get('folder_uri', None)) 120 setattr(self, "_{}".format('is21_cfr_part11'), kwargs.get('is21_cfr_part11', None)) 121 setattr(self, "_{}".format('last_modified_date_time'), kwargs.get('last_modified_date_time', None)) 122 setattr(self, "_{}".format('owner_name'), kwargs.get('owner_name', None)) 123 setattr(self, "_{}".format('recipients'), kwargs.get('recipients', None)) 124 setattr(self, "_{}".format('recipients_uri'), kwargs.get('recipients_uri', None)) 125 setattr(self, "_{}".format('sender_company'), kwargs.get('sender_company', None)) 126 setattr(self, "_{}".format('sender_email'), kwargs.get('sender_email', None)) 127 setattr(self, "_{}".format('sender_name'), kwargs.get('sender_name', None)) 128 setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None)) 129 setattr(self, "_{}".format('sent_date_time'), kwargs.get('sent_date_time', None)) 130 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 131 setattr(self, "_{}".format('subject'), kwargs.get('subject', None)) 132 setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None)) 133 setattr(self, "_{}".format('template_uri'), kwargs.get('template_uri', None)) 134 135 @property 136 def completed_date_time(self): 137 """Gets the completed_date_time of this FolderItemV2. # noqa: E501 138 139 Specifies the date and time this item was completed. # noqa: E501 140 141 :return: The completed_date_time of this FolderItemV2. # noqa: E501 142 :rtype: str 143 """ 144 return self._completed_date_time 145 146 @completed_date_time.setter 147 def completed_date_time(self, completed_date_time): 148 """Sets the completed_date_time of this FolderItemV2. 149 150 Specifies the date and time this item was completed. # noqa: E501 151 152 :param completed_date_time: The completed_date_time of this FolderItemV2. # noqa: E501 153 :type: str 154 """ 155 156 self._completed_date_time = completed_date_time 157 158 @property 159 def created_date_time(self): 160 """Gets the created_date_time of this FolderItemV2. # noqa: E501 161 162 Indicates the date and time the item was created. # noqa: E501 163 164 :return: The created_date_time of this FolderItemV2. # noqa: E501 165 :rtype: str 166 """ 167 return self._created_date_time 168 169 @created_date_time.setter 170 def created_date_time(self, created_date_time): 171 """Sets the created_date_time of this FolderItemV2. 172 173 Indicates the date and time the item was created. # noqa: E501 174 175 :param created_date_time: The created_date_time of this FolderItemV2. # noqa: E501 176 :type: str 177 """ 178 179 self._created_date_time = created_date_time 180 181 @property 182 def envelope_id(self): 183 """Gets the envelope_id of this FolderItemV2. # noqa: E501 184 185 The envelope ID of the envelope status that failed to post. # noqa: E501 186 187 :return: The envelope_id of this FolderItemV2. # noqa: E501 188 :rtype: str 189 """ 190 return self._envelope_id 191 192 @envelope_id.setter 193 def envelope_id(self, envelope_id): 194 """Sets the envelope_id of this FolderItemV2. 195 196 The envelope ID of the envelope status that failed to post. # noqa: E501 197 198 :param envelope_id: The envelope_id of this FolderItemV2. # noqa: E501 199 :type: str 200 """ 201 202 self._envelope_id = envelope_id 203 204 @property 205 def envelope_uri(self): 206 """Gets the envelope_uri of this FolderItemV2. # noqa: E501 207 208 Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. # noqa: E501 209 210 :return: The envelope_uri of this FolderItemV2. # noqa: E501 211 :rtype: str 212 """ 213 return self._envelope_uri 214 215 @envelope_uri.setter 216 def envelope_uri(self, envelope_uri): 217 """Sets the envelope_uri of this FolderItemV2. 218 219 Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. # noqa: E501 220 221 :param envelope_uri: The envelope_uri of this FolderItemV2. # noqa: E501 222 :type: str 223 """ 224 225 self._envelope_uri = envelope_uri 226 227 @property 228 def expire_date_time(self): 229 """Gets the expire_date_time of this FolderItemV2. # noqa: E501 230 231 The date and time the envelope is set to expire. # noqa: E501 232 233 :return: The expire_date_time of this FolderItemV2. # noqa: E501 234 :rtype: str 235 """ 236 return self._expire_date_time 237 238 @expire_date_time.setter 239 def expire_date_time(self, expire_date_time): 240 """Sets the expire_date_time of this FolderItemV2. 241 242 The date and time the envelope is set to expire. # noqa: E501 243 244 :param expire_date_time: The expire_date_time of this FolderItemV2. # noqa: E501 245 :type: str 246 """ 247 248 self._expire_date_time = expire_date_time 249 250 @property 251 def folder_id(self): 252 """Gets the folder_id of this FolderItemV2. # noqa: E501 253 254 # noqa: E501 255 256 :return: The folder_id of this FolderItemV2. # noqa: E501 257 :rtype: str 258 """ 259 return self._folder_id 260 261 @folder_id.setter 262 def folder_id(self, folder_id): 263 """Sets the folder_id of this FolderItemV2. 264 265 # noqa: E501 266 267 :param folder_id: The folder_id of this FolderItemV2. # noqa: E501 268 :type: str 269 """ 270 271 self._folder_id = folder_id 272 273 @property 274 def folder_uri(self): 275 """Gets the folder_uri of this FolderItemV2. # noqa: E501 276 277 # noqa: E501 278 279 :return: The folder_uri of this FolderItemV2. # noqa: E501 280 :rtype: str 281 """ 282 return self._folder_uri 283 284 @folder_uri.setter 285 def folder_uri(self, folder_uri): 286 """Sets the folder_uri of this FolderItemV2. 287 288 # noqa: E501 289 290 :param folder_uri: The folder_uri of this FolderItemV2. # noqa: E501 291 :type: str 292 """ 293 294 self._folder_uri = folder_uri 295 296 @property 297 def is21_cfr_part11(self): 298 """Gets the is21_cfr_part11 of this FolderItemV2. # noqa: E501 299 300 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 301 302 :return: The is21_cfr_part11 of this FolderItemV2. # noqa: E501 303 :rtype: str 304 """ 305 return self._is21_cfr_part11 306 307 @is21_cfr_part11.setter 308 def is21_cfr_part11(self, is21_cfr_part11): 309 """Sets the is21_cfr_part11 of this FolderItemV2. 310 311 When set to **true**, indicates that this module is enabled on the account. # noqa: E501 312 313 :param is21_cfr_part11: The is21_cfr_part11 of this FolderItemV2. # noqa: E501 314 :type: str 315 """ 316 317 self._is21_cfr_part11 = is21_cfr_part11 318 319 @property 320 def last_modified_date_time(self): 321 """Gets the last_modified_date_time of this FolderItemV2. # noqa: E501 322 323 The date and time the item was last modified. # noqa: E501 324 325 :return: The last_modified_date_time of this FolderItemV2. # noqa: E501 326 :rtype: str 327 """ 328 return self._last_modified_date_time 329 330 @last_modified_date_time.setter 331 def last_modified_date_time(self, last_modified_date_time): 332 """Sets the last_modified_date_time of this FolderItemV2. 333 334 The date and time the item was last modified. # noqa: E501 335 336 :param last_modified_date_time: The last_modified_date_time of this FolderItemV2. # noqa: E501 337 :type: str 338 """ 339 340 self._last_modified_date_time = last_modified_date_time 341 342 @property 343 def owner_name(self): 344 """Gets the owner_name of this FolderItemV2. # noqa: E501 345 346 # noqa: E501 347 348 :return: The owner_name of this FolderItemV2. # noqa: E501 349 :rtype: str 350 """ 351 return self._owner_name 352 353 @owner_name.setter 354 def owner_name(self, owner_name): 355 """Sets the owner_name of this FolderItemV2. 356 357 # noqa: E501 358 359 :param owner_name: The owner_name of this FolderItemV2. # noqa: E501 360 :type: str 361 """ 362 363 self._owner_name = owner_name 364 365 @property 366 def recipients(self): 367 """Gets the recipients of this FolderItemV2. # noqa: E501 368 369 An array of powerform recipients. # noqa: E501 370 371 :return: The recipients of this FolderItemV2. # noqa: E501 372 :rtype: Recipients 373 """ 374 return self._recipients 375 376 @recipients.setter 377 def recipients(self, recipients): 378 """Sets the recipients of this FolderItemV2. 379 380 An array of powerform recipients. # noqa: E501 381 382 :param recipients: The recipients of this FolderItemV2. # noqa: E501 383 :type: Recipients 384 """ 385 386 self._recipients = recipients 387 388 @property 389 def recipients_uri(self): 390 """Gets the recipients_uri of this FolderItemV2. # noqa: E501 391 392 Contains a URI for an endpoint that you can use to retrieve the recipients. # noqa: E501 393 394 :return: The recipients_uri of this FolderItemV2. # noqa: E501 395 :rtype: str 396 """ 397 return self._recipients_uri 398 399 @recipients_uri.setter 400 def recipients_uri(self, recipients_uri): 401 """Sets the recipients_uri of this FolderItemV2. 402 403 Contains a URI for an endpoint that you can use to retrieve the recipients. # noqa: E501 404 405 :param recipients_uri: The recipients_uri of this FolderItemV2. # noqa: E501 406 :type: str 407 """ 408 409 self._recipients_uri = recipients_uri 410 411 @property 412 def sender_company(self): 413 """Gets the sender_company of this FolderItemV2. # noqa: E501 414 415 # noqa: E501 416 417 :return: The sender_company of this FolderItemV2. # noqa: E501 418 :rtype: str 419 """ 420 return self._sender_company 421 422 @sender_company.setter 423 def sender_company(self, sender_company): 424 """Sets the sender_company of this FolderItemV2. 425 426 # noqa: E501 427 428 :param sender_company: The sender_company of this FolderItemV2. # noqa: E501 429 :type: str 430 """ 431 432 self._sender_company = sender_company 433 434 @property 435 def sender_email(self): 436 """Gets the sender_email of this FolderItemV2. # noqa: E501 437 438 # noqa: E501 439 440 :return: The sender_email of this FolderItemV2. # noqa: E501 441 :rtype: str 442 """ 443 return self._sender_email 444 445 @sender_email.setter 446 def sender_email(self, sender_email): 447 """Sets the sender_email of this FolderItemV2. 448 449 # noqa: E501 450 451 :param sender_email: The sender_email of this FolderItemV2. # noqa: E501 452 :type: str 453 """ 454 455 self._sender_email = sender_email 456 457 @property 458 def sender_name(self): 459 """Gets the sender_name of this FolderItemV2. # noqa: E501 460 461 # noqa: E501 462 463 :return: The sender_name of this FolderItemV2. # noqa: E501 464 :rtype: str 465 """ 466 return self._sender_name 467 468 @sender_name.setter 469 def sender_name(self, sender_name): 470 """Sets the sender_name of this FolderItemV2. 471 472 # noqa: E501 473 474 :param sender_name: The sender_name of this FolderItemV2. # noqa: E501 475 :type: str 476 """ 477 478 self._sender_name = sender_name 479 480 @property 481 def sender_user_id(self): 482 """Gets the sender_user_id of this FolderItemV2. # noqa: E501 483 484 # noqa: E501 485 486 :return: The sender_user_id of this FolderItemV2. # noqa: E501 487 :rtype: str 488 """ 489 return self._sender_user_id 490 491 @sender_user_id.setter 492 def sender_user_id(self, sender_user_id): 493 """Sets the sender_user_id of this FolderItemV2. 494 495 # noqa: E501 496 497 :param sender_user_id: The sender_user_id of this FolderItemV2. # noqa: E501 498 :type: str 499 """ 500 501 self._sender_user_id = sender_user_id 502 503 @property 504 def sent_date_time(self): 505 """Gets the sent_date_time of this FolderItemV2. # noqa: E501 506 507 The date and time the envelope was sent. # noqa: E501 508 509 :return: The sent_date_time of this FolderItemV2. # noqa: E501 510 :rtype: str 511 """ 512 return self._sent_date_time 513 514 @sent_date_time.setter 515 def sent_date_time(self, sent_date_time): 516 """Sets the sent_date_time of this FolderItemV2. 517 518 The date and time the envelope was sent. # noqa: E501 519 520 :param sent_date_time: The sent_date_time of this FolderItemV2. # noqa: E501 521 :type: str 522 """ 523 524 self._sent_date_time = sent_date_time 525 526 @property 527 def status(self): 528 """Gets the status of this FolderItemV2. # noqa: E501 529 530 Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. # noqa: E501 531 532 :return: The status of this FolderItemV2. # noqa: E501 533 :rtype: str 534 """ 535 return self._status 536 537 @status.setter 538 def status(self, status): 539 """Sets the status of this FolderItemV2. 540 541 Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. # noqa: E501 542 543 :param status: The status of this FolderItemV2. # noqa: E501 544 :type: str 545 """ 546 547 self._status = status 548 549 @property 550 def subject(self): 551 """Gets the subject of this FolderItemV2. # noqa: E501 552 553 # noqa: E501 554 555 :return: The subject of this FolderItemV2. # noqa: E501 556 :rtype: str 557 """ 558 return self._subject 559 560 @subject.setter 561 def subject(self, subject): 562 """Sets the subject of this FolderItemV2. 563 564 # noqa: E501 565 566 :param subject: The subject of this FolderItemV2. # noqa: E501 567 :type: str 568 """ 569 570 self._subject = subject 571 572 @property 573 def template_id(self): 574 """Gets the template_id of this FolderItemV2. # noqa: E501 575 576 The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501 577 578 :return: The template_id of this FolderItemV2. # noqa: E501 579 :rtype: str 580 """ 581 return self._template_id 582 583 @template_id.setter 584 def template_id(self, template_id): 585 """Sets the template_id of this FolderItemV2. 586 587 The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501 588 589 :param template_id: The template_id of this FolderItemV2. # noqa: E501 590 :type: str 591 """ 592 593 self._template_id = template_id 594 595 @property 596 def template_uri(self): 597 """Gets the template_uri of this FolderItemV2. # noqa: E501 598 599 # noqa: E501 600 601 :return: The template_uri of this FolderItemV2. # noqa: E501 602 :rtype: str 603 """ 604 return self._template_uri 605 606 @template_uri.setter 607 def template_uri(self, template_uri): 608 """Sets the template_uri of this FolderItemV2. 609 610 # noqa: E501 611 612 :param template_uri: The template_uri of this FolderItemV2. # noqa: E501 613 :type: str 614 """ 615 616 self._template_uri = template_uri 617 618 def to_dict(self): 619 """Returns the model properties as a dict""" 620 result = {} 621 622 for attr, _ in six.iteritems(self.swagger_types): 623 value = getattr(self, attr) 624 if isinstance(value, list): 625 result[attr] = list(map( 626 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 627 value 628 )) 629 elif hasattr(value, "to_dict"): 630 result[attr] = value.to_dict() 631 elif isinstance(value, dict): 632 result[attr] = dict(map( 633 lambda item: (item[0], item[1].to_dict()) 634 if hasattr(item[1], "to_dict") else item, 635 value.items() 636 )) 637 else: 638 result[attr] = value 639 if issubclass(FolderItemV2, dict): 640 for key, value in self.items(): 641 result[key] = value 642 643 return result 644 645 def to_str(self): 646 """Returns the string representation of the model""" 647 return pprint.pformat(self.to_dict()) 648 649 def __repr__(self): 650 """For `print` and `pprint`""" 651 return self.to_str() 652 653 def __eq__(self, other): 654 """Returns true if both objects are equal""" 655 if not isinstance(other, FolderItemV2): 656 return False 657 658 return self.to_dict() == other.to_dict() 659 660 def __ne__(self, other): 661 """Returns true if both objects are not equal""" 662 if not isinstance(other, FolderItemV2): 663 return True 664 665 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.
84 def __init__(self, _configuration=None, **kwargs): # noqa: E501 85 """FolderItemV2 - a model defined in Swagger""" # noqa: E501 86 if _configuration is None: 87 _configuration = Configuration() 88 self._configuration = _configuration 89 90 self._completed_date_time = None 91 self._created_date_time = None 92 self._envelope_id = None 93 self._envelope_uri = None 94 self._expire_date_time = None 95 self._folder_id = None 96 self._folder_uri = None 97 self._is21_cfr_part11 = None 98 self._last_modified_date_time = None 99 self._owner_name = None 100 self._recipients = None 101 self._recipients_uri = None 102 self._sender_company = None 103 self._sender_email = None 104 self._sender_name = None 105 self._sender_user_id = None 106 self._sent_date_time = None 107 self._status = None 108 self._subject = None 109 self._template_id = None 110 self._template_uri = None 111 self.discriminator = None 112 113 setattr(self, "_{}".format('completed_date_time'), kwargs.get('completed_date_time', None)) 114 setattr(self, "_{}".format('created_date_time'), kwargs.get('created_date_time', None)) 115 setattr(self, "_{}".format('envelope_id'), kwargs.get('envelope_id', None)) 116 setattr(self, "_{}".format('envelope_uri'), kwargs.get('envelope_uri', None)) 117 setattr(self, "_{}".format('expire_date_time'), kwargs.get('expire_date_time', None)) 118 setattr(self, "_{}".format('folder_id'), kwargs.get('folder_id', None)) 119 setattr(self, "_{}".format('folder_uri'), kwargs.get('folder_uri', None)) 120 setattr(self, "_{}".format('is21_cfr_part11'), kwargs.get('is21_cfr_part11', None)) 121 setattr(self, "_{}".format('last_modified_date_time'), kwargs.get('last_modified_date_time', None)) 122 setattr(self, "_{}".format('owner_name'), kwargs.get('owner_name', None)) 123 setattr(self, "_{}".format('recipients'), kwargs.get('recipients', None)) 124 setattr(self, "_{}".format('recipients_uri'), kwargs.get('recipients_uri', None)) 125 setattr(self, "_{}".format('sender_company'), kwargs.get('sender_company', None)) 126 setattr(self, "_{}".format('sender_email'), kwargs.get('sender_email', None)) 127 setattr(self, "_{}".format('sender_name'), kwargs.get('sender_name', None)) 128 setattr(self, "_{}".format('sender_user_id'), kwargs.get('sender_user_id', None)) 129 setattr(self, "_{}".format('sent_date_time'), kwargs.get('sent_date_time', None)) 130 setattr(self, "_{}".format('status'), kwargs.get('status', None)) 131 setattr(self, "_{}".format('subject'), kwargs.get('subject', None)) 132 setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None)) 133 setattr(self, "_{}".format('template_uri'), kwargs.get('template_uri', None))
FolderItemV2 - a model defined in Swagger
Gets the completed_date_time of this FolderItemV2. # noqa: E501
Specifies the date and time this item was completed. # noqa: E501
Returns
The completed_date_time of this FolderItemV2. # noqa: E501
Gets the created_date_time of this FolderItemV2. # noqa: E501
Indicates the date and time the item was created. # noqa: E501
Returns
The created_date_time of this FolderItemV2. # noqa: E501
Gets the envelope_id of this FolderItemV2. # noqa: E501
The envelope ID of the envelope status that failed to post. # noqa: E501
Returns
The envelope_id of this FolderItemV2. # noqa: E501
Gets the envelope_uri of this FolderItemV2. # noqa: E501
Contains a URI for an endpoint that you can use to retrieve the envelope or envelopes. # noqa: E501
Returns
The envelope_uri of this FolderItemV2. # noqa: E501
Gets the expire_date_time of this FolderItemV2. # noqa: E501
The date and time the envelope is set to expire. # noqa: E501
Returns
The expire_date_time of this FolderItemV2. # noqa: E501
Gets the folder_id of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The folder_id of this FolderItemV2. # noqa: E501
Gets the folder_uri of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The folder_uri of this FolderItemV2. # noqa: E501
Gets the is21_cfr_part11 of this FolderItemV2. # noqa: E501
When set to true, indicates that this module is enabled on the account. # noqa: E501
Returns
The is21_cfr_part11 of this FolderItemV2. # noqa: E501
Gets the last_modified_date_time of this FolderItemV2. # noqa: E501
The date and time the item was last modified. # noqa: E501
Returns
The last_modified_date_time of this FolderItemV2. # noqa: E501
Gets the owner_name of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The owner_name of this FolderItemV2. # noqa: E501
Gets the recipients of this FolderItemV2. # noqa: E501
An array of powerform recipients. # noqa: E501
Returns
The recipients of this FolderItemV2. # noqa: E501
Gets the recipients_uri of this FolderItemV2. # noqa: E501
Contains a URI for an endpoint that you can use to retrieve the recipients. # noqa: E501
Returns
The recipients_uri of this FolderItemV2. # noqa: E501
Gets the sender_company of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The sender_company of this FolderItemV2. # noqa: E501
Gets the sender_email of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The sender_email of this FolderItemV2. # noqa: E501
Gets the sender_name of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The sender_name of this FolderItemV2. # noqa: E501
Gets the sender_user_id of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The sender_user_id of this FolderItemV2. # noqa: E501
Gets the sent_date_time of this FolderItemV2. # noqa: E501
The date and time the envelope was sent. # noqa: E501
Returns
The sent_date_time of this FolderItemV2. # noqa: E501
Gets the status of this FolderItemV2. # noqa: E501
Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later. # noqa: E501
Returns
The status of this FolderItemV2. # noqa: E501
Gets the subject of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The subject of this FolderItemV2. # noqa: E501
Gets the template_id of this FolderItemV2. # noqa: E501
The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501
Returns
The template_id of this FolderItemV2. # noqa: E501
Gets the template_uri of this FolderItemV2. # noqa: E501
# noqa: E501
Returns
The template_uri of this FolderItemV2. # noqa: E501
618 def to_dict(self): 619 """Returns the model properties as a dict""" 620 result = {} 621 622 for attr, _ in six.iteritems(self.swagger_types): 623 value = getattr(self, attr) 624 if isinstance(value, list): 625 result[attr] = list(map( 626 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 627 value 628 )) 629 elif hasattr(value, "to_dict"): 630 result[attr] = value.to_dict() 631 elif isinstance(value, dict): 632 result[attr] = dict(map( 633 lambda item: (item[0], item[1].to_dict()) 634 if hasattr(item[1], "to_dict") else item, 635 value.items() 636 )) 637 else: 638 result[attr] = value 639 if issubclass(FolderItemV2, dict): 640 for key, value in self.items(): 641 result[key] = value 642 643 return result
Returns the model properties as a dict