docusign_esign 3.20.0 → 3.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/docusign_esign/api/connect_api.rb +51 -0
  4. data/lib/docusign_esign/api/envelopes_api.rb +11 -64
  5. data/lib/docusign_esign/api/folders_api.rb +8 -0
  6. data/lib/docusign_esign/api/templates_api.rb +0 -73
  7. data/lib/docusign_esign/client/api_client.rb +1 -1
  8. data/lib/docusign_esign/models/account_settings_information.rb +127 -13
  9. data/lib/docusign_esign/models/bulk_sending_copy.rb +13 -1
  10. data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +10 -1
  11. data/lib/docusign_esign/models/bulksending_copy_doc_gen_form_field.rb +194 -0
  12. data/lib/docusign_esign/models/connect_custom_configuration.rb +11 -1
  13. data/lib/docusign_esign/models/contact.rb +10 -1
  14. data/lib/docusign_esign/models/delegation_info.rb +12 -12
  15. data/lib/docusign_esign/models/envelope.rb +11 -1
  16. data/lib/docusign_esign/models/envelope_definition.rb +11 -1
  17. data/lib/docusign_esign/models/envelope_template.rb +11 -1
  18. data/lib/docusign_esign/models/event_notification.rb +11 -1
  19. data/lib/docusign_esign/models/id_evidence_view_link.rb +3 -3
  20. data/lib/docusign_esign/models/jurisdiction_summary.rb +214 -0
  21. data/lib/docusign_esign/models/locale_policy_tab.rb +14 -4
  22. data/lib/docusign_esign/models/notary_contact_details.rb +196 -0
  23. data/lib/docusign_esign/models/numerical.rb +1279 -0
  24. data/lib/docusign_esign/models/recipient_form_data.rb +12 -12
  25. data/lib/docusign_esign/models/recipient_identity_verification.rb +14 -4
  26. data/lib/docusign_esign/models/tab_metadata.rb +11 -1
  27. data/lib/docusign_esign/models/tabs.rb +13 -1
  28. data/lib/docusign_esign/models/template_role.rb +11 -1
  29. data/lib/docusign_esign/models/template_tabs.rb +13 -1
  30. data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
  31. data/lib/docusign_esign/version.rb +1 -1
  32. data/lib/docusign_esign.rb +4 -4
  33. metadata +6 -2
@@ -0,0 +1,1279 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_eSign
15
+ class Numerical
16
+ #
17
+ attr_accessor :anchor_allow_white_space_in_characters
18
+
19
+ attr_accessor :anchor_allow_white_space_in_characters_metadata
20
+
21
+ # When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.
22
+ attr_accessor :anchor_case_sensitive
23
+
24
+ attr_accessor :anchor_case_sensitive_metadata
25
+
26
+ # Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.
27
+ attr_accessor :anchor_horizontal_alignment
28
+
29
+ attr_accessor :anchor_horizontal_alignment_metadata
30
+
31
+ # When set to **true**, this tab is ignored if anchorString is not found in the document.
32
+ attr_accessor :anchor_ignore_if_not_present
33
+
34
+ attr_accessor :anchor_ignore_if_not_present_metadata
35
+
36
+ # When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.
37
+ attr_accessor :anchor_match_whole_word
38
+
39
+ attr_accessor :anchor_match_whole_word_metadata
40
+
41
+ # Anchor text information for a radio button.
42
+ attr_accessor :anchor_string
43
+
44
+ attr_accessor :anchor_string_metadata
45
+
46
+ #
47
+ attr_accessor :anchor_tab_processor_version
48
+
49
+ attr_accessor :anchor_tab_processor_version_metadata
50
+
51
+ # Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.
52
+ attr_accessor :anchor_units
53
+
54
+ attr_accessor :anchor_units_metadata
55
+
56
+ # Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.
57
+ attr_accessor :anchor_x_offset
58
+
59
+ attr_accessor :anchor_x_offset_metadata
60
+
61
+ # Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.
62
+ attr_accessor :anchor_y_offset
63
+
64
+ attr_accessor :anchor_y_offset_metadata
65
+
66
+ # When set to **true**, the information in the tab is bold.
67
+ attr_accessor :bold
68
+
69
+ attr_accessor :bold_metadata
70
+
71
+ #
72
+ attr_accessor :caption
73
+
74
+ attr_accessor :caption_metadata
75
+
76
+ # When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.
77
+ attr_accessor :conceal_value_on_document
78
+
79
+ attr_accessor :conceal_value_on_document_metadata
80
+
81
+ # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
82
+ attr_accessor :conditional_parent_label
83
+
84
+ attr_accessor :conditional_parent_label_metadata
85
+
86
+ # For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active.
87
+ attr_accessor :conditional_parent_value
88
+
89
+ attr_accessor :conditional_parent_value_metadata
90
+
91
+ # The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.
92
+ attr_accessor :custom_tab_id
93
+
94
+ attr_accessor :custom_tab_id_metadata
95
+
96
+ # When set to **true**, disables the auto sizing of single line text boxes in the signing screen when the signer enters data. If disabled users will only be able enter as much data as the text box can hold. By default this is false. This property only affects single line text boxes.
97
+ attr_accessor :disable_auto_size
98
+
99
+ attr_accessor :disable_auto_size_metadata
100
+
101
+ # Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.
102
+ attr_accessor :document_id
103
+
104
+ attr_accessor :document_id_metadata
105
+
106
+ attr_accessor :error_details
107
+
108
+ # The font to be used for the tab value. Supported Fonts: Arial, Arial, ArialNarrow, Calibri, CourierNew, Garamond, Georgia, Helvetica, LucidaConsole, Tahoma, TimesNewRoman, Trebuchet, Verdana, MSGothic, MSMincho, Default.
109
+ attr_accessor :font
110
+
111
+ # The font color used for the information in the tab. Possible values are: Black, BrightBlue, BrightRed, DarkGreen, DarkRed, Gold, Green, NavyBlue, Purple, or White.
112
+ attr_accessor :font_color
113
+
114
+ attr_accessor :font_color_metadata
115
+
116
+ attr_accessor :font_metadata
117
+
118
+ # The font size used for the information in the tab. Possible values are: Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, or Size72.
119
+ attr_accessor :font_size
120
+
121
+ attr_accessor :font_size_metadata
122
+
123
+ #
124
+ attr_accessor :form_order
125
+
126
+ attr_accessor :form_order_metadata
127
+
128
+ #
129
+ attr_accessor :form_page_label
130
+
131
+ attr_accessor :form_page_label_metadata
132
+
133
+ #
134
+ attr_accessor :form_page_number
135
+
136
+ attr_accessor :form_page_number_metadata
137
+
138
+ # Height of the tab in pixels.
139
+ attr_accessor :height
140
+
141
+ attr_accessor :height_metadata
142
+
143
+ # When set to **true**, the information in the tab is italic.
144
+ attr_accessor :italic
145
+
146
+ attr_accessor :italic_metadata
147
+
148
+ attr_accessor :locale_policy
149
+
150
+ # When set to **true**, the signer cannot change the data of the custom tab.
151
+ attr_accessor :locked
152
+
153
+ attr_accessor :locked_metadata
154
+
155
+ # An optional value that describes the maximum length of the property when the property is a string.
156
+ attr_accessor :max_length
157
+
158
+ attr_accessor :max_length_metadata
159
+
160
+ #
161
+ attr_accessor :max_numerical_value
162
+
163
+ attr_accessor :merge_field
164
+
165
+ #
166
+ attr_accessor :merge_field_xml
167
+
168
+ #
169
+ attr_accessor :min_numerical_value
170
+
171
+ #
172
+ attr_accessor :name
173
+
174
+ attr_accessor :name_metadata
175
+
176
+ #
177
+ attr_accessor :numerical_value
178
+
179
+ # The initial value of the tab when it was sent to the recipient.
180
+ attr_accessor :original_value
181
+
182
+ attr_accessor :original_value_metadata
183
+
184
+ # Specifies the page number on which the tab is located.
185
+ attr_accessor :page_number
186
+
187
+ attr_accessor :page_number_metadata
188
+
189
+ # Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
190
+ attr_accessor :recipient_id
191
+
192
+ #
193
+ attr_accessor :recipient_id_guid
194
+
195
+ attr_accessor :recipient_id_guid_metadata
196
+
197
+ attr_accessor :recipient_id_metadata
198
+
199
+ # When set to **true** and shared is true, information must be entered in this field to complete the envelope.
200
+ attr_accessor :require_all
201
+
202
+ attr_accessor :require_all_metadata
203
+
204
+ # When set to **true**, the signer is required to fill out this tab
205
+ attr_accessor :required
206
+
207
+ attr_accessor :required_metadata
208
+
209
+ # Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.
210
+ attr_accessor :require_initial_on_shared_change
211
+
212
+ attr_accessor :require_initial_on_shared_change_metadata
213
+
214
+ # When set to **true**, the sender must populate the tab before an envelope can be sent using the template. This value tab can only be changed by modifying (PUT) the template. Tabs with a `senderRequired` value of true cannot be deleted from an envelope.
215
+ attr_accessor :sender_required
216
+
217
+ attr_accessor :sender_required_metadata
218
+
219
+ # When set to **true**, this custom tab is shared.
220
+ attr_accessor :shared
221
+
222
+ attr_accessor :shared_metadata
223
+
224
+ #
225
+ attr_accessor :share_to_recipients
226
+
227
+ attr_accessor :share_to_recipients_metadata
228
+
229
+ attr_accessor :smart_contract_information
230
+
231
+ #
232
+ attr_accessor :source
233
+
234
+ # Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
235
+ attr_accessor :status
236
+
237
+ attr_accessor :status_metadata
238
+
239
+ #
240
+ attr_accessor :tab_group_labels
241
+
242
+ attr_accessor :tab_group_labels_metadata
243
+
244
+ # The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call].
245
+ attr_accessor :tab_id
246
+
247
+ attr_accessor :tab_id_metadata
248
+
249
+ # The label string associated with the tab.
250
+ attr_accessor :tab_label
251
+
252
+ attr_accessor :tab_label_metadata
253
+
254
+ #
255
+ attr_accessor :tab_order
256
+
257
+ attr_accessor :tab_order_metadata
258
+
259
+ #
260
+ attr_accessor :tab_type
261
+
262
+ attr_accessor :tab_type_metadata
263
+
264
+ # When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients.
265
+ attr_accessor :template_locked
266
+
267
+ attr_accessor :template_locked_metadata
268
+
269
+ # When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.
270
+ attr_accessor :template_required
271
+
272
+ attr_accessor :template_required_metadata
273
+
274
+ #
275
+ attr_accessor :tooltip
276
+
277
+ attr_accessor :tool_tip_metadata
278
+
279
+ # When set to **true**, the information in the tab is underlined.
280
+ attr_accessor :underline
281
+
282
+ attr_accessor :underline_metadata
283
+
284
+ #
285
+ attr_accessor :validation_type
286
+
287
+ # Specifies the value of the tab.
288
+ attr_accessor :value
289
+
290
+ attr_accessor :value_metadata
291
+
292
+ # Width of the tab in pixels.
293
+ attr_accessor :width
294
+
295
+ attr_accessor :width_metadata
296
+
297
+ # This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.
298
+ attr_accessor :x_position
299
+
300
+ attr_accessor :x_position_metadata
301
+
302
+ # This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.
303
+ attr_accessor :y_position
304
+
305
+ attr_accessor :y_position_metadata
306
+
307
+ # Attribute mapping from ruby-style variable name to JSON key.
308
+ def self.attribute_map
309
+ {
310
+ :'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
311
+ :'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
312
+ :'anchor_case_sensitive' => :'anchorCaseSensitive',
313
+ :'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
314
+ :'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
315
+ :'anchor_horizontal_alignment_metadata' => :'anchorHorizontalAlignmentMetadata',
316
+ :'anchor_ignore_if_not_present' => :'anchorIgnoreIfNotPresent',
317
+ :'anchor_ignore_if_not_present_metadata' => :'anchorIgnoreIfNotPresentMetadata',
318
+ :'anchor_match_whole_word' => :'anchorMatchWholeWord',
319
+ :'anchor_match_whole_word_metadata' => :'anchorMatchWholeWordMetadata',
320
+ :'anchor_string' => :'anchorString',
321
+ :'anchor_string_metadata' => :'anchorStringMetadata',
322
+ :'anchor_tab_processor_version' => :'anchorTabProcessorVersion',
323
+ :'anchor_tab_processor_version_metadata' => :'anchorTabProcessorVersionMetadata',
324
+ :'anchor_units' => :'anchorUnits',
325
+ :'anchor_units_metadata' => :'anchorUnitsMetadata',
326
+ :'anchor_x_offset' => :'anchorXOffset',
327
+ :'anchor_x_offset_metadata' => :'anchorXOffsetMetadata',
328
+ :'anchor_y_offset' => :'anchorYOffset',
329
+ :'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
330
+ :'bold' => :'bold',
331
+ :'bold_metadata' => :'boldMetadata',
332
+ :'caption' => :'caption',
333
+ :'caption_metadata' => :'captionMetadata',
334
+ :'conceal_value_on_document' => :'concealValueOnDocument',
335
+ :'conceal_value_on_document_metadata' => :'concealValueOnDocumentMetadata',
336
+ :'conditional_parent_label' => :'conditionalParentLabel',
337
+ :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
338
+ :'conditional_parent_value' => :'conditionalParentValue',
339
+ :'conditional_parent_value_metadata' => :'conditionalParentValueMetadata',
340
+ :'custom_tab_id' => :'customTabId',
341
+ :'custom_tab_id_metadata' => :'customTabIdMetadata',
342
+ :'disable_auto_size' => :'disableAutoSize',
343
+ :'disable_auto_size_metadata' => :'disableAutoSizeMetadata',
344
+ :'document_id' => :'documentId',
345
+ :'document_id_metadata' => :'documentIdMetadata',
346
+ :'error_details' => :'errorDetails',
347
+ :'font' => :'font',
348
+ :'font_color' => :'fontColor',
349
+ :'font_color_metadata' => :'fontColorMetadata',
350
+ :'font_metadata' => :'fontMetadata',
351
+ :'font_size' => :'fontSize',
352
+ :'font_size_metadata' => :'fontSizeMetadata',
353
+ :'form_order' => :'formOrder',
354
+ :'form_order_metadata' => :'formOrderMetadata',
355
+ :'form_page_label' => :'formPageLabel',
356
+ :'form_page_label_metadata' => :'formPageLabelMetadata',
357
+ :'form_page_number' => :'formPageNumber',
358
+ :'form_page_number_metadata' => :'formPageNumberMetadata',
359
+ :'height' => :'height',
360
+ :'height_metadata' => :'heightMetadata',
361
+ :'italic' => :'italic',
362
+ :'italic_metadata' => :'italicMetadata',
363
+ :'locale_policy' => :'localePolicy',
364
+ :'locked' => :'locked',
365
+ :'locked_metadata' => :'lockedMetadata',
366
+ :'max_length' => :'maxLength',
367
+ :'max_length_metadata' => :'maxLengthMetadata',
368
+ :'max_numerical_value' => :'maxNumericalValue',
369
+ :'merge_field' => :'mergeField',
370
+ :'merge_field_xml' => :'mergeFieldXml',
371
+ :'min_numerical_value' => :'minNumericalValue',
372
+ :'name' => :'name',
373
+ :'name_metadata' => :'nameMetadata',
374
+ :'numerical_value' => :'numericalValue',
375
+ :'original_value' => :'originalValue',
376
+ :'original_value_metadata' => :'originalValueMetadata',
377
+ :'page_number' => :'pageNumber',
378
+ :'page_number_metadata' => :'pageNumberMetadata',
379
+ :'recipient_id' => :'recipientId',
380
+ :'recipient_id_guid' => :'recipientIdGuid',
381
+ :'recipient_id_guid_metadata' => :'recipientIdGuidMetadata',
382
+ :'recipient_id_metadata' => :'recipientIdMetadata',
383
+ :'require_all' => :'requireAll',
384
+ :'require_all_metadata' => :'requireAllMetadata',
385
+ :'required' => :'required',
386
+ :'required_metadata' => :'requiredMetadata',
387
+ :'require_initial_on_shared_change' => :'requireInitialOnSharedChange',
388
+ :'require_initial_on_shared_change_metadata' => :'requireInitialOnSharedChangeMetadata',
389
+ :'sender_required' => :'senderRequired',
390
+ :'sender_required_metadata' => :'senderRequiredMetadata',
391
+ :'shared' => :'shared',
392
+ :'shared_metadata' => :'sharedMetadata',
393
+ :'share_to_recipients' => :'shareToRecipients',
394
+ :'share_to_recipients_metadata' => :'shareToRecipientsMetadata',
395
+ :'smart_contract_information' => :'smartContractInformation',
396
+ :'source' => :'source',
397
+ :'status' => :'status',
398
+ :'status_metadata' => :'statusMetadata',
399
+ :'tab_group_labels' => :'tabGroupLabels',
400
+ :'tab_group_labels_metadata' => :'tabGroupLabelsMetadata',
401
+ :'tab_id' => :'tabId',
402
+ :'tab_id_metadata' => :'tabIdMetadata',
403
+ :'tab_label' => :'tabLabel',
404
+ :'tab_label_metadata' => :'tabLabelMetadata',
405
+ :'tab_order' => :'tabOrder',
406
+ :'tab_order_metadata' => :'tabOrderMetadata',
407
+ :'tab_type' => :'tabType',
408
+ :'tab_type_metadata' => :'tabTypeMetadata',
409
+ :'template_locked' => :'templateLocked',
410
+ :'template_locked_metadata' => :'templateLockedMetadata',
411
+ :'template_required' => :'templateRequired',
412
+ :'template_required_metadata' => :'templateRequiredMetadata',
413
+ :'tooltip' => :'tooltip',
414
+ :'tool_tip_metadata' => :'toolTipMetadata',
415
+ :'underline' => :'underline',
416
+ :'underline_metadata' => :'underlineMetadata',
417
+ :'validation_type' => :'validationType',
418
+ :'value' => :'value',
419
+ :'value_metadata' => :'valueMetadata',
420
+ :'width' => :'width',
421
+ :'width_metadata' => :'widthMetadata',
422
+ :'x_position' => :'xPosition',
423
+ :'x_position_metadata' => :'xPositionMetadata',
424
+ :'y_position' => :'yPosition',
425
+ :'y_position_metadata' => :'yPositionMetadata'
426
+ }
427
+ end
428
+
429
+ # Attribute type mapping.
430
+ def self.swagger_types
431
+ {
432
+ :'anchor_allow_white_space_in_characters' => :'String',
433
+ :'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
434
+ :'anchor_case_sensitive' => :'String',
435
+ :'anchor_case_sensitive_metadata' => :'PropertyMetadata',
436
+ :'anchor_horizontal_alignment' => :'String',
437
+ :'anchor_horizontal_alignment_metadata' => :'PropertyMetadata',
438
+ :'anchor_ignore_if_not_present' => :'String',
439
+ :'anchor_ignore_if_not_present_metadata' => :'PropertyMetadata',
440
+ :'anchor_match_whole_word' => :'String',
441
+ :'anchor_match_whole_word_metadata' => :'PropertyMetadata',
442
+ :'anchor_string' => :'String',
443
+ :'anchor_string_metadata' => :'PropertyMetadata',
444
+ :'anchor_tab_processor_version' => :'String',
445
+ :'anchor_tab_processor_version_metadata' => :'PropertyMetadata',
446
+ :'anchor_units' => :'String',
447
+ :'anchor_units_metadata' => :'PropertyMetadata',
448
+ :'anchor_x_offset' => :'String',
449
+ :'anchor_x_offset_metadata' => :'PropertyMetadata',
450
+ :'anchor_y_offset' => :'String',
451
+ :'anchor_y_offset_metadata' => :'PropertyMetadata',
452
+ :'bold' => :'String',
453
+ :'bold_metadata' => :'PropertyMetadata',
454
+ :'caption' => :'String',
455
+ :'caption_metadata' => :'PropertyMetadata',
456
+ :'conceal_value_on_document' => :'String',
457
+ :'conceal_value_on_document_metadata' => :'PropertyMetadata',
458
+ :'conditional_parent_label' => :'String',
459
+ :'conditional_parent_label_metadata' => :'PropertyMetadata',
460
+ :'conditional_parent_value' => :'String',
461
+ :'conditional_parent_value_metadata' => :'PropertyMetadata',
462
+ :'custom_tab_id' => :'String',
463
+ :'custom_tab_id_metadata' => :'PropertyMetadata',
464
+ :'disable_auto_size' => :'String',
465
+ :'disable_auto_size_metadata' => :'PropertyMetadata',
466
+ :'document_id' => :'String',
467
+ :'document_id_metadata' => :'PropertyMetadata',
468
+ :'error_details' => :'ErrorDetails',
469
+ :'font' => :'String',
470
+ :'font_color' => :'String',
471
+ :'font_color_metadata' => :'PropertyMetadata',
472
+ :'font_metadata' => :'PropertyMetadata',
473
+ :'font_size' => :'String',
474
+ :'font_size_metadata' => :'PropertyMetadata',
475
+ :'form_order' => :'String',
476
+ :'form_order_metadata' => :'PropertyMetadata',
477
+ :'form_page_label' => :'String',
478
+ :'form_page_label_metadata' => :'PropertyMetadata',
479
+ :'form_page_number' => :'String',
480
+ :'form_page_number_metadata' => :'PropertyMetadata',
481
+ :'height' => :'String',
482
+ :'height_metadata' => :'PropertyMetadata',
483
+ :'italic' => :'String',
484
+ :'italic_metadata' => :'PropertyMetadata',
485
+ :'locale_policy' => :'LocalePolicyTab',
486
+ :'locked' => :'String',
487
+ :'locked_metadata' => :'PropertyMetadata',
488
+ :'max_length' => :'String',
489
+ :'max_length_metadata' => :'PropertyMetadata',
490
+ :'max_numerical_value' => :'String',
491
+ :'merge_field' => :'MergeField',
492
+ :'merge_field_xml' => :'String',
493
+ :'min_numerical_value' => :'String',
494
+ :'name' => :'String',
495
+ :'name_metadata' => :'PropertyMetadata',
496
+ :'numerical_value' => :'String',
497
+ :'original_value' => :'String',
498
+ :'original_value_metadata' => :'PropertyMetadata',
499
+ :'page_number' => :'String',
500
+ :'page_number_metadata' => :'PropertyMetadata',
501
+ :'recipient_id' => :'String',
502
+ :'recipient_id_guid' => :'String',
503
+ :'recipient_id_guid_metadata' => :'PropertyMetadata',
504
+ :'recipient_id_metadata' => :'PropertyMetadata',
505
+ :'require_all' => :'String',
506
+ :'require_all_metadata' => :'PropertyMetadata',
507
+ :'required' => :'String',
508
+ :'required_metadata' => :'PropertyMetadata',
509
+ :'require_initial_on_shared_change' => :'String',
510
+ :'require_initial_on_shared_change_metadata' => :'PropertyMetadata',
511
+ :'sender_required' => :'String',
512
+ :'sender_required_metadata' => :'PropertyMetadata',
513
+ :'shared' => :'String',
514
+ :'shared_metadata' => :'PropertyMetadata',
515
+ :'share_to_recipients' => :'String',
516
+ :'share_to_recipients_metadata' => :'PropertyMetadata',
517
+ :'smart_contract_information' => :'SmartContractInformation',
518
+ :'source' => :'String',
519
+ :'status' => :'String',
520
+ :'status_metadata' => :'PropertyMetadata',
521
+ :'tab_group_labels' => :'Array<String>',
522
+ :'tab_group_labels_metadata' => :'PropertyMetadata',
523
+ :'tab_id' => :'String',
524
+ :'tab_id_metadata' => :'PropertyMetadata',
525
+ :'tab_label' => :'String',
526
+ :'tab_label_metadata' => :'PropertyMetadata',
527
+ :'tab_order' => :'String',
528
+ :'tab_order_metadata' => :'PropertyMetadata',
529
+ :'tab_type' => :'String',
530
+ :'tab_type_metadata' => :'PropertyMetadata',
531
+ :'template_locked' => :'String',
532
+ :'template_locked_metadata' => :'PropertyMetadata',
533
+ :'template_required' => :'String',
534
+ :'template_required_metadata' => :'PropertyMetadata',
535
+ :'tooltip' => :'String',
536
+ :'tool_tip_metadata' => :'PropertyMetadata',
537
+ :'underline' => :'String',
538
+ :'underline_metadata' => :'PropertyMetadata',
539
+ :'validation_type' => :'String',
540
+ :'value' => :'String',
541
+ :'value_metadata' => :'PropertyMetadata',
542
+ :'width' => :'String',
543
+ :'width_metadata' => :'PropertyMetadata',
544
+ :'x_position' => :'String',
545
+ :'x_position_metadata' => :'PropertyMetadata',
546
+ :'y_position' => :'String',
547
+ :'y_position_metadata' => :'PropertyMetadata'
548
+ }
549
+ end
550
+
551
+ # Initializes the object
552
+ # @param [Hash] attributes Model attributes in the form of hash
553
+ def initialize(attributes = {})
554
+ return unless attributes.is_a?(Hash)
555
+
556
+ # convert string to symbol for hash key
557
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
558
+
559
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
560
+ self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
561
+ end
562
+
563
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
564
+ self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
565
+ end
566
+
567
+ if attributes.has_key?(:'anchorCaseSensitive')
568
+ self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
569
+ end
570
+
571
+ if attributes.has_key?(:'anchorCaseSensitiveMetadata')
572
+ self.anchor_case_sensitive_metadata = attributes[:'anchorCaseSensitiveMetadata']
573
+ end
574
+
575
+ if attributes.has_key?(:'anchorHorizontalAlignment')
576
+ self.anchor_horizontal_alignment = attributes[:'anchorHorizontalAlignment']
577
+ end
578
+
579
+ if attributes.has_key?(:'anchorHorizontalAlignmentMetadata')
580
+ self.anchor_horizontal_alignment_metadata = attributes[:'anchorHorizontalAlignmentMetadata']
581
+ end
582
+
583
+ if attributes.has_key?(:'anchorIgnoreIfNotPresent')
584
+ self.anchor_ignore_if_not_present = attributes[:'anchorIgnoreIfNotPresent']
585
+ end
586
+
587
+ if attributes.has_key?(:'anchorIgnoreIfNotPresentMetadata')
588
+ self.anchor_ignore_if_not_present_metadata = attributes[:'anchorIgnoreIfNotPresentMetadata']
589
+ end
590
+
591
+ if attributes.has_key?(:'anchorMatchWholeWord')
592
+ self.anchor_match_whole_word = attributes[:'anchorMatchWholeWord']
593
+ end
594
+
595
+ if attributes.has_key?(:'anchorMatchWholeWordMetadata')
596
+ self.anchor_match_whole_word_metadata = attributes[:'anchorMatchWholeWordMetadata']
597
+ end
598
+
599
+ if attributes.has_key?(:'anchorString')
600
+ self.anchor_string = attributes[:'anchorString']
601
+ end
602
+
603
+ if attributes.has_key?(:'anchorStringMetadata')
604
+ self.anchor_string_metadata = attributes[:'anchorStringMetadata']
605
+ end
606
+
607
+ if attributes.has_key?(:'anchorTabProcessorVersion')
608
+ self.anchor_tab_processor_version = attributes[:'anchorTabProcessorVersion']
609
+ end
610
+
611
+ if attributes.has_key?(:'anchorTabProcessorVersionMetadata')
612
+ self.anchor_tab_processor_version_metadata = attributes[:'anchorTabProcessorVersionMetadata']
613
+ end
614
+
615
+ if attributes.has_key?(:'anchorUnits')
616
+ self.anchor_units = attributes[:'anchorUnits']
617
+ end
618
+
619
+ if attributes.has_key?(:'anchorUnitsMetadata')
620
+ self.anchor_units_metadata = attributes[:'anchorUnitsMetadata']
621
+ end
622
+
623
+ if attributes.has_key?(:'anchorXOffset')
624
+ self.anchor_x_offset = attributes[:'anchorXOffset']
625
+ end
626
+
627
+ if attributes.has_key?(:'anchorXOffsetMetadata')
628
+ self.anchor_x_offset_metadata = attributes[:'anchorXOffsetMetadata']
629
+ end
630
+
631
+ if attributes.has_key?(:'anchorYOffset')
632
+ self.anchor_y_offset = attributes[:'anchorYOffset']
633
+ end
634
+
635
+ if attributes.has_key?(:'anchorYOffsetMetadata')
636
+ self.anchor_y_offset_metadata = attributes[:'anchorYOffsetMetadata']
637
+ end
638
+
639
+ if attributes.has_key?(:'bold')
640
+ self.bold = attributes[:'bold']
641
+ end
642
+
643
+ if attributes.has_key?(:'boldMetadata')
644
+ self.bold_metadata = attributes[:'boldMetadata']
645
+ end
646
+
647
+ if attributes.has_key?(:'caption')
648
+ self.caption = attributes[:'caption']
649
+ end
650
+
651
+ if attributes.has_key?(:'captionMetadata')
652
+ self.caption_metadata = attributes[:'captionMetadata']
653
+ end
654
+
655
+ if attributes.has_key?(:'concealValueOnDocument')
656
+ self.conceal_value_on_document = attributes[:'concealValueOnDocument']
657
+ end
658
+
659
+ if attributes.has_key?(:'concealValueOnDocumentMetadata')
660
+ self.conceal_value_on_document_metadata = attributes[:'concealValueOnDocumentMetadata']
661
+ end
662
+
663
+ if attributes.has_key?(:'conditionalParentLabel')
664
+ self.conditional_parent_label = attributes[:'conditionalParentLabel']
665
+ end
666
+
667
+ if attributes.has_key?(:'conditionalParentLabelMetadata')
668
+ self.conditional_parent_label_metadata = attributes[:'conditionalParentLabelMetadata']
669
+ end
670
+
671
+ if attributes.has_key?(:'conditionalParentValue')
672
+ self.conditional_parent_value = attributes[:'conditionalParentValue']
673
+ end
674
+
675
+ if attributes.has_key?(:'conditionalParentValueMetadata')
676
+ self.conditional_parent_value_metadata = attributes[:'conditionalParentValueMetadata']
677
+ end
678
+
679
+ if attributes.has_key?(:'customTabId')
680
+ self.custom_tab_id = attributes[:'customTabId']
681
+ end
682
+
683
+ if attributes.has_key?(:'customTabIdMetadata')
684
+ self.custom_tab_id_metadata = attributes[:'customTabIdMetadata']
685
+ end
686
+
687
+ if attributes.has_key?(:'disableAutoSize')
688
+ self.disable_auto_size = attributes[:'disableAutoSize']
689
+ end
690
+
691
+ if attributes.has_key?(:'disableAutoSizeMetadata')
692
+ self.disable_auto_size_metadata = attributes[:'disableAutoSizeMetadata']
693
+ end
694
+
695
+ if attributes.has_key?(:'documentId')
696
+ self.document_id = attributes[:'documentId']
697
+ end
698
+
699
+ if attributes.has_key?(:'documentIdMetadata')
700
+ self.document_id_metadata = attributes[:'documentIdMetadata']
701
+ end
702
+
703
+ if attributes.has_key?(:'errorDetails')
704
+ self.error_details = attributes[:'errorDetails']
705
+ end
706
+
707
+ if attributes.has_key?(:'font')
708
+ self.font = attributes[:'font']
709
+ end
710
+
711
+ if attributes.has_key?(:'fontColor')
712
+ self.font_color = attributes[:'fontColor']
713
+ end
714
+
715
+ if attributes.has_key?(:'fontColorMetadata')
716
+ self.font_color_metadata = attributes[:'fontColorMetadata']
717
+ end
718
+
719
+ if attributes.has_key?(:'fontMetadata')
720
+ self.font_metadata = attributes[:'fontMetadata']
721
+ end
722
+
723
+ if attributes.has_key?(:'fontSize')
724
+ self.font_size = attributes[:'fontSize']
725
+ end
726
+
727
+ if attributes.has_key?(:'fontSizeMetadata')
728
+ self.font_size_metadata = attributes[:'fontSizeMetadata']
729
+ end
730
+
731
+ if attributes.has_key?(:'formOrder')
732
+ self.form_order = attributes[:'formOrder']
733
+ end
734
+
735
+ if attributes.has_key?(:'formOrderMetadata')
736
+ self.form_order_metadata = attributes[:'formOrderMetadata']
737
+ end
738
+
739
+ if attributes.has_key?(:'formPageLabel')
740
+ self.form_page_label = attributes[:'formPageLabel']
741
+ end
742
+
743
+ if attributes.has_key?(:'formPageLabelMetadata')
744
+ self.form_page_label_metadata = attributes[:'formPageLabelMetadata']
745
+ end
746
+
747
+ if attributes.has_key?(:'formPageNumber')
748
+ self.form_page_number = attributes[:'formPageNumber']
749
+ end
750
+
751
+ if attributes.has_key?(:'formPageNumberMetadata')
752
+ self.form_page_number_metadata = attributes[:'formPageNumberMetadata']
753
+ end
754
+
755
+ if attributes.has_key?(:'height')
756
+ self.height = attributes[:'height']
757
+ end
758
+
759
+ if attributes.has_key?(:'heightMetadata')
760
+ self.height_metadata = attributes[:'heightMetadata']
761
+ end
762
+
763
+ if attributes.has_key?(:'italic')
764
+ self.italic = attributes[:'italic']
765
+ end
766
+
767
+ if attributes.has_key?(:'italicMetadata')
768
+ self.italic_metadata = attributes[:'italicMetadata']
769
+ end
770
+
771
+ if attributes.has_key?(:'localePolicy')
772
+ self.locale_policy = attributes[:'localePolicy']
773
+ end
774
+
775
+ if attributes.has_key?(:'locked')
776
+ self.locked = attributes[:'locked']
777
+ end
778
+
779
+ if attributes.has_key?(:'lockedMetadata')
780
+ self.locked_metadata = attributes[:'lockedMetadata']
781
+ end
782
+
783
+ if attributes.has_key?(:'maxLength')
784
+ self.max_length = attributes[:'maxLength']
785
+ end
786
+
787
+ if attributes.has_key?(:'maxLengthMetadata')
788
+ self.max_length_metadata = attributes[:'maxLengthMetadata']
789
+ end
790
+
791
+ if attributes.has_key?(:'maxNumericalValue')
792
+ self.max_numerical_value = attributes[:'maxNumericalValue']
793
+ end
794
+
795
+ if attributes.has_key?(:'mergeField')
796
+ self.merge_field = attributes[:'mergeField']
797
+ end
798
+
799
+ if attributes.has_key?(:'mergeFieldXml')
800
+ self.merge_field_xml = attributes[:'mergeFieldXml']
801
+ end
802
+
803
+ if attributes.has_key?(:'minNumericalValue')
804
+ self.min_numerical_value = attributes[:'minNumericalValue']
805
+ end
806
+
807
+ if attributes.has_key?(:'name')
808
+ self.name = attributes[:'name']
809
+ end
810
+
811
+ if attributes.has_key?(:'nameMetadata')
812
+ self.name_metadata = attributes[:'nameMetadata']
813
+ end
814
+
815
+ if attributes.has_key?(:'numericalValue')
816
+ self.numerical_value = attributes[:'numericalValue']
817
+ end
818
+
819
+ if attributes.has_key?(:'originalValue')
820
+ self.original_value = attributes[:'originalValue']
821
+ end
822
+
823
+ if attributes.has_key?(:'originalValueMetadata')
824
+ self.original_value_metadata = attributes[:'originalValueMetadata']
825
+ end
826
+
827
+ if attributes.has_key?(:'pageNumber')
828
+ self.page_number = attributes[:'pageNumber']
829
+ end
830
+
831
+ if attributes.has_key?(:'pageNumberMetadata')
832
+ self.page_number_metadata = attributes[:'pageNumberMetadata']
833
+ end
834
+
835
+ if attributes.has_key?(:'recipientId')
836
+ self.recipient_id = attributes[:'recipientId']
837
+ end
838
+
839
+ if attributes.has_key?(:'recipientIdGuid')
840
+ self.recipient_id_guid = attributes[:'recipientIdGuid']
841
+ end
842
+
843
+ if attributes.has_key?(:'recipientIdGuidMetadata')
844
+ self.recipient_id_guid_metadata = attributes[:'recipientIdGuidMetadata']
845
+ end
846
+
847
+ if attributes.has_key?(:'recipientIdMetadata')
848
+ self.recipient_id_metadata = attributes[:'recipientIdMetadata']
849
+ end
850
+
851
+ if attributes.has_key?(:'requireAll')
852
+ self.require_all = attributes[:'requireAll']
853
+ end
854
+
855
+ if attributes.has_key?(:'requireAllMetadata')
856
+ self.require_all_metadata = attributes[:'requireAllMetadata']
857
+ end
858
+
859
+ if attributes.has_key?(:'required')
860
+ self.required = attributes[:'required']
861
+ end
862
+
863
+ if attributes.has_key?(:'requiredMetadata')
864
+ self.required_metadata = attributes[:'requiredMetadata']
865
+ end
866
+
867
+ if attributes.has_key?(:'requireInitialOnSharedChange')
868
+ self.require_initial_on_shared_change = attributes[:'requireInitialOnSharedChange']
869
+ end
870
+
871
+ if attributes.has_key?(:'requireInitialOnSharedChangeMetadata')
872
+ self.require_initial_on_shared_change_metadata = attributes[:'requireInitialOnSharedChangeMetadata']
873
+ end
874
+
875
+ if attributes.has_key?(:'senderRequired')
876
+ self.sender_required = attributes[:'senderRequired']
877
+ end
878
+
879
+ if attributes.has_key?(:'senderRequiredMetadata')
880
+ self.sender_required_metadata = attributes[:'senderRequiredMetadata']
881
+ end
882
+
883
+ if attributes.has_key?(:'shared')
884
+ self.shared = attributes[:'shared']
885
+ end
886
+
887
+ if attributes.has_key?(:'sharedMetadata')
888
+ self.shared_metadata = attributes[:'sharedMetadata']
889
+ end
890
+
891
+ if attributes.has_key?(:'shareToRecipients')
892
+ self.share_to_recipients = attributes[:'shareToRecipients']
893
+ end
894
+
895
+ if attributes.has_key?(:'shareToRecipientsMetadata')
896
+ self.share_to_recipients_metadata = attributes[:'shareToRecipientsMetadata']
897
+ end
898
+
899
+ if attributes.has_key?(:'smartContractInformation')
900
+ self.smart_contract_information = attributes[:'smartContractInformation']
901
+ end
902
+
903
+ if attributes.has_key?(:'source')
904
+ self.source = attributes[:'source']
905
+ end
906
+
907
+ if attributes.has_key?(:'status')
908
+ self.status = attributes[:'status']
909
+ end
910
+
911
+ if attributes.has_key?(:'statusMetadata')
912
+ self.status_metadata = attributes[:'statusMetadata']
913
+ end
914
+
915
+ if attributes.has_key?(:'tabGroupLabels')
916
+ if (value = attributes[:'tabGroupLabels']).is_a?(Array)
917
+ self.tab_group_labels = value
918
+ end
919
+ end
920
+
921
+ if attributes.has_key?(:'tabGroupLabelsMetadata')
922
+ self.tab_group_labels_metadata = attributes[:'tabGroupLabelsMetadata']
923
+ end
924
+
925
+ if attributes.has_key?(:'tabId')
926
+ self.tab_id = attributes[:'tabId']
927
+ end
928
+
929
+ if attributes.has_key?(:'tabIdMetadata')
930
+ self.tab_id_metadata = attributes[:'tabIdMetadata']
931
+ end
932
+
933
+ if attributes.has_key?(:'tabLabel')
934
+ self.tab_label = attributes[:'tabLabel']
935
+ end
936
+
937
+ if attributes.has_key?(:'tabLabelMetadata')
938
+ self.tab_label_metadata = attributes[:'tabLabelMetadata']
939
+ end
940
+
941
+ if attributes.has_key?(:'tabOrder')
942
+ self.tab_order = attributes[:'tabOrder']
943
+ end
944
+
945
+ if attributes.has_key?(:'tabOrderMetadata')
946
+ self.tab_order_metadata = attributes[:'tabOrderMetadata']
947
+ end
948
+
949
+ if attributes.has_key?(:'tabType')
950
+ self.tab_type = attributes[:'tabType']
951
+ end
952
+
953
+ if attributes.has_key?(:'tabTypeMetadata')
954
+ self.tab_type_metadata = attributes[:'tabTypeMetadata']
955
+ end
956
+
957
+ if attributes.has_key?(:'templateLocked')
958
+ self.template_locked = attributes[:'templateLocked']
959
+ end
960
+
961
+ if attributes.has_key?(:'templateLockedMetadata')
962
+ self.template_locked_metadata = attributes[:'templateLockedMetadata']
963
+ end
964
+
965
+ if attributes.has_key?(:'templateRequired')
966
+ self.template_required = attributes[:'templateRequired']
967
+ end
968
+
969
+ if attributes.has_key?(:'templateRequiredMetadata')
970
+ self.template_required_metadata = attributes[:'templateRequiredMetadata']
971
+ end
972
+
973
+ if attributes.has_key?(:'tooltip')
974
+ self.tooltip = attributes[:'tooltip']
975
+ end
976
+
977
+ if attributes.has_key?(:'toolTipMetadata')
978
+ self.tool_tip_metadata = attributes[:'toolTipMetadata']
979
+ end
980
+
981
+ if attributes.has_key?(:'underline')
982
+ self.underline = attributes[:'underline']
983
+ end
984
+
985
+ if attributes.has_key?(:'underlineMetadata')
986
+ self.underline_metadata = attributes[:'underlineMetadata']
987
+ end
988
+
989
+ if attributes.has_key?(:'validationType')
990
+ self.validation_type = attributes[:'validationType']
991
+ end
992
+
993
+ if attributes.has_key?(:'value')
994
+ self.value = attributes[:'value']
995
+ end
996
+
997
+ if attributes.has_key?(:'valueMetadata')
998
+ self.value_metadata = attributes[:'valueMetadata']
999
+ end
1000
+
1001
+ if attributes.has_key?(:'width')
1002
+ self.width = attributes[:'width']
1003
+ end
1004
+
1005
+ if attributes.has_key?(:'widthMetadata')
1006
+ self.width_metadata = attributes[:'widthMetadata']
1007
+ end
1008
+
1009
+ if attributes.has_key?(:'xPosition')
1010
+ self.x_position = attributes[:'xPosition']
1011
+ end
1012
+
1013
+ if attributes.has_key?(:'xPositionMetadata')
1014
+ self.x_position_metadata = attributes[:'xPositionMetadata']
1015
+ end
1016
+
1017
+ if attributes.has_key?(:'yPosition')
1018
+ self.y_position = attributes[:'yPosition']
1019
+ end
1020
+
1021
+ if attributes.has_key?(:'yPositionMetadata')
1022
+ self.y_position_metadata = attributes[:'yPositionMetadata']
1023
+ end
1024
+ end
1025
+
1026
+ # Show invalid properties with the reasons. Usually used together with valid?
1027
+ # @return Array for valid properties with the reasons
1028
+ def list_invalid_properties
1029
+ invalid_properties = Array.new
1030
+ invalid_properties
1031
+ end
1032
+
1033
+ # Check to see if the all the properties in the model are valid
1034
+ # @return true if the model is valid
1035
+ def valid?
1036
+ true
1037
+ end
1038
+
1039
+ # Checks equality by comparing each attribute.
1040
+ # @param [Object] Object to be compared
1041
+ def ==(o)
1042
+ return true if self.equal?(o)
1043
+ self.class == o.class &&
1044
+ anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
1045
+ anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
1046
+ anchor_case_sensitive == o.anchor_case_sensitive &&
1047
+ anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
1048
+ anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
1049
+ anchor_horizontal_alignment_metadata == o.anchor_horizontal_alignment_metadata &&
1050
+ anchor_ignore_if_not_present == o.anchor_ignore_if_not_present &&
1051
+ anchor_ignore_if_not_present_metadata == o.anchor_ignore_if_not_present_metadata &&
1052
+ anchor_match_whole_word == o.anchor_match_whole_word &&
1053
+ anchor_match_whole_word_metadata == o.anchor_match_whole_word_metadata &&
1054
+ anchor_string == o.anchor_string &&
1055
+ anchor_string_metadata == o.anchor_string_metadata &&
1056
+ anchor_tab_processor_version == o.anchor_tab_processor_version &&
1057
+ anchor_tab_processor_version_metadata == o.anchor_tab_processor_version_metadata &&
1058
+ anchor_units == o.anchor_units &&
1059
+ anchor_units_metadata == o.anchor_units_metadata &&
1060
+ anchor_x_offset == o.anchor_x_offset &&
1061
+ anchor_x_offset_metadata == o.anchor_x_offset_metadata &&
1062
+ anchor_y_offset == o.anchor_y_offset &&
1063
+ anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
1064
+ bold == o.bold &&
1065
+ bold_metadata == o.bold_metadata &&
1066
+ caption == o.caption &&
1067
+ caption_metadata == o.caption_metadata &&
1068
+ conceal_value_on_document == o.conceal_value_on_document &&
1069
+ conceal_value_on_document_metadata == o.conceal_value_on_document_metadata &&
1070
+ conditional_parent_label == o.conditional_parent_label &&
1071
+ conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
1072
+ conditional_parent_value == o.conditional_parent_value &&
1073
+ conditional_parent_value_metadata == o.conditional_parent_value_metadata &&
1074
+ custom_tab_id == o.custom_tab_id &&
1075
+ custom_tab_id_metadata == o.custom_tab_id_metadata &&
1076
+ disable_auto_size == o.disable_auto_size &&
1077
+ disable_auto_size_metadata == o.disable_auto_size_metadata &&
1078
+ document_id == o.document_id &&
1079
+ document_id_metadata == o.document_id_metadata &&
1080
+ error_details == o.error_details &&
1081
+ font == o.font &&
1082
+ font_color == o.font_color &&
1083
+ font_color_metadata == o.font_color_metadata &&
1084
+ font_metadata == o.font_metadata &&
1085
+ font_size == o.font_size &&
1086
+ font_size_metadata == o.font_size_metadata &&
1087
+ form_order == o.form_order &&
1088
+ form_order_metadata == o.form_order_metadata &&
1089
+ form_page_label == o.form_page_label &&
1090
+ form_page_label_metadata == o.form_page_label_metadata &&
1091
+ form_page_number == o.form_page_number &&
1092
+ form_page_number_metadata == o.form_page_number_metadata &&
1093
+ height == o.height &&
1094
+ height_metadata == o.height_metadata &&
1095
+ italic == o.italic &&
1096
+ italic_metadata == o.italic_metadata &&
1097
+ locale_policy == o.locale_policy &&
1098
+ locked == o.locked &&
1099
+ locked_metadata == o.locked_metadata &&
1100
+ max_length == o.max_length &&
1101
+ max_length_metadata == o.max_length_metadata &&
1102
+ max_numerical_value == o.max_numerical_value &&
1103
+ merge_field == o.merge_field &&
1104
+ merge_field_xml == o.merge_field_xml &&
1105
+ min_numerical_value == o.min_numerical_value &&
1106
+ name == o.name &&
1107
+ name_metadata == o.name_metadata &&
1108
+ numerical_value == o.numerical_value &&
1109
+ original_value == o.original_value &&
1110
+ original_value_metadata == o.original_value_metadata &&
1111
+ page_number == o.page_number &&
1112
+ page_number_metadata == o.page_number_metadata &&
1113
+ recipient_id == o.recipient_id &&
1114
+ recipient_id_guid == o.recipient_id_guid &&
1115
+ recipient_id_guid_metadata == o.recipient_id_guid_metadata &&
1116
+ recipient_id_metadata == o.recipient_id_metadata &&
1117
+ require_all == o.require_all &&
1118
+ require_all_metadata == o.require_all_metadata &&
1119
+ required == o.required &&
1120
+ required_metadata == o.required_metadata &&
1121
+ require_initial_on_shared_change == o.require_initial_on_shared_change &&
1122
+ require_initial_on_shared_change_metadata == o.require_initial_on_shared_change_metadata &&
1123
+ sender_required == o.sender_required &&
1124
+ sender_required_metadata == o.sender_required_metadata &&
1125
+ shared == o.shared &&
1126
+ shared_metadata == o.shared_metadata &&
1127
+ share_to_recipients == o.share_to_recipients &&
1128
+ share_to_recipients_metadata == o.share_to_recipients_metadata &&
1129
+ smart_contract_information == o.smart_contract_information &&
1130
+ source == o.source &&
1131
+ status == o.status &&
1132
+ status_metadata == o.status_metadata &&
1133
+ tab_group_labels == o.tab_group_labels &&
1134
+ tab_group_labels_metadata == o.tab_group_labels_metadata &&
1135
+ tab_id == o.tab_id &&
1136
+ tab_id_metadata == o.tab_id_metadata &&
1137
+ tab_label == o.tab_label &&
1138
+ tab_label_metadata == o.tab_label_metadata &&
1139
+ tab_order == o.tab_order &&
1140
+ tab_order_metadata == o.tab_order_metadata &&
1141
+ tab_type == o.tab_type &&
1142
+ tab_type_metadata == o.tab_type_metadata &&
1143
+ template_locked == o.template_locked &&
1144
+ template_locked_metadata == o.template_locked_metadata &&
1145
+ template_required == o.template_required &&
1146
+ template_required_metadata == o.template_required_metadata &&
1147
+ tooltip == o.tooltip &&
1148
+ tool_tip_metadata == o.tool_tip_metadata &&
1149
+ underline == o.underline &&
1150
+ underline_metadata == o.underline_metadata &&
1151
+ validation_type == o.validation_type &&
1152
+ value == o.value &&
1153
+ value_metadata == o.value_metadata &&
1154
+ width == o.width &&
1155
+ width_metadata == o.width_metadata &&
1156
+ x_position == o.x_position &&
1157
+ x_position_metadata == o.x_position_metadata &&
1158
+ y_position == o.y_position &&
1159
+ y_position_metadata == o.y_position_metadata
1160
+ end
1161
+
1162
+ # @see the `==` method
1163
+ # @param [Object] Object to be compared
1164
+ def eql?(o)
1165
+ self == o
1166
+ end
1167
+
1168
+ # Calculates hash code according to all attributes.
1169
+ # @return [Fixnum] Hash code
1170
+ def hash
1171
+ [anchor_allow_white_space_in_characters, anchor_allow_white_space_in_characters_metadata, anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, bold, bold_metadata, caption, caption_metadata, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_metadata, document_id, document_id_metadata, error_details, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, max_numerical_value, merge_field, merge_field_xml, min_numerical_value, name, name_metadata, numerical_value, original_value, original_value_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, sender_required, sender_required_metadata, shared, shared_metadata, share_to_recipients, share_to_recipients_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, tab_label_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, underline, underline_metadata, validation_type, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
1172
+ end
1173
+
1174
+ # Builds the object from hash
1175
+ # @param [Hash] attributes Model attributes in the form of hash
1176
+ # @return [Object] Returns the model itself
1177
+ def build_from_hash(attributes)
1178
+ return nil unless attributes.is_a?(Hash)
1179
+ self.class.swagger_types.each_pair do |key, type|
1180
+ if type =~ /\AArray<(.*)>/i
1181
+ # check to ensure the input is an array given that the attribute
1182
+ # is documented as an array but the input is not
1183
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
1184
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
1185
+ end
1186
+ elsif !attributes[self.class.attribute_map[key]].nil?
1187
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
1188
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
1189
+ end
1190
+
1191
+ self
1192
+ end
1193
+
1194
+ # Deserializes the data based on type
1195
+ # @param string type Data type
1196
+ # @param string value Value to be deserialized
1197
+ # @return [Object] Deserialized data
1198
+ def _deserialize(type, value)
1199
+ case type.to_sym
1200
+ when :DateTime
1201
+ DateTime.parse(value)
1202
+ when :Date
1203
+ Date.parse(value)
1204
+ when :String
1205
+ value.to_s
1206
+ when :Integer
1207
+ value.to_i
1208
+ when :Float
1209
+ value.to_f
1210
+ when :BOOLEAN
1211
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
1212
+ true
1213
+ else
1214
+ false
1215
+ end
1216
+ when :Object
1217
+ # generic object (usually a Hash), return directly
1218
+ value
1219
+ when /\AArray<(?<inner_type>.+)>\z/
1220
+ inner_type = Regexp.last_match[:inner_type]
1221
+ value.map { |v| _deserialize(inner_type, v) }
1222
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
1223
+ k_type = Regexp.last_match[:k_type]
1224
+ v_type = Regexp.last_match[:v_type]
1225
+ {}.tap do |hash|
1226
+ value.each do |k, v|
1227
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
1228
+ end
1229
+ end
1230
+ else # model
1231
+ temp_model = DocuSign_eSign.const_get(type).new
1232
+ temp_model.build_from_hash(value)
1233
+ end
1234
+ end
1235
+
1236
+ # Returns the string representation of the object
1237
+ # @return [String] String presentation of the object
1238
+ def to_s
1239
+ to_hash.to_s
1240
+ end
1241
+
1242
+ # to_body is an alias to to_hash (backward compatibility)
1243
+ # @return [Hash] Returns the object in the form of hash
1244
+ def to_body
1245
+ to_hash
1246
+ end
1247
+
1248
+ # Returns the object in the form of hash
1249
+ # @return [Hash] Returns the object in the form of hash
1250
+ def to_hash
1251
+ hash = {}
1252
+ self.class.attribute_map.each_pair do |attr, param|
1253
+ value = self.send(attr)
1254
+ next if value.nil?
1255
+ hash[param] = _to_hash(value)
1256
+ end
1257
+ hash
1258
+ end
1259
+
1260
+ # Outputs non-array value in the form of hash
1261
+ # For object, use to_hash. Otherwise, just return the value
1262
+ # @param [Object] value Any valid value
1263
+ # @return [Hash] Returns the value in the form of hash
1264
+ def _to_hash(value)
1265
+ if value.is_a?(Array)
1266
+ value.compact.map { |v| _to_hash(v) }
1267
+ elsif value.is_a?(Hash)
1268
+ {}.tap do |hash|
1269
+ value.each { |k, v| hash[k] = _to_hash(v) }
1270
+ end
1271
+ elsif value.respond_to? :to_hash
1272
+ value.to_hash
1273
+ else
1274
+ value
1275
+ end
1276
+ end
1277
+
1278
+ end
1279
+ end