docusign_esign.models.account_signature_definition
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 AccountSignatureDefinition(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 'date_stamp_properties': 'DateStampProperties', 37 'disallow_user_resize_stamp': 'str', 38 'external_id': 'str', 39 'image_type': 'str', 40 'is_default': 'str', 41 'nrds_id': 'str', 42 'nrds_last_name': 'str', 43 'phonetic_name': 'str', 44 'signature_font': 'str', 45 'signature_groups': 'list[SignatureGroupDef]', 46 'signature_id': 'str', 47 'signature_initials': 'str', 48 'signature_name': 'str', 49 'signature_type': 'str', 50 'signature_users': 'list[SignatureUserDef]', 51 'stamp_format': 'str', 52 'stamp_size_mm': 'str' 53 } 54 55 attribute_map = { 56 'date_stamp_properties': 'dateStampProperties', 57 'disallow_user_resize_stamp': 'disallowUserResizeStamp', 58 'external_id': 'externalID', 59 'image_type': 'imageType', 60 'is_default': 'isDefault', 61 'nrds_id': 'nrdsId', 62 'nrds_last_name': 'nrdsLastName', 63 'phonetic_name': 'phoneticName', 64 'signature_font': 'signatureFont', 65 'signature_groups': 'signatureGroups', 66 'signature_id': 'signatureId', 67 'signature_initials': 'signatureInitials', 68 'signature_name': 'signatureName', 69 'signature_type': 'signatureType', 70 'signature_users': 'signatureUsers', 71 'stamp_format': 'stampFormat', 72 'stamp_size_mm': 'stampSizeMM' 73 } 74 75 def __init__(self, _configuration=None, **kwargs): # noqa: E501 76 """AccountSignatureDefinition - a model defined in Swagger""" # noqa: E501 77 if _configuration is None: 78 _configuration = Configuration() 79 self._configuration = _configuration 80 81 self._date_stamp_properties = None 82 self._disallow_user_resize_stamp = None 83 self._external_id = None 84 self._image_type = None 85 self._is_default = None 86 self._nrds_id = None 87 self._nrds_last_name = None 88 self._phonetic_name = None 89 self._signature_font = None 90 self._signature_groups = None 91 self._signature_id = None 92 self._signature_initials = None 93 self._signature_name = None 94 self._signature_type = None 95 self._signature_users = None 96 self._stamp_format = None 97 self._stamp_size_mm = None 98 self.discriminator = None 99 100 setattr(self, "_{}".format('date_stamp_properties'), kwargs.get('date_stamp_properties', None)) 101 setattr(self, "_{}".format('disallow_user_resize_stamp'), kwargs.get('disallow_user_resize_stamp', None)) 102 setattr(self, "_{}".format('external_id'), kwargs.get('external_id', None)) 103 setattr(self, "_{}".format('image_type'), kwargs.get('image_type', None)) 104 setattr(self, "_{}".format('is_default'), kwargs.get('is_default', None)) 105 setattr(self, "_{}".format('nrds_id'), kwargs.get('nrds_id', None)) 106 setattr(self, "_{}".format('nrds_last_name'), kwargs.get('nrds_last_name', None)) 107 setattr(self, "_{}".format('phonetic_name'), kwargs.get('phonetic_name', None)) 108 setattr(self, "_{}".format('signature_font'), kwargs.get('signature_font', None)) 109 setattr(self, "_{}".format('signature_groups'), kwargs.get('signature_groups', None)) 110 setattr(self, "_{}".format('signature_id'), kwargs.get('signature_id', None)) 111 setattr(self, "_{}".format('signature_initials'), kwargs.get('signature_initials', None)) 112 setattr(self, "_{}".format('signature_name'), kwargs.get('signature_name', None)) 113 setattr(self, "_{}".format('signature_type'), kwargs.get('signature_type', None)) 114 setattr(self, "_{}".format('signature_users'), kwargs.get('signature_users', None)) 115 setattr(self, "_{}".format('stamp_format'), kwargs.get('stamp_format', None)) 116 setattr(self, "_{}".format('stamp_size_mm'), kwargs.get('stamp_size_mm', None)) 117 118 @property 119 def date_stamp_properties(self): 120 """Gets the date_stamp_properties of this AccountSignatureDefinition. # noqa: E501 121 122 Specifies the area in which a date stamp is placed. This parameter uses pixel positioning to draw a rectangle at the center of the stamp area. The stamp is superimposed on top of this central area. This property contains the following information about the central rectangle: - `DateAreaX`: The X axis position of the top-left corner. - `DateAreaY`: The Y axis position of the top-left corner. - `DateAreaWidth`: The width of the rectangle. - `DateAreaHeight`: The height of the rectangle. # noqa: E501 123 124 :return: The date_stamp_properties of this AccountSignatureDefinition. # noqa: E501 125 :rtype: DateStampProperties 126 """ 127 return self._date_stamp_properties 128 129 @date_stamp_properties.setter 130 def date_stamp_properties(self, date_stamp_properties): 131 """Sets the date_stamp_properties of this AccountSignatureDefinition. 132 133 Specifies the area in which a date stamp is placed. This parameter uses pixel positioning to draw a rectangle at the center of the stamp area. The stamp is superimposed on top of this central area. This property contains the following information about the central rectangle: - `DateAreaX`: The X axis position of the top-left corner. - `DateAreaY`: The Y axis position of the top-left corner. - `DateAreaWidth`: The width of the rectangle. - `DateAreaHeight`: The height of the rectangle. # noqa: E501 134 135 :param date_stamp_properties: The date_stamp_properties of this AccountSignatureDefinition. # noqa: E501 136 :type: DateStampProperties 137 """ 138 139 self._date_stamp_properties = date_stamp_properties 140 141 @property 142 def disallow_user_resize_stamp(self): 143 """Gets the disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501 144 145 # noqa: E501 146 147 :return: The disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501 148 :rtype: str 149 """ 150 return self._disallow_user_resize_stamp 151 152 @disallow_user_resize_stamp.setter 153 def disallow_user_resize_stamp(self, disallow_user_resize_stamp): 154 """Sets the disallow_user_resize_stamp of this AccountSignatureDefinition. 155 156 # noqa: E501 157 158 :param disallow_user_resize_stamp: The disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501 159 :type: str 160 """ 161 162 self._disallow_user_resize_stamp = disallow_user_resize_stamp 163 164 @property 165 def external_id(self): 166 """Gets the external_id of this AccountSignatureDefinition. # noqa: E501 167 168 # noqa: E501 169 170 :return: The external_id of this AccountSignatureDefinition. # noqa: E501 171 :rtype: str 172 """ 173 return self._external_id 174 175 @external_id.setter 176 def external_id(self, external_id): 177 """Sets the external_id of this AccountSignatureDefinition. 178 179 # noqa: E501 180 181 :param external_id: The external_id of this AccountSignatureDefinition. # noqa: E501 182 :type: str 183 """ 184 185 self._external_id = external_id 186 187 @property 188 def image_type(self): 189 """Gets the image_type of this AccountSignatureDefinition. # noqa: E501 190 191 # noqa: E501 192 193 :return: The image_type of this AccountSignatureDefinition. # noqa: E501 194 :rtype: str 195 """ 196 return self._image_type 197 198 @image_type.setter 199 def image_type(self, image_type): 200 """Sets the image_type of this AccountSignatureDefinition. 201 202 # noqa: E501 203 204 :param image_type: The image_type of this AccountSignatureDefinition. # noqa: E501 205 :type: str 206 """ 207 208 self._image_type = image_type 209 210 @property 211 def is_default(self): 212 """Gets the is_default of this AccountSignatureDefinition. # noqa: E501 213 214 # noqa: E501 215 216 :return: The is_default of this AccountSignatureDefinition. # noqa: E501 217 :rtype: str 218 """ 219 return self._is_default 220 221 @is_default.setter 222 def is_default(self, is_default): 223 """Sets the is_default of this AccountSignatureDefinition. 224 225 # noqa: E501 226 227 :param is_default: The is_default of this AccountSignatureDefinition. # noqa: E501 228 :type: str 229 """ 230 231 self._is_default = is_default 232 233 @property 234 def nrds_id(self): 235 """Gets the nrds_id of this AccountSignatureDefinition. # noqa: E501 236 237 # noqa: E501 238 239 :return: The nrds_id of this AccountSignatureDefinition. # noqa: E501 240 :rtype: str 241 """ 242 return self._nrds_id 243 244 @nrds_id.setter 245 def nrds_id(self, nrds_id): 246 """Sets the nrds_id of this AccountSignatureDefinition. 247 248 # noqa: E501 249 250 :param nrds_id: The nrds_id of this AccountSignatureDefinition. # noqa: E501 251 :type: str 252 """ 253 254 self._nrds_id = nrds_id 255 256 @property 257 def nrds_last_name(self): 258 """Gets the nrds_last_name of this AccountSignatureDefinition. # noqa: E501 259 260 # noqa: E501 261 262 :return: The nrds_last_name of this AccountSignatureDefinition. # noqa: E501 263 :rtype: str 264 """ 265 return self._nrds_last_name 266 267 @nrds_last_name.setter 268 def nrds_last_name(self, nrds_last_name): 269 """Sets the nrds_last_name of this AccountSignatureDefinition. 270 271 # noqa: E501 272 273 :param nrds_last_name: The nrds_last_name of this AccountSignatureDefinition. # noqa: E501 274 :type: str 275 """ 276 277 self._nrds_last_name = nrds_last_name 278 279 @property 280 def phonetic_name(self): 281 """Gets the phonetic_name of this AccountSignatureDefinition. # noqa: E501 282 283 # noqa: E501 284 285 :return: The phonetic_name of this AccountSignatureDefinition. # noqa: E501 286 :rtype: str 287 """ 288 return self._phonetic_name 289 290 @phonetic_name.setter 291 def phonetic_name(self, phonetic_name): 292 """Sets the phonetic_name of this AccountSignatureDefinition. 293 294 # noqa: E501 295 296 :param phonetic_name: The phonetic_name of this AccountSignatureDefinition. # noqa: E501 297 :type: str 298 """ 299 300 self._phonetic_name = phonetic_name 301 302 @property 303 def signature_font(self): 304 """Gets the signature_font of this AccountSignatureDefinition. # noqa: E501 305 306 # noqa: E501 307 308 :return: The signature_font of this AccountSignatureDefinition. # noqa: E501 309 :rtype: str 310 """ 311 return self._signature_font 312 313 @signature_font.setter 314 def signature_font(self, signature_font): 315 """Sets the signature_font of this AccountSignatureDefinition. 316 317 # noqa: E501 318 319 :param signature_font: The signature_font of this AccountSignatureDefinition. # noqa: E501 320 :type: str 321 """ 322 323 self._signature_font = signature_font 324 325 @property 326 def signature_groups(self): 327 """Gets the signature_groups of this AccountSignatureDefinition. # noqa: E501 328 329 # noqa: E501 330 331 :return: The signature_groups of this AccountSignatureDefinition. # noqa: E501 332 :rtype: list[SignatureGroupDef] 333 """ 334 return self._signature_groups 335 336 @signature_groups.setter 337 def signature_groups(self, signature_groups): 338 """Sets the signature_groups of this AccountSignatureDefinition. 339 340 # noqa: E501 341 342 :param signature_groups: The signature_groups of this AccountSignatureDefinition. # noqa: E501 343 :type: list[SignatureGroupDef] 344 """ 345 346 self._signature_groups = signature_groups 347 348 @property 349 def signature_id(self): 350 """Gets the signature_id of this AccountSignatureDefinition. # noqa: E501 351 352 Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. # noqa: E501 353 354 :return: The signature_id of this AccountSignatureDefinition. # noqa: E501 355 :rtype: str 356 """ 357 return self._signature_id 358 359 @signature_id.setter 360 def signature_id(self, signature_id): 361 """Sets the signature_id of this AccountSignatureDefinition. 362 363 Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. # noqa: E501 364 365 :param signature_id: The signature_id of this AccountSignatureDefinition. # noqa: E501 366 :type: str 367 """ 368 369 self._signature_id = signature_id 370 371 @property 372 def signature_initials(self): 373 """Gets the signature_initials of this AccountSignatureDefinition. # noqa: E501 374 375 # noqa: E501 376 377 :return: The signature_initials of this AccountSignatureDefinition. # noqa: E501 378 :rtype: str 379 """ 380 return self._signature_initials 381 382 @signature_initials.setter 383 def signature_initials(self, signature_initials): 384 """Sets the signature_initials of this AccountSignatureDefinition. 385 386 # noqa: E501 387 388 :param signature_initials: The signature_initials of this AccountSignatureDefinition. # noqa: E501 389 :type: str 390 """ 391 392 self._signature_initials = signature_initials 393 394 @property 395 def signature_name(self): 396 """Gets the signature_name of this AccountSignatureDefinition. # noqa: E501 397 398 Specifies the user signature name. # noqa: E501 399 400 :return: The signature_name of this AccountSignatureDefinition. # noqa: E501 401 :rtype: str 402 """ 403 return self._signature_name 404 405 @signature_name.setter 406 def signature_name(self, signature_name): 407 """Sets the signature_name of this AccountSignatureDefinition. 408 409 Specifies the user signature name. # noqa: E501 410 411 :param signature_name: The signature_name of this AccountSignatureDefinition. # noqa: E501 412 :type: str 413 """ 414 415 self._signature_name = signature_name 416 417 @property 418 def signature_type(self): 419 """Gets the signature_type of this AccountSignatureDefinition. # noqa: E501 420 421 # noqa: E501 422 423 :return: The signature_type of this AccountSignatureDefinition. # noqa: E501 424 :rtype: str 425 """ 426 return self._signature_type 427 428 @signature_type.setter 429 def signature_type(self, signature_type): 430 """Sets the signature_type of this AccountSignatureDefinition. 431 432 # noqa: E501 433 434 :param signature_type: The signature_type of this AccountSignatureDefinition. # noqa: E501 435 :type: str 436 """ 437 438 self._signature_type = signature_type 439 440 @property 441 def signature_users(self): 442 """Gets the signature_users of this AccountSignatureDefinition. # noqa: E501 443 444 # noqa: E501 445 446 :return: The signature_users of this AccountSignatureDefinition. # noqa: E501 447 :rtype: list[SignatureUserDef] 448 """ 449 return self._signature_users 450 451 @signature_users.setter 452 def signature_users(self, signature_users): 453 """Sets the signature_users of this AccountSignatureDefinition. 454 455 # noqa: E501 456 457 :param signature_users: The signature_users of this AccountSignatureDefinition. # noqa: E501 458 :type: list[SignatureUserDef] 459 """ 460 461 self._signature_users = signature_users 462 463 @property 464 def stamp_format(self): 465 """Gets the stamp_format of this AccountSignatureDefinition. # noqa: E501 466 467 # noqa: E501 468 469 :return: The stamp_format of this AccountSignatureDefinition. # noqa: E501 470 :rtype: str 471 """ 472 return self._stamp_format 473 474 @stamp_format.setter 475 def stamp_format(self, stamp_format): 476 """Sets the stamp_format of this AccountSignatureDefinition. 477 478 # noqa: E501 479 480 :param stamp_format: The stamp_format of this AccountSignatureDefinition. # noqa: E501 481 :type: str 482 """ 483 484 self._stamp_format = stamp_format 485 486 @property 487 def stamp_size_mm(self): 488 """Gets the stamp_size_mm of this AccountSignatureDefinition. # noqa: E501 489 490 # noqa: E501 491 492 :return: The stamp_size_mm of this AccountSignatureDefinition. # noqa: E501 493 :rtype: str 494 """ 495 return self._stamp_size_mm 496 497 @stamp_size_mm.setter 498 def stamp_size_mm(self, stamp_size_mm): 499 """Sets the stamp_size_mm of this AccountSignatureDefinition. 500 501 # noqa: E501 502 503 :param stamp_size_mm: The stamp_size_mm of this AccountSignatureDefinition. # noqa: E501 504 :type: str 505 """ 506 507 self._stamp_size_mm = stamp_size_mm 508 509 def to_dict(self): 510 """Returns the model properties as a dict""" 511 result = {} 512 513 for attr, _ in six.iteritems(self.swagger_types): 514 value = getattr(self, attr) 515 if isinstance(value, list): 516 result[attr] = list(map( 517 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 518 value 519 )) 520 elif hasattr(value, "to_dict"): 521 result[attr] = value.to_dict() 522 elif isinstance(value, dict): 523 result[attr] = dict(map( 524 lambda item: (item[0], item[1].to_dict()) 525 if hasattr(item[1], "to_dict") else item, 526 value.items() 527 )) 528 else: 529 result[attr] = value 530 if issubclass(AccountSignatureDefinition, dict): 531 for key, value in self.items(): 532 result[key] = value 533 534 return result 535 536 def to_str(self): 537 """Returns the string representation of the model""" 538 return pprint.pformat(self.to_dict()) 539 540 def __repr__(self): 541 """For `print` and `pprint`""" 542 return self.to_str() 543 544 def __eq__(self, other): 545 """Returns true if both objects are equal""" 546 if not isinstance(other, AccountSignatureDefinition): 547 return False 548 549 return self.to_dict() == other.to_dict() 550 551 def __ne__(self, other): 552 """Returns true if both objects are not equal""" 553 if not isinstance(other, AccountSignatureDefinition): 554 return True 555 556 return self.to_dict() != other.to_dict()
23class AccountSignatureDefinition(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 'date_stamp_properties': 'DateStampProperties', 38 'disallow_user_resize_stamp': 'str', 39 'external_id': 'str', 40 'image_type': 'str', 41 'is_default': 'str', 42 'nrds_id': 'str', 43 'nrds_last_name': 'str', 44 'phonetic_name': 'str', 45 'signature_font': 'str', 46 'signature_groups': 'list[SignatureGroupDef]', 47 'signature_id': 'str', 48 'signature_initials': 'str', 49 'signature_name': 'str', 50 'signature_type': 'str', 51 'signature_users': 'list[SignatureUserDef]', 52 'stamp_format': 'str', 53 'stamp_size_mm': 'str' 54 } 55 56 attribute_map = { 57 'date_stamp_properties': 'dateStampProperties', 58 'disallow_user_resize_stamp': 'disallowUserResizeStamp', 59 'external_id': 'externalID', 60 'image_type': 'imageType', 61 'is_default': 'isDefault', 62 'nrds_id': 'nrdsId', 63 'nrds_last_name': 'nrdsLastName', 64 'phonetic_name': 'phoneticName', 65 'signature_font': 'signatureFont', 66 'signature_groups': 'signatureGroups', 67 'signature_id': 'signatureId', 68 'signature_initials': 'signatureInitials', 69 'signature_name': 'signatureName', 70 'signature_type': 'signatureType', 71 'signature_users': 'signatureUsers', 72 'stamp_format': 'stampFormat', 73 'stamp_size_mm': 'stampSizeMM' 74 } 75 76 def __init__(self, _configuration=None, **kwargs): # noqa: E501 77 """AccountSignatureDefinition - a model defined in Swagger""" # noqa: E501 78 if _configuration is None: 79 _configuration = Configuration() 80 self._configuration = _configuration 81 82 self._date_stamp_properties = None 83 self._disallow_user_resize_stamp = None 84 self._external_id = None 85 self._image_type = None 86 self._is_default = None 87 self._nrds_id = None 88 self._nrds_last_name = None 89 self._phonetic_name = None 90 self._signature_font = None 91 self._signature_groups = None 92 self._signature_id = None 93 self._signature_initials = None 94 self._signature_name = None 95 self._signature_type = None 96 self._signature_users = None 97 self._stamp_format = None 98 self._stamp_size_mm = None 99 self.discriminator = None 100 101 setattr(self, "_{}".format('date_stamp_properties'), kwargs.get('date_stamp_properties', None)) 102 setattr(self, "_{}".format('disallow_user_resize_stamp'), kwargs.get('disallow_user_resize_stamp', None)) 103 setattr(self, "_{}".format('external_id'), kwargs.get('external_id', None)) 104 setattr(self, "_{}".format('image_type'), kwargs.get('image_type', None)) 105 setattr(self, "_{}".format('is_default'), kwargs.get('is_default', None)) 106 setattr(self, "_{}".format('nrds_id'), kwargs.get('nrds_id', None)) 107 setattr(self, "_{}".format('nrds_last_name'), kwargs.get('nrds_last_name', None)) 108 setattr(self, "_{}".format('phonetic_name'), kwargs.get('phonetic_name', None)) 109 setattr(self, "_{}".format('signature_font'), kwargs.get('signature_font', None)) 110 setattr(self, "_{}".format('signature_groups'), kwargs.get('signature_groups', None)) 111 setattr(self, "_{}".format('signature_id'), kwargs.get('signature_id', None)) 112 setattr(self, "_{}".format('signature_initials'), kwargs.get('signature_initials', None)) 113 setattr(self, "_{}".format('signature_name'), kwargs.get('signature_name', None)) 114 setattr(self, "_{}".format('signature_type'), kwargs.get('signature_type', None)) 115 setattr(self, "_{}".format('signature_users'), kwargs.get('signature_users', None)) 116 setattr(self, "_{}".format('stamp_format'), kwargs.get('stamp_format', None)) 117 setattr(self, "_{}".format('stamp_size_mm'), kwargs.get('stamp_size_mm', None)) 118 119 @property 120 def date_stamp_properties(self): 121 """Gets the date_stamp_properties of this AccountSignatureDefinition. # noqa: E501 122 123 Specifies the area in which a date stamp is placed. This parameter uses pixel positioning to draw a rectangle at the center of the stamp area. The stamp is superimposed on top of this central area. This property contains the following information about the central rectangle: - `DateAreaX`: The X axis position of the top-left corner. - `DateAreaY`: The Y axis position of the top-left corner. - `DateAreaWidth`: The width of the rectangle. - `DateAreaHeight`: The height of the rectangle. # noqa: E501 124 125 :return: The date_stamp_properties of this AccountSignatureDefinition. # noqa: E501 126 :rtype: DateStampProperties 127 """ 128 return self._date_stamp_properties 129 130 @date_stamp_properties.setter 131 def date_stamp_properties(self, date_stamp_properties): 132 """Sets the date_stamp_properties of this AccountSignatureDefinition. 133 134 Specifies the area in which a date stamp is placed. This parameter uses pixel positioning to draw a rectangle at the center of the stamp area. The stamp is superimposed on top of this central area. This property contains the following information about the central rectangle: - `DateAreaX`: The X axis position of the top-left corner. - `DateAreaY`: The Y axis position of the top-left corner. - `DateAreaWidth`: The width of the rectangle. - `DateAreaHeight`: The height of the rectangle. # noqa: E501 135 136 :param date_stamp_properties: The date_stamp_properties of this AccountSignatureDefinition. # noqa: E501 137 :type: DateStampProperties 138 """ 139 140 self._date_stamp_properties = date_stamp_properties 141 142 @property 143 def disallow_user_resize_stamp(self): 144 """Gets the disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501 145 146 # noqa: E501 147 148 :return: The disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501 149 :rtype: str 150 """ 151 return self._disallow_user_resize_stamp 152 153 @disallow_user_resize_stamp.setter 154 def disallow_user_resize_stamp(self, disallow_user_resize_stamp): 155 """Sets the disallow_user_resize_stamp of this AccountSignatureDefinition. 156 157 # noqa: E501 158 159 :param disallow_user_resize_stamp: The disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501 160 :type: str 161 """ 162 163 self._disallow_user_resize_stamp = disallow_user_resize_stamp 164 165 @property 166 def external_id(self): 167 """Gets the external_id of this AccountSignatureDefinition. # noqa: E501 168 169 # noqa: E501 170 171 :return: The external_id of this AccountSignatureDefinition. # noqa: E501 172 :rtype: str 173 """ 174 return self._external_id 175 176 @external_id.setter 177 def external_id(self, external_id): 178 """Sets the external_id of this AccountSignatureDefinition. 179 180 # noqa: E501 181 182 :param external_id: The external_id of this AccountSignatureDefinition. # noqa: E501 183 :type: str 184 """ 185 186 self._external_id = external_id 187 188 @property 189 def image_type(self): 190 """Gets the image_type of this AccountSignatureDefinition. # noqa: E501 191 192 # noqa: E501 193 194 :return: The image_type of this AccountSignatureDefinition. # noqa: E501 195 :rtype: str 196 """ 197 return self._image_type 198 199 @image_type.setter 200 def image_type(self, image_type): 201 """Sets the image_type of this AccountSignatureDefinition. 202 203 # noqa: E501 204 205 :param image_type: The image_type of this AccountSignatureDefinition. # noqa: E501 206 :type: str 207 """ 208 209 self._image_type = image_type 210 211 @property 212 def is_default(self): 213 """Gets the is_default of this AccountSignatureDefinition. # noqa: E501 214 215 # noqa: E501 216 217 :return: The is_default of this AccountSignatureDefinition. # noqa: E501 218 :rtype: str 219 """ 220 return self._is_default 221 222 @is_default.setter 223 def is_default(self, is_default): 224 """Sets the is_default of this AccountSignatureDefinition. 225 226 # noqa: E501 227 228 :param is_default: The is_default of this AccountSignatureDefinition. # noqa: E501 229 :type: str 230 """ 231 232 self._is_default = is_default 233 234 @property 235 def nrds_id(self): 236 """Gets the nrds_id of this AccountSignatureDefinition. # noqa: E501 237 238 # noqa: E501 239 240 :return: The nrds_id of this AccountSignatureDefinition. # noqa: E501 241 :rtype: str 242 """ 243 return self._nrds_id 244 245 @nrds_id.setter 246 def nrds_id(self, nrds_id): 247 """Sets the nrds_id of this AccountSignatureDefinition. 248 249 # noqa: E501 250 251 :param nrds_id: The nrds_id of this AccountSignatureDefinition. # noqa: E501 252 :type: str 253 """ 254 255 self._nrds_id = nrds_id 256 257 @property 258 def nrds_last_name(self): 259 """Gets the nrds_last_name of this AccountSignatureDefinition. # noqa: E501 260 261 # noqa: E501 262 263 :return: The nrds_last_name of this AccountSignatureDefinition. # noqa: E501 264 :rtype: str 265 """ 266 return self._nrds_last_name 267 268 @nrds_last_name.setter 269 def nrds_last_name(self, nrds_last_name): 270 """Sets the nrds_last_name of this AccountSignatureDefinition. 271 272 # noqa: E501 273 274 :param nrds_last_name: The nrds_last_name of this AccountSignatureDefinition. # noqa: E501 275 :type: str 276 """ 277 278 self._nrds_last_name = nrds_last_name 279 280 @property 281 def phonetic_name(self): 282 """Gets the phonetic_name of this AccountSignatureDefinition. # noqa: E501 283 284 # noqa: E501 285 286 :return: The phonetic_name of this AccountSignatureDefinition. # noqa: E501 287 :rtype: str 288 """ 289 return self._phonetic_name 290 291 @phonetic_name.setter 292 def phonetic_name(self, phonetic_name): 293 """Sets the phonetic_name of this AccountSignatureDefinition. 294 295 # noqa: E501 296 297 :param phonetic_name: The phonetic_name of this AccountSignatureDefinition. # noqa: E501 298 :type: str 299 """ 300 301 self._phonetic_name = phonetic_name 302 303 @property 304 def signature_font(self): 305 """Gets the signature_font of this AccountSignatureDefinition. # noqa: E501 306 307 # noqa: E501 308 309 :return: The signature_font of this AccountSignatureDefinition. # noqa: E501 310 :rtype: str 311 """ 312 return self._signature_font 313 314 @signature_font.setter 315 def signature_font(self, signature_font): 316 """Sets the signature_font of this AccountSignatureDefinition. 317 318 # noqa: E501 319 320 :param signature_font: The signature_font of this AccountSignatureDefinition. # noqa: E501 321 :type: str 322 """ 323 324 self._signature_font = signature_font 325 326 @property 327 def signature_groups(self): 328 """Gets the signature_groups of this AccountSignatureDefinition. # noqa: E501 329 330 # noqa: E501 331 332 :return: The signature_groups of this AccountSignatureDefinition. # noqa: E501 333 :rtype: list[SignatureGroupDef] 334 """ 335 return self._signature_groups 336 337 @signature_groups.setter 338 def signature_groups(self, signature_groups): 339 """Sets the signature_groups of this AccountSignatureDefinition. 340 341 # noqa: E501 342 343 :param signature_groups: The signature_groups of this AccountSignatureDefinition. # noqa: E501 344 :type: list[SignatureGroupDef] 345 """ 346 347 self._signature_groups = signature_groups 348 349 @property 350 def signature_id(self): 351 """Gets the signature_id of this AccountSignatureDefinition. # noqa: E501 352 353 Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. # noqa: E501 354 355 :return: The signature_id of this AccountSignatureDefinition. # noqa: E501 356 :rtype: str 357 """ 358 return self._signature_id 359 360 @signature_id.setter 361 def signature_id(self, signature_id): 362 """Sets the signature_id of this AccountSignatureDefinition. 363 364 Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the `signatureName` property in the body is used. This allows the use of special characters (such as \"&\", \"<\", \">\") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. # noqa: E501 365 366 :param signature_id: The signature_id of this AccountSignatureDefinition. # noqa: E501 367 :type: str 368 """ 369 370 self._signature_id = signature_id 371 372 @property 373 def signature_initials(self): 374 """Gets the signature_initials of this AccountSignatureDefinition. # noqa: E501 375 376 # noqa: E501 377 378 :return: The signature_initials of this AccountSignatureDefinition. # noqa: E501 379 :rtype: str 380 """ 381 return self._signature_initials 382 383 @signature_initials.setter 384 def signature_initials(self, signature_initials): 385 """Sets the signature_initials of this AccountSignatureDefinition. 386 387 # noqa: E501 388 389 :param signature_initials: The signature_initials of this AccountSignatureDefinition. # noqa: E501 390 :type: str 391 """ 392 393 self._signature_initials = signature_initials 394 395 @property 396 def signature_name(self): 397 """Gets the signature_name of this AccountSignatureDefinition. # noqa: E501 398 399 Specifies the user signature name. # noqa: E501 400 401 :return: The signature_name of this AccountSignatureDefinition. # noqa: E501 402 :rtype: str 403 """ 404 return self._signature_name 405 406 @signature_name.setter 407 def signature_name(self, signature_name): 408 """Sets the signature_name of this AccountSignatureDefinition. 409 410 Specifies the user signature name. # noqa: E501 411 412 :param signature_name: The signature_name of this AccountSignatureDefinition. # noqa: E501 413 :type: str 414 """ 415 416 self._signature_name = signature_name 417 418 @property 419 def signature_type(self): 420 """Gets the signature_type of this AccountSignatureDefinition. # noqa: E501 421 422 # noqa: E501 423 424 :return: The signature_type of this AccountSignatureDefinition. # noqa: E501 425 :rtype: str 426 """ 427 return self._signature_type 428 429 @signature_type.setter 430 def signature_type(self, signature_type): 431 """Sets the signature_type of this AccountSignatureDefinition. 432 433 # noqa: E501 434 435 :param signature_type: The signature_type of this AccountSignatureDefinition. # noqa: E501 436 :type: str 437 """ 438 439 self._signature_type = signature_type 440 441 @property 442 def signature_users(self): 443 """Gets the signature_users of this AccountSignatureDefinition. # noqa: E501 444 445 # noqa: E501 446 447 :return: The signature_users of this AccountSignatureDefinition. # noqa: E501 448 :rtype: list[SignatureUserDef] 449 """ 450 return self._signature_users 451 452 @signature_users.setter 453 def signature_users(self, signature_users): 454 """Sets the signature_users of this AccountSignatureDefinition. 455 456 # noqa: E501 457 458 :param signature_users: The signature_users of this AccountSignatureDefinition. # noqa: E501 459 :type: list[SignatureUserDef] 460 """ 461 462 self._signature_users = signature_users 463 464 @property 465 def stamp_format(self): 466 """Gets the stamp_format of this AccountSignatureDefinition. # noqa: E501 467 468 # noqa: E501 469 470 :return: The stamp_format of this AccountSignatureDefinition. # noqa: E501 471 :rtype: str 472 """ 473 return self._stamp_format 474 475 @stamp_format.setter 476 def stamp_format(self, stamp_format): 477 """Sets the stamp_format of this AccountSignatureDefinition. 478 479 # noqa: E501 480 481 :param stamp_format: The stamp_format of this AccountSignatureDefinition. # noqa: E501 482 :type: str 483 """ 484 485 self._stamp_format = stamp_format 486 487 @property 488 def stamp_size_mm(self): 489 """Gets the stamp_size_mm of this AccountSignatureDefinition. # noqa: E501 490 491 # noqa: E501 492 493 :return: The stamp_size_mm of this AccountSignatureDefinition. # noqa: E501 494 :rtype: str 495 """ 496 return self._stamp_size_mm 497 498 @stamp_size_mm.setter 499 def stamp_size_mm(self, stamp_size_mm): 500 """Sets the stamp_size_mm of this AccountSignatureDefinition. 501 502 # noqa: E501 503 504 :param stamp_size_mm: The stamp_size_mm of this AccountSignatureDefinition. # noqa: E501 505 :type: str 506 """ 507 508 self._stamp_size_mm = stamp_size_mm 509 510 def to_dict(self): 511 """Returns the model properties as a dict""" 512 result = {} 513 514 for attr, _ in six.iteritems(self.swagger_types): 515 value = getattr(self, attr) 516 if isinstance(value, list): 517 result[attr] = list(map( 518 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 519 value 520 )) 521 elif hasattr(value, "to_dict"): 522 result[attr] = value.to_dict() 523 elif isinstance(value, dict): 524 result[attr] = dict(map( 525 lambda item: (item[0], item[1].to_dict()) 526 if hasattr(item[1], "to_dict") else item, 527 value.items() 528 )) 529 else: 530 result[attr] = value 531 if issubclass(AccountSignatureDefinition, dict): 532 for key, value in self.items(): 533 result[key] = value 534 535 return result 536 537 def to_str(self): 538 """Returns the string representation of the model""" 539 return pprint.pformat(self.to_dict()) 540 541 def __repr__(self): 542 """For `print` and `pprint`""" 543 return self.to_str() 544 545 def __eq__(self, other): 546 """Returns true if both objects are equal""" 547 if not isinstance(other, AccountSignatureDefinition): 548 return False 549 550 return self.to_dict() == other.to_dict() 551 552 def __ne__(self, other): 553 """Returns true if both objects are not equal""" 554 if not isinstance(other, AccountSignatureDefinition): 555 return True 556 557 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.
76 def __init__(self, _configuration=None, **kwargs): # noqa: E501 77 """AccountSignatureDefinition - a model defined in Swagger""" # noqa: E501 78 if _configuration is None: 79 _configuration = Configuration() 80 self._configuration = _configuration 81 82 self._date_stamp_properties = None 83 self._disallow_user_resize_stamp = None 84 self._external_id = None 85 self._image_type = None 86 self._is_default = None 87 self._nrds_id = None 88 self._nrds_last_name = None 89 self._phonetic_name = None 90 self._signature_font = None 91 self._signature_groups = None 92 self._signature_id = None 93 self._signature_initials = None 94 self._signature_name = None 95 self._signature_type = None 96 self._signature_users = None 97 self._stamp_format = None 98 self._stamp_size_mm = None 99 self.discriminator = None 100 101 setattr(self, "_{}".format('date_stamp_properties'), kwargs.get('date_stamp_properties', None)) 102 setattr(self, "_{}".format('disallow_user_resize_stamp'), kwargs.get('disallow_user_resize_stamp', None)) 103 setattr(self, "_{}".format('external_id'), kwargs.get('external_id', None)) 104 setattr(self, "_{}".format('image_type'), kwargs.get('image_type', None)) 105 setattr(self, "_{}".format('is_default'), kwargs.get('is_default', None)) 106 setattr(self, "_{}".format('nrds_id'), kwargs.get('nrds_id', None)) 107 setattr(self, "_{}".format('nrds_last_name'), kwargs.get('nrds_last_name', None)) 108 setattr(self, "_{}".format('phonetic_name'), kwargs.get('phonetic_name', None)) 109 setattr(self, "_{}".format('signature_font'), kwargs.get('signature_font', None)) 110 setattr(self, "_{}".format('signature_groups'), kwargs.get('signature_groups', None)) 111 setattr(self, "_{}".format('signature_id'), kwargs.get('signature_id', None)) 112 setattr(self, "_{}".format('signature_initials'), kwargs.get('signature_initials', None)) 113 setattr(self, "_{}".format('signature_name'), kwargs.get('signature_name', None)) 114 setattr(self, "_{}".format('signature_type'), kwargs.get('signature_type', None)) 115 setattr(self, "_{}".format('signature_users'), kwargs.get('signature_users', None)) 116 setattr(self, "_{}".format('stamp_format'), kwargs.get('stamp_format', None)) 117 setattr(self, "_{}".format('stamp_size_mm'), kwargs.get('stamp_size_mm', None))
AccountSignatureDefinition - a model defined in Swagger
Gets the date_stamp_properties of this AccountSignatureDefinition. # noqa: E501
Specifies the area in which a date stamp is placed. This parameter uses pixel positioning to draw a rectangle at the center of the stamp area. The stamp is superimposed on top of this central area. This property contains the following information about the central rectangle: - DateAreaX
: The X axis position of the top-left corner. - DateAreaY
: The Y axis position of the top-left corner. - DateAreaWidth
: The width of the rectangle. - DateAreaHeight
: The height of the rectangle. # noqa: E501
Returns
The date_stamp_properties of this AccountSignatureDefinition. # noqa: E501
Gets the disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The disallow_user_resize_stamp of this AccountSignatureDefinition. # noqa: E501
Gets the external_id of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The external_id of this AccountSignatureDefinition. # noqa: E501
Gets the image_type of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The image_type of this AccountSignatureDefinition. # noqa: E501
Gets the is_default of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The is_default of this AccountSignatureDefinition. # noqa: E501
Gets the nrds_id of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The nrds_id of this AccountSignatureDefinition. # noqa: E501
Gets the nrds_last_name of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The nrds_last_name of this AccountSignatureDefinition. # noqa: E501
Gets the phonetic_name of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The phonetic_name of this AccountSignatureDefinition. # noqa: E501
Gets the signature_font of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The signature_font of this AccountSignatureDefinition. # noqa: E501
Gets the signature_groups of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The signature_groups of this AccountSignatureDefinition. # noqa: E501
Gets the signature_id of this AccountSignatureDefinition. # noqa: E501
Specifies the signature ID associated with the signature name. You can use the signature ID in the URI in place of the signature name, and the value stored in the signatureName
property in the body is used. This allows the use of special characters (such as "&", "<", ">") in a the signature name. Note that with each update to signatures, the returned signature ID might change, so the caller will need to trigger off the signature name to get the new signature ID. # noqa: E501
Returns
The signature_id of this AccountSignatureDefinition. # noqa: E501
Gets the signature_initials of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The signature_initials of this AccountSignatureDefinition. # noqa: E501
Gets the signature_name of this AccountSignatureDefinition. # noqa: E501
Specifies the user signature name. # noqa: E501
Returns
The signature_name of this AccountSignatureDefinition. # noqa: E501
Gets the signature_type of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The signature_type of this AccountSignatureDefinition. # noqa: E501
Gets the signature_users of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The signature_users of this AccountSignatureDefinition. # noqa: E501
Gets the stamp_format of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The stamp_format of this AccountSignatureDefinition. # noqa: E501
Gets the stamp_size_mm of this AccountSignatureDefinition. # noqa: E501
# noqa: E501
Returns
The stamp_size_mm of this AccountSignatureDefinition. # noqa: E501
510 def to_dict(self): 511 """Returns the model properties as a dict""" 512 result = {} 513 514 for attr, _ in six.iteritems(self.swagger_types): 515 value = getattr(self, attr) 516 if isinstance(value, list): 517 result[attr] = list(map( 518 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 519 value 520 )) 521 elif hasattr(value, "to_dict"): 522 result[attr] = value.to_dict() 523 elif isinstance(value, dict): 524 result[attr] = dict(map( 525 lambda item: (item[0], item[1].to_dict()) 526 if hasattr(item[1], "to_dict") else item, 527 value.items() 528 )) 529 else: 530 result[attr] = value 531 if issubclass(AccountSignatureDefinition, dict): 532 for key, value in self.items(): 533 result[key] = value 534 535 return result
Returns the model properties as a dict