docusign_esign.models.locale_policy
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 LocalePolicy(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 'address_format': 'str', 37 'address_format_metadata': 'SettingsMetadata', 38 'allow_region': 'str', 39 'calendar_type': 'str', 40 'calendar_type_metadata': 'SettingsMetadata', 41 'culture_name': 'str', 42 'culture_name_metadata': 'SettingsMetadata', 43 'currency_code': 'str', 44 'currency_code_metadata': 'SettingsMetadata', 45 'currency_negative_format': 'str', 46 'currency_negative_format_metadata': 'SettingsMetadata', 47 'currency_positive_format': 'str', 48 'currency_positive_format_metadata': 'SettingsMetadata', 49 'custom_date_format': 'str', 50 'custom_sign_date_format': 'str', 51 'custom_sign_time_format': 'str', 52 'custom_time_format': 'str', 53 'date_format': 'str', 54 'date_format_metadata': 'SettingsMetadata', 55 'effective_address_format': 'str', 56 'effective_calendar_type': 'str', 57 'effective_currency_code': 'str', 58 'effective_currency_negative_format': 'str', 59 'effective_currency_positive_format': 'str', 60 'effective_custom_date_format': 'str', 61 'effective_custom_time_format': 'str', 62 'effective_date_format': 'str', 63 'effective_initial_format': 'str', 64 'effective_name_format': 'str', 65 'effective_time_format': 'str', 66 'effective_time_zone': 'str', 67 'initial_format': 'str', 68 'initial_format_metadata': 'SettingsMetadata', 69 'name_format': 'str', 70 'name_format_metadata': 'SettingsMetadata', 71 'sign_date_format': 'str', 72 'sign_date_format_metadata': 'SettingsMetadata', 73 'sign_time_format': 'str', 74 'sign_time_format_metadata': 'SettingsMetadata', 75 'time_format': 'str', 76 'time_format_metadata': 'SettingsMetadata', 77 'time_zone': 'str', 78 'time_zone_metadata': 'SettingsMetadata' 79 } 80 81 attribute_map = { 82 'address_format': 'addressFormat', 83 'address_format_metadata': 'addressFormatMetadata', 84 'allow_region': 'allowRegion', 85 'calendar_type': 'calendarType', 86 'calendar_type_metadata': 'calendarTypeMetadata', 87 'culture_name': 'cultureName', 88 'culture_name_metadata': 'cultureNameMetadata', 89 'currency_code': 'currencyCode', 90 'currency_code_metadata': 'currencyCodeMetadata', 91 'currency_negative_format': 'currencyNegativeFormat', 92 'currency_negative_format_metadata': 'currencyNegativeFormatMetadata', 93 'currency_positive_format': 'currencyPositiveFormat', 94 'currency_positive_format_metadata': 'currencyPositiveFormatMetadata', 95 'custom_date_format': 'customDateFormat', 96 'custom_sign_date_format': 'customSignDateFormat', 97 'custom_sign_time_format': 'customSignTimeFormat', 98 'custom_time_format': 'customTimeFormat', 99 'date_format': 'dateFormat', 100 'date_format_metadata': 'dateFormatMetadata', 101 'effective_address_format': 'effectiveAddressFormat', 102 'effective_calendar_type': 'effectiveCalendarType', 103 'effective_currency_code': 'effectiveCurrencyCode', 104 'effective_currency_negative_format': 'effectiveCurrencyNegativeFormat', 105 'effective_currency_positive_format': 'effectiveCurrencyPositiveFormat', 106 'effective_custom_date_format': 'effectiveCustomDateFormat', 107 'effective_custom_time_format': 'effectiveCustomTimeFormat', 108 'effective_date_format': 'effectiveDateFormat', 109 'effective_initial_format': 'effectiveInitialFormat', 110 'effective_name_format': 'effectiveNameFormat', 111 'effective_time_format': 'effectiveTimeFormat', 112 'effective_time_zone': 'effectiveTimeZone', 113 'initial_format': 'initialFormat', 114 'initial_format_metadata': 'initialFormatMetadata', 115 'name_format': 'nameFormat', 116 'name_format_metadata': 'nameFormatMetadata', 117 'sign_date_format': 'signDateFormat', 118 'sign_date_format_metadata': 'signDateFormatMetadata', 119 'sign_time_format': 'signTimeFormat', 120 'sign_time_format_metadata': 'signTimeFormatMetadata', 121 'time_format': 'timeFormat', 122 'time_format_metadata': 'timeFormatMetadata', 123 'time_zone': 'timeZone', 124 'time_zone_metadata': 'timeZoneMetadata' 125 } 126 127 def __init__(self, _configuration=None, **kwargs): # noqa: E501 128 """LocalePolicy - a model defined in Swagger""" # noqa: E501 129 if _configuration is None: 130 _configuration = Configuration() 131 self._configuration = _configuration 132 133 self._address_format = None 134 self._address_format_metadata = None 135 self._allow_region = None 136 self._calendar_type = None 137 self._calendar_type_metadata = None 138 self._culture_name = None 139 self._culture_name_metadata = None 140 self._currency_code = None 141 self._currency_code_metadata = None 142 self._currency_negative_format = None 143 self._currency_negative_format_metadata = None 144 self._currency_positive_format = None 145 self._currency_positive_format_metadata = None 146 self._custom_date_format = None 147 self._custom_sign_date_format = None 148 self._custom_sign_time_format = None 149 self._custom_time_format = None 150 self._date_format = None 151 self._date_format_metadata = None 152 self._effective_address_format = None 153 self._effective_calendar_type = None 154 self._effective_currency_code = None 155 self._effective_currency_negative_format = None 156 self._effective_currency_positive_format = None 157 self._effective_custom_date_format = None 158 self._effective_custom_time_format = None 159 self._effective_date_format = None 160 self._effective_initial_format = None 161 self._effective_name_format = None 162 self._effective_time_format = None 163 self._effective_time_zone = None 164 self._initial_format = None 165 self._initial_format_metadata = None 166 self._name_format = None 167 self._name_format_metadata = None 168 self._sign_date_format = None 169 self._sign_date_format_metadata = None 170 self._sign_time_format = None 171 self._sign_time_format_metadata = None 172 self._time_format = None 173 self._time_format_metadata = None 174 self._time_zone = None 175 self._time_zone_metadata = None 176 self.discriminator = None 177 178 setattr(self, "_{}".format('address_format'), kwargs.get('address_format', None)) 179 setattr(self, "_{}".format('address_format_metadata'), kwargs.get('address_format_metadata', None)) 180 setattr(self, "_{}".format('allow_region'), kwargs.get('allow_region', None)) 181 setattr(self, "_{}".format('calendar_type'), kwargs.get('calendar_type', None)) 182 setattr(self, "_{}".format('calendar_type_metadata'), kwargs.get('calendar_type_metadata', None)) 183 setattr(self, "_{}".format('culture_name'), kwargs.get('culture_name', None)) 184 setattr(self, "_{}".format('culture_name_metadata'), kwargs.get('culture_name_metadata', None)) 185 setattr(self, "_{}".format('currency_code'), kwargs.get('currency_code', None)) 186 setattr(self, "_{}".format('currency_code_metadata'), kwargs.get('currency_code_metadata', None)) 187 setattr(self, "_{}".format('currency_negative_format'), kwargs.get('currency_negative_format', None)) 188 setattr(self, "_{}".format('currency_negative_format_metadata'), kwargs.get('currency_negative_format_metadata', None)) 189 setattr(self, "_{}".format('currency_positive_format'), kwargs.get('currency_positive_format', None)) 190 setattr(self, "_{}".format('currency_positive_format_metadata'), kwargs.get('currency_positive_format_metadata', None)) 191 setattr(self, "_{}".format('custom_date_format'), kwargs.get('custom_date_format', None)) 192 setattr(self, "_{}".format('custom_sign_date_format'), kwargs.get('custom_sign_date_format', None)) 193 setattr(self, "_{}".format('custom_sign_time_format'), kwargs.get('custom_sign_time_format', None)) 194 setattr(self, "_{}".format('custom_time_format'), kwargs.get('custom_time_format', None)) 195 setattr(self, "_{}".format('date_format'), kwargs.get('date_format', None)) 196 setattr(self, "_{}".format('date_format_metadata'), kwargs.get('date_format_metadata', None)) 197 setattr(self, "_{}".format('effective_address_format'), kwargs.get('effective_address_format', None)) 198 setattr(self, "_{}".format('effective_calendar_type'), kwargs.get('effective_calendar_type', None)) 199 setattr(self, "_{}".format('effective_currency_code'), kwargs.get('effective_currency_code', None)) 200 setattr(self, "_{}".format('effective_currency_negative_format'), kwargs.get('effective_currency_negative_format', None)) 201 setattr(self, "_{}".format('effective_currency_positive_format'), kwargs.get('effective_currency_positive_format', None)) 202 setattr(self, "_{}".format('effective_custom_date_format'), kwargs.get('effective_custom_date_format', None)) 203 setattr(self, "_{}".format('effective_custom_time_format'), kwargs.get('effective_custom_time_format', None)) 204 setattr(self, "_{}".format('effective_date_format'), kwargs.get('effective_date_format', None)) 205 setattr(self, "_{}".format('effective_initial_format'), kwargs.get('effective_initial_format', None)) 206 setattr(self, "_{}".format('effective_name_format'), kwargs.get('effective_name_format', None)) 207 setattr(self, "_{}".format('effective_time_format'), kwargs.get('effective_time_format', None)) 208 setattr(self, "_{}".format('effective_time_zone'), kwargs.get('effective_time_zone', None)) 209 setattr(self, "_{}".format('initial_format'), kwargs.get('initial_format', None)) 210 setattr(self, "_{}".format('initial_format_metadata'), kwargs.get('initial_format_metadata', None)) 211 setattr(self, "_{}".format('name_format'), kwargs.get('name_format', None)) 212 setattr(self, "_{}".format('name_format_metadata'), kwargs.get('name_format_metadata', None)) 213 setattr(self, "_{}".format('sign_date_format'), kwargs.get('sign_date_format', None)) 214 setattr(self, "_{}".format('sign_date_format_metadata'), kwargs.get('sign_date_format_metadata', None)) 215 setattr(self, "_{}".format('sign_time_format'), kwargs.get('sign_time_format', None)) 216 setattr(self, "_{}".format('sign_time_format_metadata'), kwargs.get('sign_time_format_metadata', None)) 217 setattr(self, "_{}".format('time_format'), kwargs.get('time_format', None)) 218 setattr(self, "_{}".format('time_format_metadata'), kwargs.get('time_format_metadata', None)) 219 setattr(self, "_{}".format('time_zone'), kwargs.get('time_zone', None)) 220 setattr(self, "_{}".format('time_zone_metadata'), kwargs.get('time_zone_metadata', None)) 221 222 @property 223 def address_format(self): 224 """Gets the address_format of this LocalePolicy. # noqa: E501 225 226 # noqa: E501 227 228 :return: The address_format of this LocalePolicy. # noqa: E501 229 :rtype: str 230 """ 231 return self._address_format 232 233 @address_format.setter 234 def address_format(self, address_format): 235 """Sets the address_format of this LocalePolicy. 236 237 # noqa: E501 238 239 :param address_format: The address_format of this LocalePolicy. # noqa: E501 240 :type: str 241 """ 242 243 self._address_format = address_format 244 245 @property 246 def address_format_metadata(self): 247 """Gets the address_format_metadata of this LocalePolicy. # noqa: E501 248 249 # noqa: E501 250 251 :return: The address_format_metadata of this LocalePolicy. # noqa: E501 252 :rtype: SettingsMetadata 253 """ 254 return self._address_format_metadata 255 256 @address_format_metadata.setter 257 def address_format_metadata(self, address_format_metadata): 258 """Sets the address_format_metadata of this LocalePolicy. 259 260 # noqa: E501 261 262 :param address_format_metadata: The address_format_metadata of this LocalePolicy. # noqa: E501 263 :type: SettingsMetadata 264 """ 265 266 self._address_format_metadata = address_format_metadata 267 268 @property 269 def allow_region(self): 270 """Gets the allow_region of this LocalePolicy. # noqa: E501 271 272 # noqa: E501 273 274 :return: The allow_region of this LocalePolicy. # noqa: E501 275 :rtype: str 276 """ 277 return self._allow_region 278 279 @allow_region.setter 280 def allow_region(self, allow_region): 281 """Sets the allow_region of this LocalePolicy. 282 283 # noqa: E501 284 285 :param allow_region: The allow_region of this LocalePolicy. # noqa: E501 286 :type: str 287 """ 288 289 self._allow_region = allow_region 290 291 @property 292 def calendar_type(self): 293 """Gets the calendar_type of this LocalePolicy. # noqa: E501 294 295 # noqa: E501 296 297 :return: The calendar_type of this LocalePolicy. # noqa: E501 298 :rtype: str 299 """ 300 return self._calendar_type 301 302 @calendar_type.setter 303 def calendar_type(self, calendar_type): 304 """Sets the calendar_type of this LocalePolicy. 305 306 # noqa: E501 307 308 :param calendar_type: The calendar_type of this LocalePolicy. # noqa: E501 309 :type: str 310 """ 311 312 self._calendar_type = calendar_type 313 314 @property 315 def calendar_type_metadata(self): 316 """Gets the calendar_type_metadata of this LocalePolicy. # noqa: E501 317 318 # noqa: E501 319 320 :return: The calendar_type_metadata of this LocalePolicy. # noqa: E501 321 :rtype: SettingsMetadata 322 """ 323 return self._calendar_type_metadata 324 325 @calendar_type_metadata.setter 326 def calendar_type_metadata(self, calendar_type_metadata): 327 """Sets the calendar_type_metadata of this LocalePolicy. 328 329 # noqa: E501 330 331 :param calendar_type_metadata: The calendar_type_metadata of this LocalePolicy. # noqa: E501 332 :type: SettingsMetadata 333 """ 334 335 self._calendar_type_metadata = calendar_type_metadata 336 337 @property 338 def culture_name(self): 339 """Gets the culture_name of this LocalePolicy. # noqa: E501 340 341 # noqa: E501 342 343 :return: The culture_name of this LocalePolicy. # noqa: E501 344 :rtype: str 345 """ 346 return self._culture_name 347 348 @culture_name.setter 349 def culture_name(self, culture_name): 350 """Sets the culture_name of this LocalePolicy. 351 352 # noqa: E501 353 354 :param culture_name: The culture_name of this LocalePolicy. # noqa: E501 355 :type: str 356 """ 357 358 self._culture_name = culture_name 359 360 @property 361 def culture_name_metadata(self): 362 """Gets the culture_name_metadata of this LocalePolicy. # noqa: E501 363 364 # noqa: E501 365 366 :return: The culture_name_metadata of this LocalePolicy. # noqa: E501 367 :rtype: SettingsMetadata 368 """ 369 return self._culture_name_metadata 370 371 @culture_name_metadata.setter 372 def culture_name_metadata(self, culture_name_metadata): 373 """Sets the culture_name_metadata of this LocalePolicy. 374 375 # noqa: E501 376 377 :param culture_name_metadata: The culture_name_metadata of this LocalePolicy. # noqa: E501 378 :type: SettingsMetadata 379 """ 380 381 self._culture_name_metadata = culture_name_metadata 382 383 @property 384 def currency_code(self): 385 """Gets the currency_code of this LocalePolicy. # noqa: E501 386 387 # noqa: E501 388 389 :return: The currency_code of this LocalePolicy. # noqa: E501 390 :rtype: str 391 """ 392 return self._currency_code 393 394 @currency_code.setter 395 def currency_code(self, currency_code): 396 """Sets the currency_code of this LocalePolicy. 397 398 # noqa: E501 399 400 :param currency_code: The currency_code of this LocalePolicy. # noqa: E501 401 :type: str 402 """ 403 404 self._currency_code = currency_code 405 406 @property 407 def currency_code_metadata(self): 408 """Gets the currency_code_metadata of this LocalePolicy. # noqa: E501 409 410 Metadata that indicates whether the `currencyCode` property is editable. # noqa: E501 411 412 :return: The currency_code_metadata of this LocalePolicy. # noqa: E501 413 :rtype: SettingsMetadata 414 """ 415 return self._currency_code_metadata 416 417 @currency_code_metadata.setter 418 def currency_code_metadata(self, currency_code_metadata): 419 """Sets the currency_code_metadata of this LocalePolicy. 420 421 Metadata that indicates whether the `currencyCode` property is editable. # noqa: E501 422 423 :param currency_code_metadata: The currency_code_metadata of this LocalePolicy. # noqa: E501 424 :type: SettingsMetadata 425 """ 426 427 self._currency_code_metadata = currency_code_metadata 428 429 @property 430 def currency_negative_format(self): 431 """Gets the currency_negative_format of this LocalePolicy. # noqa: E501 432 433 # noqa: E501 434 435 :return: The currency_negative_format of this LocalePolicy. # noqa: E501 436 :rtype: str 437 """ 438 return self._currency_negative_format 439 440 @currency_negative_format.setter 441 def currency_negative_format(self, currency_negative_format): 442 """Sets the currency_negative_format of this LocalePolicy. 443 444 # noqa: E501 445 446 :param currency_negative_format: The currency_negative_format of this LocalePolicy. # noqa: E501 447 :type: str 448 """ 449 450 self._currency_negative_format = currency_negative_format 451 452 @property 453 def currency_negative_format_metadata(self): 454 """Gets the currency_negative_format_metadata of this LocalePolicy. # noqa: E501 455 456 # noqa: E501 457 458 :return: The currency_negative_format_metadata of this LocalePolicy. # noqa: E501 459 :rtype: SettingsMetadata 460 """ 461 return self._currency_negative_format_metadata 462 463 @currency_negative_format_metadata.setter 464 def currency_negative_format_metadata(self, currency_negative_format_metadata): 465 """Sets the currency_negative_format_metadata of this LocalePolicy. 466 467 # noqa: E501 468 469 :param currency_negative_format_metadata: The currency_negative_format_metadata of this LocalePolicy. # noqa: E501 470 :type: SettingsMetadata 471 """ 472 473 self._currency_negative_format_metadata = currency_negative_format_metadata 474 475 @property 476 def currency_positive_format(self): 477 """Gets the currency_positive_format of this LocalePolicy. # noqa: E501 478 479 # noqa: E501 480 481 :return: The currency_positive_format of this LocalePolicy. # noqa: E501 482 :rtype: str 483 """ 484 return self._currency_positive_format 485 486 @currency_positive_format.setter 487 def currency_positive_format(self, currency_positive_format): 488 """Sets the currency_positive_format of this LocalePolicy. 489 490 # noqa: E501 491 492 :param currency_positive_format: The currency_positive_format of this LocalePolicy. # noqa: E501 493 :type: str 494 """ 495 496 self._currency_positive_format = currency_positive_format 497 498 @property 499 def currency_positive_format_metadata(self): 500 """Gets the currency_positive_format_metadata of this LocalePolicy. # noqa: E501 501 502 # noqa: E501 503 504 :return: The currency_positive_format_metadata of this LocalePolicy. # noqa: E501 505 :rtype: SettingsMetadata 506 """ 507 return self._currency_positive_format_metadata 508 509 @currency_positive_format_metadata.setter 510 def currency_positive_format_metadata(self, currency_positive_format_metadata): 511 """Sets the currency_positive_format_metadata of this LocalePolicy. 512 513 # noqa: E501 514 515 :param currency_positive_format_metadata: The currency_positive_format_metadata of this LocalePolicy. # noqa: E501 516 :type: SettingsMetadata 517 """ 518 519 self._currency_positive_format_metadata = currency_positive_format_metadata 520 521 @property 522 def custom_date_format(self): 523 """Gets the custom_date_format of this LocalePolicy. # noqa: E501 524 525 # noqa: E501 526 527 :return: The custom_date_format of this LocalePolicy. # noqa: E501 528 :rtype: str 529 """ 530 return self._custom_date_format 531 532 @custom_date_format.setter 533 def custom_date_format(self, custom_date_format): 534 """Sets the custom_date_format of this LocalePolicy. 535 536 # noqa: E501 537 538 :param custom_date_format: The custom_date_format of this LocalePolicy. # noqa: E501 539 :type: str 540 """ 541 542 self._custom_date_format = custom_date_format 543 544 @property 545 def custom_sign_date_format(self): 546 """Gets the custom_sign_date_format of this LocalePolicy. # noqa: E501 547 548 # noqa: E501 549 550 :return: The custom_sign_date_format of this LocalePolicy. # noqa: E501 551 :rtype: str 552 """ 553 return self._custom_sign_date_format 554 555 @custom_sign_date_format.setter 556 def custom_sign_date_format(self, custom_sign_date_format): 557 """Sets the custom_sign_date_format of this LocalePolicy. 558 559 # noqa: E501 560 561 :param custom_sign_date_format: The custom_sign_date_format of this LocalePolicy. # noqa: E501 562 :type: str 563 """ 564 565 self._custom_sign_date_format = custom_sign_date_format 566 567 @property 568 def custom_sign_time_format(self): 569 """Gets the custom_sign_time_format of this LocalePolicy. # noqa: E501 570 571 # noqa: E501 572 573 :return: The custom_sign_time_format of this LocalePolicy. # noqa: E501 574 :rtype: str 575 """ 576 return self._custom_sign_time_format 577 578 @custom_sign_time_format.setter 579 def custom_sign_time_format(self, custom_sign_time_format): 580 """Sets the custom_sign_time_format of this LocalePolicy. 581 582 # noqa: E501 583 584 :param custom_sign_time_format: The custom_sign_time_format of this LocalePolicy. # noqa: E501 585 :type: str 586 """ 587 588 self._custom_sign_time_format = custom_sign_time_format 589 590 @property 591 def custom_time_format(self): 592 """Gets the custom_time_format of this LocalePolicy. # noqa: E501 593 594 # noqa: E501 595 596 :return: The custom_time_format of this LocalePolicy. # noqa: E501 597 :rtype: str 598 """ 599 return self._custom_time_format 600 601 @custom_time_format.setter 602 def custom_time_format(self, custom_time_format): 603 """Sets the custom_time_format of this LocalePolicy. 604 605 # noqa: E501 606 607 :param custom_time_format: The custom_time_format of this LocalePolicy. # noqa: E501 608 :type: str 609 """ 610 611 self._custom_time_format = custom_time_format 612 613 @property 614 def date_format(self): 615 """Gets the date_format of this LocalePolicy. # noqa: E501 616 617 # noqa: E501 618 619 :return: The date_format of this LocalePolicy. # noqa: E501 620 :rtype: str 621 """ 622 return self._date_format 623 624 @date_format.setter 625 def date_format(self, date_format): 626 """Sets the date_format of this LocalePolicy. 627 628 # noqa: E501 629 630 :param date_format: The date_format of this LocalePolicy. # noqa: E501 631 :type: str 632 """ 633 634 self._date_format = date_format 635 636 @property 637 def date_format_metadata(self): 638 """Gets the date_format_metadata of this LocalePolicy. # noqa: E501 639 640 # noqa: E501 641 642 :return: The date_format_metadata of this LocalePolicy. # noqa: E501 643 :rtype: SettingsMetadata 644 """ 645 return self._date_format_metadata 646 647 @date_format_metadata.setter 648 def date_format_metadata(self, date_format_metadata): 649 """Sets the date_format_metadata of this LocalePolicy. 650 651 # noqa: E501 652 653 :param date_format_metadata: The date_format_metadata of this LocalePolicy. # noqa: E501 654 :type: SettingsMetadata 655 """ 656 657 self._date_format_metadata = date_format_metadata 658 659 @property 660 def effective_address_format(self): 661 """Gets the effective_address_format of this LocalePolicy. # noqa: E501 662 663 # noqa: E501 664 665 :return: The effective_address_format of this LocalePolicy. # noqa: E501 666 :rtype: str 667 """ 668 return self._effective_address_format 669 670 @effective_address_format.setter 671 def effective_address_format(self, effective_address_format): 672 """Sets the effective_address_format of this LocalePolicy. 673 674 # noqa: E501 675 676 :param effective_address_format: The effective_address_format of this LocalePolicy. # noqa: E501 677 :type: str 678 """ 679 680 self._effective_address_format = effective_address_format 681 682 @property 683 def effective_calendar_type(self): 684 """Gets the effective_calendar_type of this LocalePolicy. # noqa: E501 685 686 # noqa: E501 687 688 :return: The effective_calendar_type of this LocalePolicy. # noqa: E501 689 :rtype: str 690 """ 691 return self._effective_calendar_type 692 693 @effective_calendar_type.setter 694 def effective_calendar_type(self, effective_calendar_type): 695 """Sets the effective_calendar_type of this LocalePolicy. 696 697 # noqa: E501 698 699 :param effective_calendar_type: The effective_calendar_type of this LocalePolicy. # noqa: E501 700 :type: str 701 """ 702 703 self._effective_calendar_type = effective_calendar_type 704 705 @property 706 def effective_currency_code(self): 707 """Gets the effective_currency_code of this LocalePolicy. # noqa: E501 708 709 # noqa: E501 710 711 :return: The effective_currency_code of this LocalePolicy. # noqa: E501 712 :rtype: str 713 """ 714 return self._effective_currency_code 715 716 @effective_currency_code.setter 717 def effective_currency_code(self, effective_currency_code): 718 """Sets the effective_currency_code of this LocalePolicy. 719 720 # noqa: E501 721 722 :param effective_currency_code: The effective_currency_code of this LocalePolicy. # noqa: E501 723 :type: str 724 """ 725 726 self._effective_currency_code = effective_currency_code 727 728 @property 729 def effective_currency_negative_format(self): 730 """Gets the effective_currency_negative_format of this LocalePolicy. # noqa: E501 731 732 # noqa: E501 733 734 :return: The effective_currency_negative_format of this LocalePolicy. # noqa: E501 735 :rtype: str 736 """ 737 return self._effective_currency_negative_format 738 739 @effective_currency_negative_format.setter 740 def effective_currency_negative_format(self, effective_currency_negative_format): 741 """Sets the effective_currency_negative_format of this LocalePolicy. 742 743 # noqa: E501 744 745 :param effective_currency_negative_format: The effective_currency_negative_format of this LocalePolicy. # noqa: E501 746 :type: str 747 """ 748 749 self._effective_currency_negative_format = effective_currency_negative_format 750 751 @property 752 def effective_currency_positive_format(self): 753 """Gets the effective_currency_positive_format of this LocalePolicy. # noqa: E501 754 755 # noqa: E501 756 757 :return: The effective_currency_positive_format of this LocalePolicy. # noqa: E501 758 :rtype: str 759 """ 760 return self._effective_currency_positive_format 761 762 @effective_currency_positive_format.setter 763 def effective_currency_positive_format(self, effective_currency_positive_format): 764 """Sets the effective_currency_positive_format of this LocalePolicy. 765 766 # noqa: E501 767 768 :param effective_currency_positive_format: The effective_currency_positive_format of this LocalePolicy. # noqa: E501 769 :type: str 770 """ 771 772 self._effective_currency_positive_format = effective_currency_positive_format 773 774 @property 775 def effective_custom_date_format(self): 776 """Gets the effective_custom_date_format of this LocalePolicy. # noqa: E501 777 778 # noqa: E501 779 780 :return: The effective_custom_date_format of this LocalePolicy. # noqa: E501 781 :rtype: str 782 """ 783 return self._effective_custom_date_format 784 785 @effective_custom_date_format.setter 786 def effective_custom_date_format(self, effective_custom_date_format): 787 """Sets the effective_custom_date_format of this LocalePolicy. 788 789 # noqa: E501 790 791 :param effective_custom_date_format: The effective_custom_date_format of this LocalePolicy. # noqa: E501 792 :type: str 793 """ 794 795 self._effective_custom_date_format = effective_custom_date_format 796 797 @property 798 def effective_custom_time_format(self): 799 """Gets the effective_custom_time_format of this LocalePolicy. # noqa: E501 800 801 # noqa: E501 802 803 :return: The effective_custom_time_format of this LocalePolicy. # noqa: E501 804 :rtype: str 805 """ 806 return self._effective_custom_time_format 807 808 @effective_custom_time_format.setter 809 def effective_custom_time_format(self, effective_custom_time_format): 810 """Sets the effective_custom_time_format of this LocalePolicy. 811 812 # noqa: E501 813 814 :param effective_custom_time_format: The effective_custom_time_format of this LocalePolicy. # noqa: E501 815 :type: str 816 """ 817 818 self._effective_custom_time_format = effective_custom_time_format 819 820 @property 821 def effective_date_format(self): 822 """Gets the effective_date_format of this LocalePolicy. # noqa: E501 823 824 # noqa: E501 825 826 :return: The effective_date_format of this LocalePolicy. # noqa: E501 827 :rtype: str 828 """ 829 return self._effective_date_format 830 831 @effective_date_format.setter 832 def effective_date_format(self, effective_date_format): 833 """Sets the effective_date_format of this LocalePolicy. 834 835 # noqa: E501 836 837 :param effective_date_format: The effective_date_format of this LocalePolicy. # noqa: E501 838 :type: str 839 """ 840 841 self._effective_date_format = effective_date_format 842 843 @property 844 def effective_initial_format(self): 845 """Gets the effective_initial_format of this LocalePolicy. # noqa: E501 846 847 # noqa: E501 848 849 :return: The effective_initial_format of this LocalePolicy. # noqa: E501 850 :rtype: str 851 """ 852 return self._effective_initial_format 853 854 @effective_initial_format.setter 855 def effective_initial_format(self, effective_initial_format): 856 """Sets the effective_initial_format of this LocalePolicy. 857 858 # noqa: E501 859 860 :param effective_initial_format: The effective_initial_format of this LocalePolicy. # noqa: E501 861 :type: str 862 """ 863 864 self._effective_initial_format = effective_initial_format 865 866 @property 867 def effective_name_format(self): 868 """Gets the effective_name_format of this LocalePolicy. # noqa: E501 869 870 # noqa: E501 871 872 :return: The effective_name_format of this LocalePolicy. # noqa: E501 873 :rtype: str 874 """ 875 return self._effective_name_format 876 877 @effective_name_format.setter 878 def effective_name_format(self, effective_name_format): 879 """Sets the effective_name_format of this LocalePolicy. 880 881 # noqa: E501 882 883 :param effective_name_format: The effective_name_format of this LocalePolicy. # noqa: E501 884 :type: str 885 """ 886 887 self._effective_name_format = effective_name_format 888 889 @property 890 def effective_time_format(self): 891 """Gets the effective_time_format of this LocalePolicy. # noqa: E501 892 893 # noqa: E501 894 895 :return: The effective_time_format of this LocalePolicy. # noqa: E501 896 :rtype: str 897 """ 898 return self._effective_time_format 899 900 @effective_time_format.setter 901 def effective_time_format(self, effective_time_format): 902 """Sets the effective_time_format of this LocalePolicy. 903 904 # noqa: E501 905 906 :param effective_time_format: The effective_time_format of this LocalePolicy. # noqa: E501 907 :type: str 908 """ 909 910 self._effective_time_format = effective_time_format 911 912 @property 913 def effective_time_zone(self): 914 """Gets the effective_time_zone of this LocalePolicy. # noqa: E501 915 916 # noqa: E501 917 918 :return: The effective_time_zone of this LocalePolicy. # noqa: E501 919 :rtype: str 920 """ 921 return self._effective_time_zone 922 923 @effective_time_zone.setter 924 def effective_time_zone(self, effective_time_zone): 925 """Sets the effective_time_zone of this LocalePolicy. 926 927 # noqa: E501 928 929 :param effective_time_zone: The effective_time_zone of this LocalePolicy. # noqa: E501 930 :type: str 931 """ 932 933 self._effective_time_zone = effective_time_zone 934 935 @property 936 def initial_format(self): 937 """Gets the initial_format of this LocalePolicy. # noqa: E501 938 939 # noqa: E501 940 941 :return: The initial_format of this LocalePolicy. # noqa: E501 942 :rtype: str 943 """ 944 return self._initial_format 945 946 @initial_format.setter 947 def initial_format(self, initial_format): 948 """Sets the initial_format of this LocalePolicy. 949 950 # noqa: E501 951 952 :param initial_format: The initial_format of this LocalePolicy. # noqa: E501 953 :type: str 954 """ 955 956 self._initial_format = initial_format 957 958 @property 959 def initial_format_metadata(self): 960 """Gets the initial_format_metadata of this LocalePolicy. # noqa: E501 961 962 # noqa: E501 963 964 :return: The initial_format_metadata of this LocalePolicy. # noqa: E501 965 :rtype: SettingsMetadata 966 """ 967 return self._initial_format_metadata 968 969 @initial_format_metadata.setter 970 def initial_format_metadata(self, initial_format_metadata): 971 """Sets the initial_format_metadata of this LocalePolicy. 972 973 # noqa: E501 974 975 :param initial_format_metadata: The initial_format_metadata of this LocalePolicy. # noqa: E501 976 :type: SettingsMetadata 977 """ 978 979 self._initial_format_metadata = initial_format_metadata 980 981 @property 982 def name_format(self): 983 """Gets the name_format of this LocalePolicy. # noqa: E501 984 985 # noqa: E501 986 987 :return: The name_format of this LocalePolicy. # noqa: E501 988 :rtype: str 989 """ 990 return self._name_format 991 992 @name_format.setter 993 def name_format(self, name_format): 994 """Sets the name_format of this LocalePolicy. 995 996 # noqa: E501 997 998 :param name_format: The name_format of this LocalePolicy. # noqa: E501 999 :type: str 1000 """ 1001 1002 self._name_format = name_format 1003 1004 @property 1005 def name_format_metadata(self): 1006 """Gets the name_format_metadata of this LocalePolicy. # noqa: E501 1007 1008 # noqa: E501 1009 1010 :return: The name_format_metadata of this LocalePolicy. # noqa: E501 1011 :rtype: SettingsMetadata 1012 """ 1013 return self._name_format_metadata 1014 1015 @name_format_metadata.setter 1016 def name_format_metadata(self, name_format_metadata): 1017 """Sets the name_format_metadata of this LocalePolicy. 1018 1019 # noqa: E501 1020 1021 :param name_format_metadata: The name_format_metadata of this LocalePolicy. # noqa: E501 1022 :type: SettingsMetadata 1023 """ 1024 1025 self._name_format_metadata = name_format_metadata 1026 1027 @property 1028 def sign_date_format(self): 1029 """Gets the sign_date_format of this LocalePolicy. # noqa: E501 1030 1031 # noqa: E501 1032 1033 :return: The sign_date_format of this LocalePolicy. # noqa: E501 1034 :rtype: str 1035 """ 1036 return self._sign_date_format 1037 1038 @sign_date_format.setter 1039 def sign_date_format(self, sign_date_format): 1040 """Sets the sign_date_format of this LocalePolicy. 1041 1042 # noqa: E501 1043 1044 :param sign_date_format: The sign_date_format of this LocalePolicy. # noqa: E501 1045 :type: str 1046 """ 1047 1048 self._sign_date_format = sign_date_format 1049 1050 @property 1051 def sign_date_format_metadata(self): 1052 """Gets the sign_date_format_metadata of this LocalePolicy. # noqa: E501 1053 1054 Metadata that indicates whether the `signDateFormat` property is editable. # noqa: E501 1055 1056 :return: The sign_date_format_metadata of this LocalePolicy. # noqa: E501 1057 :rtype: SettingsMetadata 1058 """ 1059 return self._sign_date_format_metadata 1060 1061 @sign_date_format_metadata.setter 1062 def sign_date_format_metadata(self, sign_date_format_metadata): 1063 """Sets the sign_date_format_metadata of this LocalePolicy. 1064 1065 Metadata that indicates whether the `signDateFormat` property is editable. # noqa: E501 1066 1067 :param sign_date_format_metadata: The sign_date_format_metadata of this LocalePolicy. # noqa: E501 1068 :type: SettingsMetadata 1069 """ 1070 1071 self._sign_date_format_metadata = sign_date_format_metadata 1072 1073 @property 1074 def sign_time_format(self): 1075 """Gets the sign_time_format of this LocalePolicy. # noqa: E501 1076 1077 # noqa: E501 1078 1079 :return: The sign_time_format of this LocalePolicy. # noqa: E501 1080 :rtype: str 1081 """ 1082 return self._sign_time_format 1083 1084 @sign_time_format.setter 1085 def sign_time_format(self, sign_time_format): 1086 """Sets the sign_time_format of this LocalePolicy. 1087 1088 # noqa: E501 1089 1090 :param sign_time_format: The sign_time_format of this LocalePolicy. # noqa: E501 1091 :type: str 1092 """ 1093 1094 self._sign_time_format = sign_time_format 1095 1096 @property 1097 def sign_time_format_metadata(self): 1098 """Gets the sign_time_format_metadata of this LocalePolicy. # noqa: E501 1099 1100 Metadata that indicates whether the `signTimeFormat` property is editable. # noqa: E501 1101 1102 :return: The sign_time_format_metadata of this LocalePolicy. # noqa: E501 1103 :rtype: SettingsMetadata 1104 """ 1105 return self._sign_time_format_metadata 1106 1107 @sign_time_format_metadata.setter 1108 def sign_time_format_metadata(self, sign_time_format_metadata): 1109 """Sets the sign_time_format_metadata of this LocalePolicy. 1110 1111 Metadata that indicates whether the `signTimeFormat` property is editable. # noqa: E501 1112 1113 :param sign_time_format_metadata: The sign_time_format_metadata of this LocalePolicy. # noqa: E501 1114 :type: SettingsMetadata 1115 """ 1116 1117 self._sign_time_format_metadata = sign_time_format_metadata 1118 1119 @property 1120 def time_format(self): 1121 """Gets the time_format of this LocalePolicy. # noqa: E501 1122 1123 # noqa: E501 1124 1125 :return: The time_format of this LocalePolicy. # noqa: E501 1126 :rtype: str 1127 """ 1128 return self._time_format 1129 1130 @time_format.setter 1131 def time_format(self, time_format): 1132 """Sets the time_format of this LocalePolicy. 1133 1134 # noqa: E501 1135 1136 :param time_format: The time_format of this LocalePolicy. # noqa: E501 1137 :type: str 1138 """ 1139 1140 self._time_format = time_format 1141 1142 @property 1143 def time_format_metadata(self): 1144 """Gets the time_format_metadata of this LocalePolicy. # noqa: E501 1145 1146 # noqa: E501 1147 1148 :return: The time_format_metadata of this LocalePolicy. # noqa: E501 1149 :rtype: SettingsMetadata 1150 """ 1151 return self._time_format_metadata 1152 1153 @time_format_metadata.setter 1154 def time_format_metadata(self, time_format_metadata): 1155 """Sets the time_format_metadata of this LocalePolicy. 1156 1157 # noqa: E501 1158 1159 :param time_format_metadata: The time_format_metadata of this LocalePolicy. # noqa: E501 1160 :type: SettingsMetadata 1161 """ 1162 1163 self._time_format_metadata = time_format_metadata 1164 1165 @property 1166 def time_zone(self): 1167 """Gets the time_zone of this LocalePolicy. # noqa: E501 1168 1169 # noqa: E501 1170 1171 :return: The time_zone of this LocalePolicy. # noqa: E501 1172 :rtype: str 1173 """ 1174 return self._time_zone 1175 1176 @time_zone.setter 1177 def time_zone(self, time_zone): 1178 """Sets the time_zone of this LocalePolicy. 1179 1180 # noqa: E501 1181 1182 :param time_zone: The time_zone of this LocalePolicy. # noqa: E501 1183 :type: str 1184 """ 1185 1186 self._time_zone = time_zone 1187 1188 @property 1189 def time_zone_metadata(self): 1190 """Gets the time_zone_metadata of this LocalePolicy. # noqa: E501 1191 1192 # noqa: E501 1193 1194 :return: The time_zone_metadata of this LocalePolicy. # noqa: E501 1195 :rtype: SettingsMetadata 1196 """ 1197 return self._time_zone_metadata 1198 1199 @time_zone_metadata.setter 1200 def time_zone_metadata(self, time_zone_metadata): 1201 """Sets the time_zone_metadata of this LocalePolicy. 1202 1203 # noqa: E501 1204 1205 :param time_zone_metadata: The time_zone_metadata of this LocalePolicy. # noqa: E501 1206 :type: SettingsMetadata 1207 """ 1208 1209 self._time_zone_metadata = time_zone_metadata 1210 1211 def to_dict(self): 1212 """Returns the model properties as a dict""" 1213 result = {} 1214 1215 for attr, _ in six.iteritems(self.swagger_types): 1216 value = getattr(self, attr) 1217 if isinstance(value, list): 1218 result[attr] = list(map( 1219 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 1220 value 1221 )) 1222 elif hasattr(value, "to_dict"): 1223 result[attr] = value.to_dict() 1224 elif isinstance(value, dict): 1225 result[attr] = dict(map( 1226 lambda item: (item[0], item[1].to_dict()) 1227 if hasattr(item[1], "to_dict") else item, 1228 value.items() 1229 )) 1230 else: 1231 result[attr] = value 1232 if issubclass(LocalePolicy, dict): 1233 for key, value in self.items(): 1234 result[key] = value 1235 1236 return result 1237 1238 def to_str(self): 1239 """Returns the string representation of the model""" 1240 return pprint.pformat(self.to_dict()) 1241 1242 def __repr__(self): 1243 """For `print` and `pprint`""" 1244 return self.to_str() 1245 1246 def __eq__(self, other): 1247 """Returns true if both objects are equal""" 1248 if not isinstance(other, LocalePolicy): 1249 return False 1250 1251 return self.to_dict() == other.to_dict() 1252 1253 def __ne__(self, other): 1254 """Returns true if both objects are not equal""" 1255 if not isinstance(other, LocalePolicy): 1256 return True 1257 1258 return self.to_dict() != other.to_dict()
23class LocalePolicy(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 'address_format': 'str', 38 'address_format_metadata': 'SettingsMetadata', 39 'allow_region': 'str', 40 'calendar_type': 'str', 41 'calendar_type_metadata': 'SettingsMetadata', 42 'culture_name': 'str', 43 'culture_name_metadata': 'SettingsMetadata', 44 'currency_code': 'str', 45 'currency_code_metadata': 'SettingsMetadata', 46 'currency_negative_format': 'str', 47 'currency_negative_format_metadata': 'SettingsMetadata', 48 'currency_positive_format': 'str', 49 'currency_positive_format_metadata': 'SettingsMetadata', 50 'custom_date_format': 'str', 51 'custom_sign_date_format': 'str', 52 'custom_sign_time_format': 'str', 53 'custom_time_format': 'str', 54 'date_format': 'str', 55 'date_format_metadata': 'SettingsMetadata', 56 'effective_address_format': 'str', 57 'effective_calendar_type': 'str', 58 'effective_currency_code': 'str', 59 'effective_currency_negative_format': 'str', 60 'effective_currency_positive_format': 'str', 61 'effective_custom_date_format': 'str', 62 'effective_custom_time_format': 'str', 63 'effective_date_format': 'str', 64 'effective_initial_format': 'str', 65 'effective_name_format': 'str', 66 'effective_time_format': 'str', 67 'effective_time_zone': 'str', 68 'initial_format': 'str', 69 'initial_format_metadata': 'SettingsMetadata', 70 'name_format': 'str', 71 'name_format_metadata': 'SettingsMetadata', 72 'sign_date_format': 'str', 73 'sign_date_format_metadata': 'SettingsMetadata', 74 'sign_time_format': 'str', 75 'sign_time_format_metadata': 'SettingsMetadata', 76 'time_format': 'str', 77 'time_format_metadata': 'SettingsMetadata', 78 'time_zone': 'str', 79 'time_zone_metadata': 'SettingsMetadata' 80 } 81 82 attribute_map = { 83 'address_format': 'addressFormat', 84 'address_format_metadata': 'addressFormatMetadata', 85 'allow_region': 'allowRegion', 86 'calendar_type': 'calendarType', 87 'calendar_type_metadata': 'calendarTypeMetadata', 88 'culture_name': 'cultureName', 89 'culture_name_metadata': 'cultureNameMetadata', 90 'currency_code': 'currencyCode', 91 'currency_code_metadata': 'currencyCodeMetadata', 92 'currency_negative_format': 'currencyNegativeFormat', 93 'currency_negative_format_metadata': 'currencyNegativeFormatMetadata', 94 'currency_positive_format': 'currencyPositiveFormat', 95 'currency_positive_format_metadata': 'currencyPositiveFormatMetadata', 96 'custom_date_format': 'customDateFormat', 97 'custom_sign_date_format': 'customSignDateFormat', 98 'custom_sign_time_format': 'customSignTimeFormat', 99 'custom_time_format': 'customTimeFormat', 100 'date_format': 'dateFormat', 101 'date_format_metadata': 'dateFormatMetadata', 102 'effective_address_format': 'effectiveAddressFormat', 103 'effective_calendar_type': 'effectiveCalendarType', 104 'effective_currency_code': 'effectiveCurrencyCode', 105 'effective_currency_negative_format': 'effectiveCurrencyNegativeFormat', 106 'effective_currency_positive_format': 'effectiveCurrencyPositiveFormat', 107 'effective_custom_date_format': 'effectiveCustomDateFormat', 108 'effective_custom_time_format': 'effectiveCustomTimeFormat', 109 'effective_date_format': 'effectiveDateFormat', 110 'effective_initial_format': 'effectiveInitialFormat', 111 'effective_name_format': 'effectiveNameFormat', 112 'effective_time_format': 'effectiveTimeFormat', 113 'effective_time_zone': 'effectiveTimeZone', 114 'initial_format': 'initialFormat', 115 'initial_format_metadata': 'initialFormatMetadata', 116 'name_format': 'nameFormat', 117 'name_format_metadata': 'nameFormatMetadata', 118 'sign_date_format': 'signDateFormat', 119 'sign_date_format_metadata': 'signDateFormatMetadata', 120 'sign_time_format': 'signTimeFormat', 121 'sign_time_format_metadata': 'signTimeFormatMetadata', 122 'time_format': 'timeFormat', 123 'time_format_metadata': 'timeFormatMetadata', 124 'time_zone': 'timeZone', 125 'time_zone_metadata': 'timeZoneMetadata' 126 } 127 128 def __init__(self, _configuration=None, **kwargs): # noqa: E501 129 """LocalePolicy - a model defined in Swagger""" # noqa: E501 130 if _configuration is None: 131 _configuration = Configuration() 132 self._configuration = _configuration 133 134 self._address_format = None 135 self._address_format_metadata = None 136 self._allow_region = None 137 self._calendar_type = None 138 self._calendar_type_metadata = None 139 self._culture_name = None 140 self._culture_name_metadata = None 141 self._currency_code = None 142 self._currency_code_metadata = None 143 self._currency_negative_format = None 144 self._currency_negative_format_metadata = None 145 self._currency_positive_format = None 146 self._currency_positive_format_metadata = None 147 self._custom_date_format = None 148 self._custom_sign_date_format = None 149 self._custom_sign_time_format = None 150 self._custom_time_format = None 151 self._date_format = None 152 self._date_format_metadata = None 153 self._effective_address_format = None 154 self._effective_calendar_type = None 155 self._effective_currency_code = None 156 self._effective_currency_negative_format = None 157 self._effective_currency_positive_format = None 158 self._effective_custom_date_format = None 159 self._effective_custom_time_format = None 160 self._effective_date_format = None 161 self._effective_initial_format = None 162 self._effective_name_format = None 163 self._effective_time_format = None 164 self._effective_time_zone = None 165 self._initial_format = None 166 self._initial_format_metadata = None 167 self._name_format = None 168 self._name_format_metadata = None 169 self._sign_date_format = None 170 self._sign_date_format_metadata = None 171 self._sign_time_format = None 172 self._sign_time_format_metadata = None 173 self._time_format = None 174 self._time_format_metadata = None 175 self._time_zone = None 176 self._time_zone_metadata = None 177 self.discriminator = None 178 179 setattr(self, "_{}".format('address_format'), kwargs.get('address_format', None)) 180 setattr(self, "_{}".format('address_format_metadata'), kwargs.get('address_format_metadata', None)) 181 setattr(self, "_{}".format('allow_region'), kwargs.get('allow_region', None)) 182 setattr(self, "_{}".format('calendar_type'), kwargs.get('calendar_type', None)) 183 setattr(self, "_{}".format('calendar_type_metadata'), kwargs.get('calendar_type_metadata', None)) 184 setattr(self, "_{}".format('culture_name'), kwargs.get('culture_name', None)) 185 setattr(self, "_{}".format('culture_name_metadata'), kwargs.get('culture_name_metadata', None)) 186 setattr(self, "_{}".format('currency_code'), kwargs.get('currency_code', None)) 187 setattr(self, "_{}".format('currency_code_metadata'), kwargs.get('currency_code_metadata', None)) 188 setattr(self, "_{}".format('currency_negative_format'), kwargs.get('currency_negative_format', None)) 189 setattr(self, "_{}".format('currency_negative_format_metadata'), kwargs.get('currency_negative_format_metadata', None)) 190 setattr(self, "_{}".format('currency_positive_format'), kwargs.get('currency_positive_format', None)) 191 setattr(self, "_{}".format('currency_positive_format_metadata'), kwargs.get('currency_positive_format_metadata', None)) 192 setattr(self, "_{}".format('custom_date_format'), kwargs.get('custom_date_format', None)) 193 setattr(self, "_{}".format('custom_sign_date_format'), kwargs.get('custom_sign_date_format', None)) 194 setattr(self, "_{}".format('custom_sign_time_format'), kwargs.get('custom_sign_time_format', None)) 195 setattr(self, "_{}".format('custom_time_format'), kwargs.get('custom_time_format', None)) 196 setattr(self, "_{}".format('date_format'), kwargs.get('date_format', None)) 197 setattr(self, "_{}".format('date_format_metadata'), kwargs.get('date_format_metadata', None)) 198 setattr(self, "_{}".format('effective_address_format'), kwargs.get('effective_address_format', None)) 199 setattr(self, "_{}".format('effective_calendar_type'), kwargs.get('effective_calendar_type', None)) 200 setattr(self, "_{}".format('effective_currency_code'), kwargs.get('effective_currency_code', None)) 201 setattr(self, "_{}".format('effective_currency_negative_format'), kwargs.get('effective_currency_negative_format', None)) 202 setattr(self, "_{}".format('effective_currency_positive_format'), kwargs.get('effective_currency_positive_format', None)) 203 setattr(self, "_{}".format('effective_custom_date_format'), kwargs.get('effective_custom_date_format', None)) 204 setattr(self, "_{}".format('effective_custom_time_format'), kwargs.get('effective_custom_time_format', None)) 205 setattr(self, "_{}".format('effective_date_format'), kwargs.get('effective_date_format', None)) 206 setattr(self, "_{}".format('effective_initial_format'), kwargs.get('effective_initial_format', None)) 207 setattr(self, "_{}".format('effective_name_format'), kwargs.get('effective_name_format', None)) 208 setattr(self, "_{}".format('effective_time_format'), kwargs.get('effective_time_format', None)) 209 setattr(self, "_{}".format('effective_time_zone'), kwargs.get('effective_time_zone', None)) 210 setattr(self, "_{}".format('initial_format'), kwargs.get('initial_format', None)) 211 setattr(self, "_{}".format('initial_format_metadata'), kwargs.get('initial_format_metadata', None)) 212 setattr(self, "_{}".format('name_format'), kwargs.get('name_format', None)) 213 setattr(self, "_{}".format('name_format_metadata'), kwargs.get('name_format_metadata', None)) 214 setattr(self, "_{}".format('sign_date_format'), kwargs.get('sign_date_format', None)) 215 setattr(self, "_{}".format('sign_date_format_metadata'), kwargs.get('sign_date_format_metadata', None)) 216 setattr(self, "_{}".format('sign_time_format'), kwargs.get('sign_time_format', None)) 217 setattr(self, "_{}".format('sign_time_format_metadata'), kwargs.get('sign_time_format_metadata', None)) 218 setattr(self, "_{}".format('time_format'), kwargs.get('time_format', None)) 219 setattr(self, "_{}".format('time_format_metadata'), kwargs.get('time_format_metadata', None)) 220 setattr(self, "_{}".format('time_zone'), kwargs.get('time_zone', None)) 221 setattr(self, "_{}".format('time_zone_metadata'), kwargs.get('time_zone_metadata', None)) 222 223 @property 224 def address_format(self): 225 """Gets the address_format of this LocalePolicy. # noqa: E501 226 227 # noqa: E501 228 229 :return: The address_format of this LocalePolicy. # noqa: E501 230 :rtype: str 231 """ 232 return self._address_format 233 234 @address_format.setter 235 def address_format(self, address_format): 236 """Sets the address_format of this LocalePolicy. 237 238 # noqa: E501 239 240 :param address_format: The address_format of this LocalePolicy. # noqa: E501 241 :type: str 242 """ 243 244 self._address_format = address_format 245 246 @property 247 def address_format_metadata(self): 248 """Gets the address_format_metadata of this LocalePolicy. # noqa: E501 249 250 # noqa: E501 251 252 :return: The address_format_metadata of this LocalePolicy. # noqa: E501 253 :rtype: SettingsMetadata 254 """ 255 return self._address_format_metadata 256 257 @address_format_metadata.setter 258 def address_format_metadata(self, address_format_metadata): 259 """Sets the address_format_metadata of this LocalePolicy. 260 261 # noqa: E501 262 263 :param address_format_metadata: The address_format_metadata of this LocalePolicy. # noqa: E501 264 :type: SettingsMetadata 265 """ 266 267 self._address_format_metadata = address_format_metadata 268 269 @property 270 def allow_region(self): 271 """Gets the allow_region of this LocalePolicy. # noqa: E501 272 273 # noqa: E501 274 275 :return: The allow_region of this LocalePolicy. # noqa: E501 276 :rtype: str 277 """ 278 return self._allow_region 279 280 @allow_region.setter 281 def allow_region(self, allow_region): 282 """Sets the allow_region of this LocalePolicy. 283 284 # noqa: E501 285 286 :param allow_region: The allow_region of this LocalePolicy. # noqa: E501 287 :type: str 288 """ 289 290 self._allow_region = allow_region 291 292 @property 293 def calendar_type(self): 294 """Gets the calendar_type of this LocalePolicy. # noqa: E501 295 296 # noqa: E501 297 298 :return: The calendar_type of this LocalePolicy. # noqa: E501 299 :rtype: str 300 """ 301 return self._calendar_type 302 303 @calendar_type.setter 304 def calendar_type(self, calendar_type): 305 """Sets the calendar_type of this LocalePolicy. 306 307 # noqa: E501 308 309 :param calendar_type: The calendar_type of this LocalePolicy. # noqa: E501 310 :type: str 311 """ 312 313 self._calendar_type = calendar_type 314 315 @property 316 def calendar_type_metadata(self): 317 """Gets the calendar_type_metadata of this LocalePolicy. # noqa: E501 318 319 # noqa: E501 320 321 :return: The calendar_type_metadata of this LocalePolicy. # noqa: E501 322 :rtype: SettingsMetadata 323 """ 324 return self._calendar_type_metadata 325 326 @calendar_type_metadata.setter 327 def calendar_type_metadata(self, calendar_type_metadata): 328 """Sets the calendar_type_metadata of this LocalePolicy. 329 330 # noqa: E501 331 332 :param calendar_type_metadata: The calendar_type_metadata of this LocalePolicy. # noqa: E501 333 :type: SettingsMetadata 334 """ 335 336 self._calendar_type_metadata = calendar_type_metadata 337 338 @property 339 def culture_name(self): 340 """Gets the culture_name of this LocalePolicy. # noqa: E501 341 342 # noqa: E501 343 344 :return: The culture_name of this LocalePolicy. # noqa: E501 345 :rtype: str 346 """ 347 return self._culture_name 348 349 @culture_name.setter 350 def culture_name(self, culture_name): 351 """Sets the culture_name of this LocalePolicy. 352 353 # noqa: E501 354 355 :param culture_name: The culture_name of this LocalePolicy. # noqa: E501 356 :type: str 357 """ 358 359 self._culture_name = culture_name 360 361 @property 362 def culture_name_metadata(self): 363 """Gets the culture_name_metadata of this LocalePolicy. # noqa: E501 364 365 # noqa: E501 366 367 :return: The culture_name_metadata of this LocalePolicy. # noqa: E501 368 :rtype: SettingsMetadata 369 """ 370 return self._culture_name_metadata 371 372 @culture_name_metadata.setter 373 def culture_name_metadata(self, culture_name_metadata): 374 """Sets the culture_name_metadata of this LocalePolicy. 375 376 # noqa: E501 377 378 :param culture_name_metadata: The culture_name_metadata of this LocalePolicy. # noqa: E501 379 :type: SettingsMetadata 380 """ 381 382 self._culture_name_metadata = culture_name_metadata 383 384 @property 385 def currency_code(self): 386 """Gets the currency_code of this LocalePolicy. # noqa: E501 387 388 # noqa: E501 389 390 :return: The currency_code of this LocalePolicy. # noqa: E501 391 :rtype: str 392 """ 393 return self._currency_code 394 395 @currency_code.setter 396 def currency_code(self, currency_code): 397 """Sets the currency_code of this LocalePolicy. 398 399 # noqa: E501 400 401 :param currency_code: The currency_code of this LocalePolicy. # noqa: E501 402 :type: str 403 """ 404 405 self._currency_code = currency_code 406 407 @property 408 def currency_code_metadata(self): 409 """Gets the currency_code_metadata of this LocalePolicy. # noqa: E501 410 411 Metadata that indicates whether the `currencyCode` property is editable. # noqa: E501 412 413 :return: The currency_code_metadata of this LocalePolicy. # noqa: E501 414 :rtype: SettingsMetadata 415 """ 416 return self._currency_code_metadata 417 418 @currency_code_metadata.setter 419 def currency_code_metadata(self, currency_code_metadata): 420 """Sets the currency_code_metadata of this LocalePolicy. 421 422 Metadata that indicates whether the `currencyCode` property is editable. # noqa: E501 423 424 :param currency_code_metadata: The currency_code_metadata of this LocalePolicy. # noqa: E501 425 :type: SettingsMetadata 426 """ 427 428 self._currency_code_metadata = currency_code_metadata 429 430 @property 431 def currency_negative_format(self): 432 """Gets the currency_negative_format of this LocalePolicy. # noqa: E501 433 434 # noqa: E501 435 436 :return: The currency_negative_format of this LocalePolicy. # noqa: E501 437 :rtype: str 438 """ 439 return self._currency_negative_format 440 441 @currency_negative_format.setter 442 def currency_negative_format(self, currency_negative_format): 443 """Sets the currency_negative_format of this LocalePolicy. 444 445 # noqa: E501 446 447 :param currency_negative_format: The currency_negative_format of this LocalePolicy. # noqa: E501 448 :type: str 449 """ 450 451 self._currency_negative_format = currency_negative_format 452 453 @property 454 def currency_negative_format_metadata(self): 455 """Gets the currency_negative_format_metadata of this LocalePolicy. # noqa: E501 456 457 # noqa: E501 458 459 :return: The currency_negative_format_metadata of this LocalePolicy. # noqa: E501 460 :rtype: SettingsMetadata 461 """ 462 return self._currency_negative_format_metadata 463 464 @currency_negative_format_metadata.setter 465 def currency_negative_format_metadata(self, currency_negative_format_metadata): 466 """Sets the currency_negative_format_metadata of this LocalePolicy. 467 468 # noqa: E501 469 470 :param currency_negative_format_metadata: The currency_negative_format_metadata of this LocalePolicy. # noqa: E501 471 :type: SettingsMetadata 472 """ 473 474 self._currency_negative_format_metadata = currency_negative_format_metadata 475 476 @property 477 def currency_positive_format(self): 478 """Gets the currency_positive_format of this LocalePolicy. # noqa: E501 479 480 # noqa: E501 481 482 :return: The currency_positive_format of this LocalePolicy. # noqa: E501 483 :rtype: str 484 """ 485 return self._currency_positive_format 486 487 @currency_positive_format.setter 488 def currency_positive_format(self, currency_positive_format): 489 """Sets the currency_positive_format of this LocalePolicy. 490 491 # noqa: E501 492 493 :param currency_positive_format: The currency_positive_format of this LocalePolicy. # noqa: E501 494 :type: str 495 """ 496 497 self._currency_positive_format = currency_positive_format 498 499 @property 500 def currency_positive_format_metadata(self): 501 """Gets the currency_positive_format_metadata of this LocalePolicy. # noqa: E501 502 503 # noqa: E501 504 505 :return: The currency_positive_format_metadata of this LocalePolicy. # noqa: E501 506 :rtype: SettingsMetadata 507 """ 508 return self._currency_positive_format_metadata 509 510 @currency_positive_format_metadata.setter 511 def currency_positive_format_metadata(self, currency_positive_format_metadata): 512 """Sets the currency_positive_format_metadata of this LocalePolicy. 513 514 # noqa: E501 515 516 :param currency_positive_format_metadata: The currency_positive_format_metadata of this LocalePolicy. # noqa: E501 517 :type: SettingsMetadata 518 """ 519 520 self._currency_positive_format_metadata = currency_positive_format_metadata 521 522 @property 523 def custom_date_format(self): 524 """Gets the custom_date_format of this LocalePolicy. # noqa: E501 525 526 # noqa: E501 527 528 :return: The custom_date_format of this LocalePolicy. # noqa: E501 529 :rtype: str 530 """ 531 return self._custom_date_format 532 533 @custom_date_format.setter 534 def custom_date_format(self, custom_date_format): 535 """Sets the custom_date_format of this LocalePolicy. 536 537 # noqa: E501 538 539 :param custom_date_format: The custom_date_format of this LocalePolicy. # noqa: E501 540 :type: str 541 """ 542 543 self._custom_date_format = custom_date_format 544 545 @property 546 def custom_sign_date_format(self): 547 """Gets the custom_sign_date_format of this LocalePolicy. # noqa: E501 548 549 # noqa: E501 550 551 :return: The custom_sign_date_format of this LocalePolicy. # noqa: E501 552 :rtype: str 553 """ 554 return self._custom_sign_date_format 555 556 @custom_sign_date_format.setter 557 def custom_sign_date_format(self, custom_sign_date_format): 558 """Sets the custom_sign_date_format of this LocalePolicy. 559 560 # noqa: E501 561 562 :param custom_sign_date_format: The custom_sign_date_format of this LocalePolicy. # noqa: E501 563 :type: str 564 """ 565 566 self._custom_sign_date_format = custom_sign_date_format 567 568 @property 569 def custom_sign_time_format(self): 570 """Gets the custom_sign_time_format of this LocalePolicy. # noqa: E501 571 572 # noqa: E501 573 574 :return: The custom_sign_time_format of this LocalePolicy. # noqa: E501 575 :rtype: str 576 """ 577 return self._custom_sign_time_format 578 579 @custom_sign_time_format.setter 580 def custom_sign_time_format(self, custom_sign_time_format): 581 """Sets the custom_sign_time_format of this LocalePolicy. 582 583 # noqa: E501 584 585 :param custom_sign_time_format: The custom_sign_time_format of this LocalePolicy. # noqa: E501 586 :type: str 587 """ 588 589 self._custom_sign_time_format = custom_sign_time_format 590 591 @property 592 def custom_time_format(self): 593 """Gets the custom_time_format of this LocalePolicy. # noqa: E501 594 595 # noqa: E501 596 597 :return: The custom_time_format of this LocalePolicy. # noqa: E501 598 :rtype: str 599 """ 600 return self._custom_time_format 601 602 @custom_time_format.setter 603 def custom_time_format(self, custom_time_format): 604 """Sets the custom_time_format of this LocalePolicy. 605 606 # noqa: E501 607 608 :param custom_time_format: The custom_time_format of this LocalePolicy. # noqa: E501 609 :type: str 610 """ 611 612 self._custom_time_format = custom_time_format 613 614 @property 615 def date_format(self): 616 """Gets the date_format of this LocalePolicy. # noqa: E501 617 618 # noqa: E501 619 620 :return: The date_format of this LocalePolicy. # noqa: E501 621 :rtype: str 622 """ 623 return self._date_format 624 625 @date_format.setter 626 def date_format(self, date_format): 627 """Sets the date_format of this LocalePolicy. 628 629 # noqa: E501 630 631 :param date_format: The date_format of this LocalePolicy. # noqa: E501 632 :type: str 633 """ 634 635 self._date_format = date_format 636 637 @property 638 def date_format_metadata(self): 639 """Gets the date_format_metadata of this LocalePolicy. # noqa: E501 640 641 # noqa: E501 642 643 :return: The date_format_metadata of this LocalePolicy. # noqa: E501 644 :rtype: SettingsMetadata 645 """ 646 return self._date_format_metadata 647 648 @date_format_metadata.setter 649 def date_format_metadata(self, date_format_metadata): 650 """Sets the date_format_metadata of this LocalePolicy. 651 652 # noqa: E501 653 654 :param date_format_metadata: The date_format_metadata of this LocalePolicy. # noqa: E501 655 :type: SettingsMetadata 656 """ 657 658 self._date_format_metadata = date_format_metadata 659 660 @property 661 def effective_address_format(self): 662 """Gets the effective_address_format of this LocalePolicy. # noqa: E501 663 664 # noqa: E501 665 666 :return: The effective_address_format of this LocalePolicy. # noqa: E501 667 :rtype: str 668 """ 669 return self._effective_address_format 670 671 @effective_address_format.setter 672 def effective_address_format(self, effective_address_format): 673 """Sets the effective_address_format of this LocalePolicy. 674 675 # noqa: E501 676 677 :param effective_address_format: The effective_address_format of this LocalePolicy. # noqa: E501 678 :type: str 679 """ 680 681 self._effective_address_format = effective_address_format 682 683 @property 684 def effective_calendar_type(self): 685 """Gets the effective_calendar_type of this LocalePolicy. # noqa: E501 686 687 # noqa: E501 688 689 :return: The effective_calendar_type of this LocalePolicy. # noqa: E501 690 :rtype: str 691 """ 692 return self._effective_calendar_type 693 694 @effective_calendar_type.setter 695 def effective_calendar_type(self, effective_calendar_type): 696 """Sets the effective_calendar_type of this LocalePolicy. 697 698 # noqa: E501 699 700 :param effective_calendar_type: The effective_calendar_type of this LocalePolicy. # noqa: E501 701 :type: str 702 """ 703 704 self._effective_calendar_type = effective_calendar_type 705 706 @property 707 def effective_currency_code(self): 708 """Gets the effective_currency_code of this LocalePolicy. # noqa: E501 709 710 # noqa: E501 711 712 :return: The effective_currency_code of this LocalePolicy. # noqa: E501 713 :rtype: str 714 """ 715 return self._effective_currency_code 716 717 @effective_currency_code.setter 718 def effective_currency_code(self, effective_currency_code): 719 """Sets the effective_currency_code of this LocalePolicy. 720 721 # noqa: E501 722 723 :param effective_currency_code: The effective_currency_code of this LocalePolicy. # noqa: E501 724 :type: str 725 """ 726 727 self._effective_currency_code = effective_currency_code 728 729 @property 730 def effective_currency_negative_format(self): 731 """Gets the effective_currency_negative_format of this LocalePolicy. # noqa: E501 732 733 # noqa: E501 734 735 :return: The effective_currency_negative_format of this LocalePolicy. # noqa: E501 736 :rtype: str 737 """ 738 return self._effective_currency_negative_format 739 740 @effective_currency_negative_format.setter 741 def effective_currency_negative_format(self, effective_currency_negative_format): 742 """Sets the effective_currency_negative_format of this LocalePolicy. 743 744 # noqa: E501 745 746 :param effective_currency_negative_format: The effective_currency_negative_format of this LocalePolicy. # noqa: E501 747 :type: str 748 """ 749 750 self._effective_currency_negative_format = effective_currency_negative_format 751 752 @property 753 def effective_currency_positive_format(self): 754 """Gets the effective_currency_positive_format of this LocalePolicy. # noqa: E501 755 756 # noqa: E501 757 758 :return: The effective_currency_positive_format of this LocalePolicy. # noqa: E501 759 :rtype: str 760 """ 761 return self._effective_currency_positive_format 762 763 @effective_currency_positive_format.setter 764 def effective_currency_positive_format(self, effective_currency_positive_format): 765 """Sets the effective_currency_positive_format of this LocalePolicy. 766 767 # noqa: E501 768 769 :param effective_currency_positive_format: The effective_currency_positive_format of this LocalePolicy. # noqa: E501 770 :type: str 771 """ 772 773 self._effective_currency_positive_format = effective_currency_positive_format 774 775 @property 776 def effective_custom_date_format(self): 777 """Gets the effective_custom_date_format of this LocalePolicy. # noqa: E501 778 779 # noqa: E501 780 781 :return: The effective_custom_date_format of this LocalePolicy. # noqa: E501 782 :rtype: str 783 """ 784 return self._effective_custom_date_format 785 786 @effective_custom_date_format.setter 787 def effective_custom_date_format(self, effective_custom_date_format): 788 """Sets the effective_custom_date_format of this LocalePolicy. 789 790 # noqa: E501 791 792 :param effective_custom_date_format: The effective_custom_date_format of this LocalePolicy. # noqa: E501 793 :type: str 794 """ 795 796 self._effective_custom_date_format = effective_custom_date_format 797 798 @property 799 def effective_custom_time_format(self): 800 """Gets the effective_custom_time_format of this LocalePolicy. # noqa: E501 801 802 # noqa: E501 803 804 :return: The effective_custom_time_format of this LocalePolicy. # noqa: E501 805 :rtype: str 806 """ 807 return self._effective_custom_time_format 808 809 @effective_custom_time_format.setter 810 def effective_custom_time_format(self, effective_custom_time_format): 811 """Sets the effective_custom_time_format of this LocalePolicy. 812 813 # noqa: E501 814 815 :param effective_custom_time_format: The effective_custom_time_format of this LocalePolicy. # noqa: E501 816 :type: str 817 """ 818 819 self._effective_custom_time_format = effective_custom_time_format 820 821 @property 822 def effective_date_format(self): 823 """Gets the effective_date_format of this LocalePolicy. # noqa: E501 824 825 # noqa: E501 826 827 :return: The effective_date_format of this LocalePolicy. # noqa: E501 828 :rtype: str 829 """ 830 return self._effective_date_format 831 832 @effective_date_format.setter 833 def effective_date_format(self, effective_date_format): 834 """Sets the effective_date_format of this LocalePolicy. 835 836 # noqa: E501 837 838 :param effective_date_format: The effective_date_format of this LocalePolicy. # noqa: E501 839 :type: str 840 """ 841 842 self._effective_date_format = effective_date_format 843 844 @property 845 def effective_initial_format(self): 846 """Gets the effective_initial_format of this LocalePolicy. # noqa: E501 847 848 # noqa: E501 849 850 :return: The effective_initial_format of this LocalePolicy. # noqa: E501 851 :rtype: str 852 """ 853 return self._effective_initial_format 854 855 @effective_initial_format.setter 856 def effective_initial_format(self, effective_initial_format): 857 """Sets the effective_initial_format of this LocalePolicy. 858 859 # noqa: E501 860 861 :param effective_initial_format: The effective_initial_format of this LocalePolicy. # noqa: E501 862 :type: str 863 """ 864 865 self._effective_initial_format = effective_initial_format 866 867 @property 868 def effective_name_format(self): 869 """Gets the effective_name_format of this LocalePolicy. # noqa: E501 870 871 # noqa: E501 872 873 :return: The effective_name_format of this LocalePolicy. # noqa: E501 874 :rtype: str 875 """ 876 return self._effective_name_format 877 878 @effective_name_format.setter 879 def effective_name_format(self, effective_name_format): 880 """Sets the effective_name_format of this LocalePolicy. 881 882 # noqa: E501 883 884 :param effective_name_format: The effective_name_format of this LocalePolicy. # noqa: E501 885 :type: str 886 """ 887 888 self._effective_name_format = effective_name_format 889 890 @property 891 def effective_time_format(self): 892 """Gets the effective_time_format of this LocalePolicy. # noqa: E501 893 894 # noqa: E501 895 896 :return: The effective_time_format of this LocalePolicy. # noqa: E501 897 :rtype: str 898 """ 899 return self._effective_time_format 900 901 @effective_time_format.setter 902 def effective_time_format(self, effective_time_format): 903 """Sets the effective_time_format of this LocalePolicy. 904 905 # noqa: E501 906 907 :param effective_time_format: The effective_time_format of this LocalePolicy. # noqa: E501 908 :type: str 909 """ 910 911 self._effective_time_format = effective_time_format 912 913 @property 914 def effective_time_zone(self): 915 """Gets the effective_time_zone of this LocalePolicy. # noqa: E501 916 917 # noqa: E501 918 919 :return: The effective_time_zone of this LocalePolicy. # noqa: E501 920 :rtype: str 921 """ 922 return self._effective_time_zone 923 924 @effective_time_zone.setter 925 def effective_time_zone(self, effective_time_zone): 926 """Sets the effective_time_zone of this LocalePolicy. 927 928 # noqa: E501 929 930 :param effective_time_zone: The effective_time_zone of this LocalePolicy. # noqa: E501 931 :type: str 932 """ 933 934 self._effective_time_zone = effective_time_zone 935 936 @property 937 def initial_format(self): 938 """Gets the initial_format of this LocalePolicy. # noqa: E501 939 940 # noqa: E501 941 942 :return: The initial_format of this LocalePolicy. # noqa: E501 943 :rtype: str 944 """ 945 return self._initial_format 946 947 @initial_format.setter 948 def initial_format(self, initial_format): 949 """Sets the initial_format of this LocalePolicy. 950 951 # noqa: E501 952 953 :param initial_format: The initial_format of this LocalePolicy. # noqa: E501 954 :type: str 955 """ 956 957 self._initial_format = initial_format 958 959 @property 960 def initial_format_metadata(self): 961 """Gets the initial_format_metadata of this LocalePolicy. # noqa: E501 962 963 # noqa: E501 964 965 :return: The initial_format_metadata of this LocalePolicy. # noqa: E501 966 :rtype: SettingsMetadata 967 """ 968 return self._initial_format_metadata 969 970 @initial_format_metadata.setter 971 def initial_format_metadata(self, initial_format_metadata): 972 """Sets the initial_format_metadata of this LocalePolicy. 973 974 # noqa: E501 975 976 :param initial_format_metadata: The initial_format_metadata of this LocalePolicy. # noqa: E501 977 :type: SettingsMetadata 978 """ 979 980 self._initial_format_metadata = initial_format_metadata 981 982 @property 983 def name_format(self): 984 """Gets the name_format of this LocalePolicy. # noqa: E501 985 986 # noqa: E501 987 988 :return: The name_format of this LocalePolicy. # noqa: E501 989 :rtype: str 990 """ 991 return self._name_format 992 993 @name_format.setter 994 def name_format(self, name_format): 995 """Sets the name_format of this LocalePolicy. 996 997 # noqa: E501 998 999 :param name_format: The name_format of this LocalePolicy. # noqa: E501 1000 :type: str 1001 """ 1002 1003 self._name_format = name_format 1004 1005 @property 1006 def name_format_metadata(self): 1007 """Gets the name_format_metadata of this LocalePolicy. # noqa: E501 1008 1009 # noqa: E501 1010 1011 :return: The name_format_metadata of this LocalePolicy. # noqa: E501 1012 :rtype: SettingsMetadata 1013 """ 1014 return self._name_format_metadata 1015 1016 @name_format_metadata.setter 1017 def name_format_metadata(self, name_format_metadata): 1018 """Sets the name_format_metadata of this LocalePolicy. 1019 1020 # noqa: E501 1021 1022 :param name_format_metadata: The name_format_metadata of this LocalePolicy. # noqa: E501 1023 :type: SettingsMetadata 1024 """ 1025 1026 self._name_format_metadata = name_format_metadata 1027 1028 @property 1029 def sign_date_format(self): 1030 """Gets the sign_date_format of this LocalePolicy. # noqa: E501 1031 1032 # noqa: E501 1033 1034 :return: The sign_date_format of this LocalePolicy. # noqa: E501 1035 :rtype: str 1036 """ 1037 return self._sign_date_format 1038 1039 @sign_date_format.setter 1040 def sign_date_format(self, sign_date_format): 1041 """Sets the sign_date_format of this LocalePolicy. 1042 1043 # noqa: E501 1044 1045 :param sign_date_format: The sign_date_format of this LocalePolicy. # noqa: E501 1046 :type: str 1047 """ 1048 1049 self._sign_date_format = sign_date_format 1050 1051 @property 1052 def sign_date_format_metadata(self): 1053 """Gets the sign_date_format_metadata of this LocalePolicy. # noqa: E501 1054 1055 Metadata that indicates whether the `signDateFormat` property is editable. # noqa: E501 1056 1057 :return: The sign_date_format_metadata of this LocalePolicy. # noqa: E501 1058 :rtype: SettingsMetadata 1059 """ 1060 return self._sign_date_format_metadata 1061 1062 @sign_date_format_metadata.setter 1063 def sign_date_format_metadata(self, sign_date_format_metadata): 1064 """Sets the sign_date_format_metadata of this LocalePolicy. 1065 1066 Metadata that indicates whether the `signDateFormat` property is editable. # noqa: E501 1067 1068 :param sign_date_format_metadata: The sign_date_format_metadata of this LocalePolicy. # noqa: E501 1069 :type: SettingsMetadata 1070 """ 1071 1072 self._sign_date_format_metadata = sign_date_format_metadata 1073 1074 @property 1075 def sign_time_format(self): 1076 """Gets the sign_time_format of this LocalePolicy. # noqa: E501 1077 1078 # noqa: E501 1079 1080 :return: The sign_time_format of this LocalePolicy. # noqa: E501 1081 :rtype: str 1082 """ 1083 return self._sign_time_format 1084 1085 @sign_time_format.setter 1086 def sign_time_format(self, sign_time_format): 1087 """Sets the sign_time_format of this LocalePolicy. 1088 1089 # noqa: E501 1090 1091 :param sign_time_format: The sign_time_format of this LocalePolicy. # noqa: E501 1092 :type: str 1093 """ 1094 1095 self._sign_time_format = sign_time_format 1096 1097 @property 1098 def sign_time_format_metadata(self): 1099 """Gets the sign_time_format_metadata of this LocalePolicy. # noqa: E501 1100 1101 Metadata that indicates whether the `signTimeFormat` property is editable. # noqa: E501 1102 1103 :return: The sign_time_format_metadata of this LocalePolicy. # noqa: E501 1104 :rtype: SettingsMetadata 1105 """ 1106 return self._sign_time_format_metadata 1107 1108 @sign_time_format_metadata.setter 1109 def sign_time_format_metadata(self, sign_time_format_metadata): 1110 """Sets the sign_time_format_metadata of this LocalePolicy. 1111 1112 Metadata that indicates whether the `signTimeFormat` property is editable. # noqa: E501 1113 1114 :param sign_time_format_metadata: The sign_time_format_metadata of this LocalePolicy. # noqa: E501 1115 :type: SettingsMetadata 1116 """ 1117 1118 self._sign_time_format_metadata = sign_time_format_metadata 1119 1120 @property 1121 def time_format(self): 1122 """Gets the time_format of this LocalePolicy. # noqa: E501 1123 1124 # noqa: E501 1125 1126 :return: The time_format of this LocalePolicy. # noqa: E501 1127 :rtype: str 1128 """ 1129 return self._time_format 1130 1131 @time_format.setter 1132 def time_format(self, time_format): 1133 """Sets the time_format of this LocalePolicy. 1134 1135 # noqa: E501 1136 1137 :param time_format: The time_format of this LocalePolicy. # noqa: E501 1138 :type: str 1139 """ 1140 1141 self._time_format = time_format 1142 1143 @property 1144 def time_format_metadata(self): 1145 """Gets the time_format_metadata of this LocalePolicy. # noqa: E501 1146 1147 # noqa: E501 1148 1149 :return: The time_format_metadata of this LocalePolicy. # noqa: E501 1150 :rtype: SettingsMetadata 1151 """ 1152 return self._time_format_metadata 1153 1154 @time_format_metadata.setter 1155 def time_format_metadata(self, time_format_metadata): 1156 """Sets the time_format_metadata of this LocalePolicy. 1157 1158 # noqa: E501 1159 1160 :param time_format_metadata: The time_format_metadata of this LocalePolicy. # noqa: E501 1161 :type: SettingsMetadata 1162 """ 1163 1164 self._time_format_metadata = time_format_metadata 1165 1166 @property 1167 def time_zone(self): 1168 """Gets the time_zone of this LocalePolicy. # noqa: E501 1169 1170 # noqa: E501 1171 1172 :return: The time_zone of this LocalePolicy. # noqa: E501 1173 :rtype: str 1174 """ 1175 return self._time_zone 1176 1177 @time_zone.setter 1178 def time_zone(self, time_zone): 1179 """Sets the time_zone of this LocalePolicy. 1180 1181 # noqa: E501 1182 1183 :param time_zone: The time_zone of this LocalePolicy. # noqa: E501 1184 :type: str 1185 """ 1186 1187 self._time_zone = time_zone 1188 1189 @property 1190 def time_zone_metadata(self): 1191 """Gets the time_zone_metadata of this LocalePolicy. # noqa: E501 1192 1193 # noqa: E501 1194 1195 :return: The time_zone_metadata of this LocalePolicy. # noqa: E501 1196 :rtype: SettingsMetadata 1197 """ 1198 return self._time_zone_metadata 1199 1200 @time_zone_metadata.setter 1201 def time_zone_metadata(self, time_zone_metadata): 1202 """Sets the time_zone_metadata of this LocalePolicy. 1203 1204 # noqa: E501 1205 1206 :param time_zone_metadata: The time_zone_metadata of this LocalePolicy. # noqa: E501 1207 :type: SettingsMetadata 1208 """ 1209 1210 self._time_zone_metadata = time_zone_metadata 1211 1212 def to_dict(self): 1213 """Returns the model properties as a dict""" 1214 result = {} 1215 1216 for attr, _ in six.iteritems(self.swagger_types): 1217 value = getattr(self, attr) 1218 if isinstance(value, list): 1219 result[attr] = list(map( 1220 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 1221 value 1222 )) 1223 elif hasattr(value, "to_dict"): 1224 result[attr] = value.to_dict() 1225 elif isinstance(value, dict): 1226 result[attr] = dict(map( 1227 lambda item: (item[0], item[1].to_dict()) 1228 if hasattr(item[1], "to_dict") else item, 1229 value.items() 1230 )) 1231 else: 1232 result[attr] = value 1233 if issubclass(LocalePolicy, dict): 1234 for key, value in self.items(): 1235 result[key] = value 1236 1237 return result 1238 1239 def to_str(self): 1240 """Returns the string representation of the model""" 1241 return pprint.pformat(self.to_dict()) 1242 1243 def __repr__(self): 1244 """For `print` and `pprint`""" 1245 return self.to_str() 1246 1247 def __eq__(self, other): 1248 """Returns true if both objects are equal""" 1249 if not isinstance(other, LocalePolicy): 1250 return False 1251 1252 return self.to_dict() == other.to_dict() 1253 1254 def __ne__(self, other): 1255 """Returns true if both objects are not equal""" 1256 if not isinstance(other, LocalePolicy): 1257 return True 1258 1259 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.
128 def __init__(self, _configuration=None, **kwargs): # noqa: E501 129 """LocalePolicy - a model defined in Swagger""" # noqa: E501 130 if _configuration is None: 131 _configuration = Configuration() 132 self._configuration = _configuration 133 134 self._address_format = None 135 self._address_format_metadata = None 136 self._allow_region = None 137 self._calendar_type = None 138 self._calendar_type_metadata = None 139 self._culture_name = None 140 self._culture_name_metadata = None 141 self._currency_code = None 142 self._currency_code_metadata = None 143 self._currency_negative_format = None 144 self._currency_negative_format_metadata = None 145 self._currency_positive_format = None 146 self._currency_positive_format_metadata = None 147 self._custom_date_format = None 148 self._custom_sign_date_format = None 149 self._custom_sign_time_format = None 150 self._custom_time_format = None 151 self._date_format = None 152 self._date_format_metadata = None 153 self._effective_address_format = None 154 self._effective_calendar_type = None 155 self._effective_currency_code = None 156 self._effective_currency_negative_format = None 157 self._effective_currency_positive_format = None 158 self._effective_custom_date_format = None 159 self._effective_custom_time_format = None 160 self._effective_date_format = None 161 self._effective_initial_format = None 162 self._effective_name_format = None 163 self._effective_time_format = None 164 self._effective_time_zone = None 165 self._initial_format = None 166 self._initial_format_metadata = None 167 self._name_format = None 168 self._name_format_metadata = None 169 self._sign_date_format = None 170 self._sign_date_format_metadata = None 171 self._sign_time_format = None 172 self._sign_time_format_metadata = None 173 self._time_format = None 174 self._time_format_metadata = None 175 self._time_zone = None 176 self._time_zone_metadata = None 177 self.discriminator = None 178 179 setattr(self, "_{}".format('address_format'), kwargs.get('address_format', None)) 180 setattr(self, "_{}".format('address_format_metadata'), kwargs.get('address_format_metadata', None)) 181 setattr(self, "_{}".format('allow_region'), kwargs.get('allow_region', None)) 182 setattr(self, "_{}".format('calendar_type'), kwargs.get('calendar_type', None)) 183 setattr(self, "_{}".format('calendar_type_metadata'), kwargs.get('calendar_type_metadata', None)) 184 setattr(self, "_{}".format('culture_name'), kwargs.get('culture_name', None)) 185 setattr(self, "_{}".format('culture_name_metadata'), kwargs.get('culture_name_metadata', None)) 186 setattr(self, "_{}".format('currency_code'), kwargs.get('currency_code', None)) 187 setattr(self, "_{}".format('currency_code_metadata'), kwargs.get('currency_code_metadata', None)) 188 setattr(self, "_{}".format('currency_negative_format'), kwargs.get('currency_negative_format', None)) 189 setattr(self, "_{}".format('currency_negative_format_metadata'), kwargs.get('currency_negative_format_metadata', None)) 190 setattr(self, "_{}".format('currency_positive_format'), kwargs.get('currency_positive_format', None)) 191 setattr(self, "_{}".format('currency_positive_format_metadata'), kwargs.get('currency_positive_format_metadata', None)) 192 setattr(self, "_{}".format('custom_date_format'), kwargs.get('custom_date_format', None)) 193 setattr(self, "_{}".format('custom_sign_date_format'), kwargs.get('custom_sign_date_format', None)) 194 setattr(self, "_{}".format('custom_sign_time_format'), kwargs.get('custom_sign_time_format', None)) 195 setattr(self, "_{}".format('custom_time_format'), kwargs.get('custom_time_format', None)) 196 setattr(self, "_{}".format('date_format'), kwargs.get('date_format', None)) 197 setattr(self, "_{}".format('date_format_metadata'), kwargs.get('date_format_metadata', None)) 198 setattr(self, "_{}".format('effective_address_format'), kwargs.get('effective_address_format', None)) 199 setattr(self, "_{}".format('effective_calendar_type'), kwargs.get('effective_calendar_type', None)) 200 setattr(self, "_{}".format('effective_currency_code'), kwargs.get('effective_currency_code', None)) 201 setattr(self, "_{}".format('effective_currency_negative_format'), kwargs.get('effective_currency_negative_format', None)) 202 setattr(self, "_{}".format('effective_currency_positive_format'), kwargs.get('effective_currency_positive_format', None)) 203 setattr(self, "_{}".format('effective_custom_date_format'), kwargs.get('effective_custom_date_format', None)) 204 setattr(self, "_{}".format('effective_custom_time_format'), kwargs.get('effective_custom_time_format', None)) 205 setattr(self, "_{}".format('effective_date_format'), kwargs.get('effective_date_format', None)) 206 setattr(self, "_{}".format('effective_initial_format'), kwargs.get('effective_initial_format', None)) 207 setattr(self, "_{}".format('effective_name_format'), kwargs.get('effective_name_format', None)) 208 setattr(self, "_{}".format('effective_time_format'), kwargs.get('effective_time_format', None)) 209 setattr(self, "_{}".format('effective_time_zone'), kwargs.get('effective_time_zone', None)) 210 setattr(self, "_{}".format('initial_format'), kwargs.get('initial_format', None)) 211 setattr(self, "_{}".format('initial_format_metadata'), kwargs.get('initial_format_metadata', None)) 212 setattr(self, "_{}".format('name_format'), kwargs.get('name_format', None)) 213 setattr(self, "_{}".format('name_format_metadata'), kwargs.get('name_format_metadata', None)) 214 setattr(self, "_{}".format('sign_date_format'), kwargs.get('sign_date_format', None)) 215 setattr(self, "_{}".format('sign_date_format_metadata'), kwargs.get('sign_date_format_metadata', None)) 216 setattr(self, "_{}".format('sign_time_format'), kwargs.get('sign_time_format', None)) 217 setattr(self, "_{}".format('sign_time_format_metadata'), kwargs.get('sign_time_format_metadata', None)) 218 setattr(self, "_{}".format('time_format'), kwargs.get('time_format', None)) 219 setattr(self, "_{}".format('time_format_metadata'), kwargs.get('time_format_metadata', None)) 220 setattr(self, "_{}".format('time_zone'), kwargs.get('time_zone', None)) 221 setattr(self, "_{}".format('time_zone_metadata'), kwargs.get('time_zone_metadata', None))
LocalePolicy - a model defined in Swagger
Gets the address_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The address_format of this LocalePolicy. # noqa: E501
Gets the address_format_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The address_format_metadata of this LocalePolicy. # noqa: E501
Gets the allow_region of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The allow_region of this LocalePolicy. # noqa: E501
Gets the calendar_type of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The calendar_type of this LocalePolicy. # noqa: E501
Gets the calendar_type_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The calendar_type_metadata of this LocalePolicy. # noqa: E501
Gets the culture_name of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The culture_name of this LocalePolicy. # noqa: E501
Gets the culture_name_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The culture_name_metadata of this LocalePolicy. # noqa: E501
Gets the currency_code of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The currency_code of this LocalePolicy. # noqa: E501
Gets the currency_code_metadata of this LocalePolicy. # noqa: E501
Metadata that indicates whether the currencyCode
property is editable. # noqa: E501
Returns
The currency_code_metadata of this LocalePolicy. # noqa: E501
Gets the currency_negative_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The currency_negative_format of this LocalePolicy. # noqa: E501
Gets the currency_negative_format_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The currency_negative_format_metadata of this LocalePolicy. # noqa: E501
Gets the currency_positive_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The currency_positive_format of this LocalePolicy. # noqa: E501
Gets the currency_positive_format_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The currency_positive_format_metadata of this LocalePolicy. # noqa: E501
Gets the custom_date_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The custom_date_format of this LocalePolicy. # noqa: E501
Gets the custom_sign_date_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The custom_sign_date_format of this LocalePolicy. # noqa: E501
Gets the custom_sign_time_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The custom_sign_time_format of this LocalePolicy. # noqa: E501
Gets the custom_time_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The custom_time_format of this LocalePolicy. # noqa: E501
Gets the date_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The date_format of this LocalePolicy. # noqa: E501
Gets the date_format_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The date_format_metadata of this LocalePolicy. # noqa: E501
Gets the effective_address_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_address_format of this LocalePolicy. # noqa: E501
Gets the effective_calendar_type of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_calendar_type of this LocalePolicy. # noqa: E501
Gets the effective_currency_code of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_currency_code of this LocalePolicy. # noqa: E501
Gets the effective_currency_negative_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_currency_negative_format of this LocalePolicy. # noqa: E501
Gets the effective_currency_positive_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_currency_positive_format of this LocalePolicy. # noqa: E501
Gets the effective_custom_date_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_custom_date_format of this LocalePolicy. # noqa: E501
Gets the effective_custom_time_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_custom_time_format of this LocalePolicy. # noqa: E501
Gets the effective_date_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_date_format of this LocalePolicy. # noqa: E501
Gets the effective_initial_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_initial_format of this LocalePolicy. # noqa: E501
Gets the effective_name_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_name_format of this LocalePolicy. # noqa: E501
Gets the effective_time_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_time_format of this LocalePolicy. # noqa: E501
Gets the effective_time_zone of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The effective_time_zone of this LocalePolicy. # noqa: E501
Gets the initial_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The initial_format of this LocalePolicy. # noqa: E501
Gets the initial_format_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The initial_format_metadata of this LocalePolicy. # noqa: E501
Gets the name_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The name_format of this LocalePolicy. # noqa: E501
Gets the name_format_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The name_format_metadata of this LocalePolicy. # noqa: E501
Gets the sign_date_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The sign_date_format of this LocalePolicy. # noqa: E501
Gets the sign_date_format_metadata of this LocalePolicy. # noqa: E501
Metadata that indicates whether the signDateFormat
property is editable. # noqa: E501
Returns
The sign_date_format_metadata of this LocalePolicy. # noqa: E501
Gets the sign_time_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The sign_time_format of this LocalePolicy. # noqa: E501
Gets the sign_time_format_metadata of this LocalePolicy. # noqa: E501
Metadata that indicates whether the signTimeFormat
property is editable. # noqa: E501
Returns
The sign_time_format_metadata of this LocalePolicy. # noqa: E501
Gets the time_format of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The time_format of this LocalePolicy. # noqa: E501
Gets the time_format_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The time_format_metadata of this LocalePolicy. # noqa: E501
Gets the time_zone of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The time_zone of this LocalePolicy. # noqa: E501
Gets the time_zone_metadata of this LocalePolicy. # noqa: E501
# noqa: E501
Returns
The time_zone_metadata of this LocalePolicy. # noqa: E501
1212 def to_dict(self): 1213 """Returns the model properties as a dict""" 1214 result = {} 1215 1216 for attr, _ in six.iteritems(self.swagger_types): 1217 value = getattr(self, attr) 1218 if isinstance(value, list): 1219 result[attr] = list(map( 1220 lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 1221 value 1222 )) 1223 elif hasattr(value, "to_dict"): 1224 result[attr] = value.to_dict() 1225 elif isinstance(value, dict): 1226 result[attr] = dict(map( 1227 lambda item: (item[0], item[1].to_dict()) 1228 if hasattr(item[1], "to_dict") else item, 1229 value.items() 1230 )) 1231 else: 1232 result[attr] = value 1233 if issubclass(LocalePolicy, dict): 1234 for key, value in self.items(): 1235 result[key] = value 1236 1237 return result
Returns the model properties as a dict