Class: DocuSign_eSign::TabAccountSettings

Inherits:
Object
  • Object
show all
Defined in:
lib/docusign_esign/models/tab_account_settings.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ TabAccountSettings

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 228

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  if attributes.has_key?(:'allowTabOrder')
    self.allow_tab_order = attributes[:'allowTabOrder']
  end

  if attributes.has_key?(:'allowTabOrderMetadata')
    self. = attributes[:'allowTabOrderMetadata']
  end

  if attributes.has_key?(:'approveDeclineTabsEnabled')
    self.approve_decline_tabs_enabled = attributes[:'approveDeclineTabsEnabled']
  end

  if attributes.has_key?(:'approveDeclineTabsMetadata')
    self. = attributes[:'approveDeclineTabsMetadata']
  end

  if attributes.has_key?(:'calculatedFieldsEnabled')
    self.calculated_fields_enabled = attributes[:'calculatedFieldsEnabled']
  end

  if attributes.has_key?(:'calculatedFieldsMetadata')
    self. = attributes[:'calculatedFieldsMetadata']
  end

  if attributes.has_key?(:'checkboxTabsEnabled')
    self.checkbox_tabs_enabled = attributes[:'checkboxTabsEnabled']
  end

  if attributes.has_key?(:'checkBoxTabsMetadata')
    self. = attributes[:'checkBoxTabsMetadata']
  end

  if attributes.has_key?(:'currencyTabsEnabled')
    self.currency_tabs_enabled = attributes[:'currencyTabsEnabled']
  end

  if attributes.has_key?(:'currencyTabsMetadata')
    self. = attributes[:'currencyTabsMetadata']
  end

  if attributes.has_key?(:'dataFieldRegexEnabled')
    self.data_field_regex_enabled = attributes[:'dataFieldRegexEnabled']
  end

  if attributes.has_key?(:'dataFieldRegexMetadata')
    self. = attributes[:'dataFieldRegexMetadata']
  end

  if attributes.has_key?(:'dataFieldSizeEnabled')
    self.data_field_size_enabled = attributes[:'dataFieldSizeEnabled']
  end

  if attributes.has_key?(:'dataFieldSizeMetadata')
    self. = attributes[:'dataFieldSizeMetadata']
  end

  if attributes.has_key?(:'drawTabsEnabled')
    self.draw_tabs_enabled = attributes[:'drawTabsEnabled']
  end

  if attributes.has_key?(:'drawTabsMetadata')
    self. = attributes[:'drawTabsMetadata']
  end

  if attributes.has_key?(:'firstLastEmailTabsEnabled')
    self.first_last_email_tabs_enabled = attributes[:'firstLastEmailTabsEnabled']
  end

  if attributes.has_key?(:'firstLastEmailTabsMetadata')
    self. = attributes[:'firstLastEmailTabsMetadata']
  end

  if attributes.has_key?(:'listTabsEnabled')
    self.list_tabs_enabled = attributes[:'listTabsEnabled']
  end

  if attributes.has_key?(:'listTabsMetadata')
    self. = attributes[:'listTabsMetadata']
  end

  if attributes.has_key?(:'noteTabsEnabled')
    self.note_tabs_enabled = attributes[:'noteTabsEnabled']
  end

  if attributes.has_key?(:'noteTabsMetadata')
    self. = attributes[:'noteTabsMetadata']
  end

  if attributes.has_key?(:'prefillTabsEnabled')
    self.prefill_tabs_enabled = attributes[:'prefillTabsEnabled']
  end

  if attributes.has_key?(:'prefillTabsMetadata')
    self. = attributes[:'prefillTabsMetadata']
  end

  if attributes.has_key?(:'radioTabsEnabled')
    self.radio_tabs_enabled = attributes[:'radioTabsEnabled']
  end

  if attributes.has_key?(:'radioTabsMetadata')
    self. = attributes[:'radioTabsMetadata']
  end

  if attributes.has_key?(:'savingCustomTabsEnabled')
    self.saving_custom_tabs_enabled = attributes[:'savingCustomTabsEnabled']
  end

  if attributes.has_key?(:'savingCustomTabsMetadata')
    self. = attributes[:'savingCustomTabsMetadata']
  end

  if attributes.has_key?(:'senderToChangeTabAssignmentsEnabled')
    self.sender_to_change_tab_assignments_enabled = attributes[:'senderToChangeTabAssignmentsEnabled']
  end

  if attributes.has_key?(:'senderToChangeTabAssignmentsMetadata')
    self. = attributes[:'senderToChangeTabAssignmentsMetadata']
  end

  if attributes.has_key?(:'sharedCustomTabsEnabled')
    self.shared_custom_tabs_enabled = attributes[:'sharedCustomTabsEnabled']
  end

  if attributes.has_key?(:'sharedCustomTabsMetadata')
    self. = attributes[:'sharedCustomTabsMetadata']
  end

  if attributes.has_key?(:'tabDataLabelEnabled')
    self.tab_data_label_enabled = attributes[:'tabDataLabelEnabled']
  end

  if attributes.has_key?(:'tabDataLabelMetadata')
    self. = attributes[:'tabDataLabelMetadata']
  end

  if attributes.has_key?(:'tabLocationEnabled')
    self.tab_location_enabled = attributes[:'tabLocationEnabled']
  end

  if attributes.has_key?(:'tabLocationMetadata')
    self. = attributes[:'tabLocationMetadata']
  end

  if attributes.has_key?(:'tabLockingEnabled')
    self.tab_locking_enabled = attributes[:'tabLockingEnabled']
  end

  if attributes.has_key?(:'tabLockingMetadata')
    self. = attributes[:'tabLockingMetadata']
  end

  if attributes.has_key?(:'tabScaleEnabled')
    self.tab_scale_enabled = attributes[:'tabScaleEnabled']
  end

  if attributes.has_key?(:'tabScaleMetadata')
    self. = attributes[:'tabScaleMetadata']
  end

  if attributes.has_key?(:'tabTextFormattingEnabled')
    self.tab_text_formatting_enabled = attributes[:'tabTextFormattingEnabled']
  end

  if attributes.has_key?(:'tabTextFormattingMetadata')
    self. = attributes[:'tabTextFormattingMetadata']
  end

  if attributes.has_key?(:'textTabsEnabled')
    self.text_tabs_enabled = attributes[:'textTabsEnabled']
  end

  if attributes.has_key?(:'textTabsMetadata')
    self. = attributes[:'textTabsMetadata']
  end
end

Instance Attribute Details

#allow_tab_orderObject

Returns the value of attribute allow_tab_order.



17
18
19
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 17

def allow_tab_order
  @allow_tab_order
end

#allow_tab_order_metadataObject

Returns the value of attribute allow_tab_order_metadata.



19
20
21
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 19

def 
  @allow_tab_order_metadata
end

#approve_decline_tabs_enabledObject

Returns the value of attribute approve_decline_tabs_enabled.



22
23
24
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 22

def approve_decline_tabs_enabled
  @approve_decline_tabs_enabled
end

#approve_decline_tabs_metadataObject

Returns the value of attribute approve_decline_tabs_metadata.



24
25
26
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 24

def 
  @approve_decline_tabs_metadata
end

#calculated_fields_enabledObject

Returns the value of attribute calculated_fields_enabled.



27
28
29
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 27

def calculated_fields_enabled
  @calculated_fields_enabled
end

#calculated_fields_metadataObject

Returns the value of attribute calculated_fields_metadata.



29
30
31
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 29

def 
  @calculated_fields_metadata
end

#check_box_tabs_metadataObject

Returns the value of attribute check_box_tabs_metadata.



34
35
36
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 34

def 
  @check_box_tabs_metadata
end

#checkbox_tabs_enabledObject

Returns the value of attribute checkbox_tabs_enabled.



32
33
34
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 32

def checkbox_tabs_enabled
  @checkbox_tabs_enabled
end

#currency_tabs_enabledObject

Returns the value of attribute currency_tabs_enabled.



37
38
39
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 37

def currency_tabs_enabled
  @currency_tabs_enabled
end

#currency_tabs_metadataObject

Returns the value of attribute currency_tabs_metadata.



39
40
41
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 39

def 
  @currency_tabs_metadata
end

#data_field_regex_enabledObject

Returns the value of attribute data_field_regex_enabled.



42
43
44
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 42

def data_field_regex_enabled
  @data_field_regex_enabled
end

#data_field_regex_metadataObject

Returns the value of attribute data_field_regex_metadata.



44
45
46
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 44

def 
  @data_field_regex_metadata
end

#data_field_size_enabledObject

Returns the value of attribute data_field_size_enabled.



47
48
49
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 47

def data_field_size_enabled
  @data_field_size_enabled
end

#data_field_size_metadataObject

Returns the value of attribute data_field_size_metadata.



49
50
51
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 49

def 
  @data_field_size_metadata
end

#draw_tabs_enabledObject

Returns the value of attribute draw_tabs_enabled.



52
53
54
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 52

def draw_tabs_enabled
  @draw_tabs_enabled
end

#draw_tabs_metadataObject

Returns the value of attribute draw_tabs_metadata.



54
55
56
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 54

def 
  @draw_tabs_metadata
end

#first_last_email_tabs_enabledObject

Returns the value of attribute first_last_email_tabs_enabled.



57
58
59
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 57

def first_last_email_tabs_enabled
  @first_last_email_tabs_enabled
end

#first_last_email_tabs_metadataObject

Returns the value of attribute first_last_email_tabs_metadata.



59
60
61
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 59

def 
  @first_last_email_tabs_metadata
end

#list_tabs_enabledObject

Returns the value of attribute list_tabs_enabled.



62
63
64
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 62

def list_tabs_enabled
  @list_tabs_enabled
end

#list_tabs_metadataObject

Returns the value of attribute list_tabs_metadata.



64
65
66
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 64

def 
  @list_tabs_metadata
end

#note_tabs_enabledObject

Returns the value of attribute note_tabs_enabled.



67
68
69
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 67

def note_tabs_enabled
  @note_tabs_enabled
end

#note_tabs_metadataObject

Returns the value of attribute note_tabs_metadata.



69
70
71
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 69

def 
  @note_tabs_metadata
end

#prefill_tabs_enabledObject

Returns the value of attribute prefill_tabs_enabled.



72
73
74
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 72

def prefill_tabs_enabled
  @prefill_tabs_enabled
end

#prefill_tabs_metadataObject

Returns the value of attribute prefill_tabs_metadata.



74
75
76
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 74

def 
  @prefill_tabs_metadata
end

#radio_tabs_enabledObject

Returns the value of attribute radio_tabs_enabled.



77
78
79
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 77

def radio_tabs_enabled
  @radio_tabs_enabled
end

#radio_tabs_metadataObject

Returns the value of attribute radio_tabs_metadata.



79
80
81
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 79

def 
  @radio_tabs_metadata
end

#saving_custom_tabs_enabledObject

Returns the value of attribute saving_custom_tabs_enabled.



82
83
84
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 82

def saving_custom_tabs_enabled
  @saving_custom_tabs_enabled
end

#saving_custom_tabs_metadataObject

Returns the value of attribute saving_custom_tabs_metadata.



84
85
86
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 84

def 
  @saving_custom_tabs_metadata
end

#sender_to_change_tab_assignments_enabledObject

Returns the value of attribute sender_to_change_tab_assignments_enabled.



87
88
89
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 87

def sender_to_change_tab_assignments_enabled
  @sender_to_change_tab_assignments_enabled
end

#sender_to_change_tab_assignments_metadataObject

Returns the value of attribute sender_to_change_tab_assignments_metadata.



89
90
91
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 89

def 
  @sender_to_change_tab_assignments_metadata
end

#shared_custom_tabs_enabledObject

Returns the value of attribute shared_custom_tabs_enabled.



92
93
94
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 92

def shared_custom_tabs_enabled
  @shared_custom_tabs_enabled
end

#shared_custom_tabs_metadataObject

Returns the value of attribute shared_custom_tabs_metadata.



94
95
96
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 94

def 
  @shared_custom_tabs_metadata
end

#tab_data_label_enabledObject

Returns the value of attribute tab_data_label_enabled.



97
98
99
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 97

def tab_data_label_enabled
  @tab_data_label_enabled
end

#tab_data_label_metadataObject

Returns the value of attribute tab_data_label_metadata.



99
100
101
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 99

def 
  @tab_data_label_metadata
end

#tab_location_enabledObject

Returns the value of attribute tab_location_enabled.



102
103
104
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 102

def tab_location_enabled
  @tab_location_enabled
end

#tab_location_metadataObject

Returns the value of attribute tab_location_metadata.



104
105
106
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 104

def 
  @tab_location_metadata
end

#tab_locking_enabledObject

Returns the value of attribute tab_locking_enabled.



107
108
109
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 107

def tab_locking_enabled
  @tab_locking_enabled
end

#tab_locking_metadataObject

Returns the value of attribute tab_locking_metadata.



109
110
111
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 109

def 
  @tab_locking_metadata
end

#tab_scale_enabledObject

Returns the value of attribute tab_scale_enabled.



112
113
114
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 112

def tab_scale_enabled
  @tab_scale_enabled
end

#tab_scale_metadataObject

Returns the value of attribute tab_scale_metadata.



114
115
116
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 114

def 
  @tab_scale_metadata
end

#tab_text_formatting_enabledObject

Returns the value of attribute tab_text_formatting_enabled.



117
118
119
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 117

def tab_text_formatting_enabled
  @tab_text_formatting_enabled
end

#tab_text_formatting_metadataObject

Returns the value of attribute tab_text_formatting_metadata.



119
120
121
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 119

def 
  @tab_text_formatting_metadata
end

#text_tabs_enabledObject

Returns the value of attribute text_tabs_enabled.



122
123
124
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 122

def text_tabs_enabled
  @text_tabs_enabled
end

#text_tabs_metadataObject

Returns the value of attribute text_tabs_metadata.



124
125
126
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 124

def 
  @text_tabs_metadata
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 127

def self.attribute_map
  {
    :'allow_tab_order' => :'allowTabOrder',
    :'allow_tab_order_metadata' => :'allowTabOrderMetadata',
    :'approve_decline_tabs_enabled' => :'approveDeclineTabsEnabled',
    :'approve_decline_tabs_metadata' => :'approveDeclineTabsMetadata',
    :'calculated_fields_enabled' => :'calculatedFieldsEnabled',
    :'calculated_fields_metadata' => :'calculatedFieldsMetadata',
    :'checkbox_tabs_enabled' => :'checkboxTabsEnabled',
    :'check_box_tabs_metadata' => :'checkBoxTabsMetadata',
    :'currency_tabs_enabled' => :'currencyTabsEnabled',
    :'currency_tabs_metadata' => :'currencyTabsMetadata',
    :'data_field_regex_enabled' => :'dataFieldRegexEnabled',
    :'data_field_regex_metadata' => :'dataFieldRegexMetadata',
    :'data_field_size_enabled' => :'dataFieldSizeEnabled',
    :'data_field_size_metadata' => :'dataFieldSizeMetadata',
    :'draw_tabs_enabled' => :'drawTabsEnabled',
    :'draw_tabs_metadata' => :'drawTabsMetadata',
    :'first_last_email_tabs_enabled' => :'firstLastEmailTabsEnabled',
    :'first_last_email_tabs_metadata' => :'firstLastEmailTabsMetadata',
    :'list_tabs_enabled' => :'listTabsEnabled',
    :'list_tabs_metadata' => :'listTabsMetadata',
    :'note_tabs_enabled' => :'noteTabsEnabled',
    :'note_tabs_metadata' => :'noteTabsMetadata',
    :'prefill_tabs_enabled' => :'prefillTabsEnabled',
    :'prefill_tabs_metadata' => :'prefillTabsMetadata',
    :'radio_tabs_enabled' => :'radioTabsEnabled',
    :'radio_tabs_metadata' => :'radioTabsMetadata',
    :'saving_custom_tabs_enabled' => :'savingCustomTabsEnabled',
    :'saving_custom_tabs_metadata' => :'savingCustomTabsMetadata',
    :'sender_to_change_tab_assignments_enabled' => :'senderToChangeTabAssignmentsEnabled',
    :'sender_to_change_tab_assignments_metadata' => :'senderToChangeTabAssignmentsMetadata',
    :'shared_custom_tabs_enabled' => :'sharedCustomTabsEnabled',
    :'shared_custom_tabs_metadata' => :'sharedCustomTabsMetadata',
    :'tab_data_label_enabled' => :'tabDataLabelEnabled',
    :'tab_data_label_metadata' => :'tabDataLabelMetadata',
    :'tab_location_enabled' => :'tabLocationEnabled',
    :'tab_location_metadata' => :'tabLocationMetadata',
    :'tab_locking_enabled' => :'tabLockingEnabled',
    :'tab_locking_metadata' => :'tabLockingMetadata',
    :'tab_scale_enabled' => :'tabScaleEnabled',
    :'tab_scale_metadata' => :'tabScaleMetadata',
    :'tab_text_formatting_enabled' => :'tabTextFormattingEnabled',
    :'tab_text_formatting_metadata' => :'tabTextFormattingMetadata',
    :'text_tabs_enabled' => :'textTabsEnabled',
    :'text_tabs_metadata' => :'textTabsMetadata'
  }
end

.swagger_typesObject

Attribute type mapping.



177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 177

def self.swagger_types
  {
    :'allow_tab_order' => :'String',
    :'allow_tab_order_metadata' => :'SettingsMetadata',
    :'approve_decline_tabs_enabled' => :'String',
    :'approve_decline_tabs_metadata' => :'SettingsMetadata',
    :'calculated_fields_enabled' => :'String',
    :'calculated_fields_metadata' => :'SettingsMetadata',
    :'checkbox_tabs_enabled' => :'String',
    :'check_box_tabs_metadata' => :'SettingsMetadata',
    :'currency_tabs_enabled' => :'String',
    :'currency_tabs_metadata' => :'SettingsMetadata',
    :'data_field_regex_enabled' => :'String',
    :'data_field_regex_metadata' => :'SettingsMetadata',
    :'data_field_size_enabled' => :'String',
    :'data_field_size_metadata' => :'SettingsMetadata',
    :'draw_tabs_enabled' => :'String',
    :'draw_tabs_metadata' => :'SettingsMetadata',
    :'first_last_email_tabs_enabled' => :'String',
    :'first_last_email_tabs_metadata' => :'SettingsMetadata',
    :'list_tabs_enabled' => :'String',
    :'list_tabs_metadata' => :'SettingsMetadata',
    :'note_tabs_enabled' => :'String',
    :'note_tabs_metadata' => :'SettingsMetadata',
    :'prefill_tabs_enabled' => :'String',
    :'prefill_tabs_metadata' => :'SettingsMetadata',
    :'radio_tabs_enabled' => :'String',
    :'radio_tabs_metadata' => :'SettingsMetadata',
    :'saving_custom_tabs_enabled' => :'String',
    :'saving_custom_tabs_metadata' => :'SettingsMetadata',
    :'sender_to_change_tab_assignments_enabled' => :'String',
    :'sender_to_change_tab_assignments_metadata' => :'SettingsMetadata',
    :'shared_custom_tabs_enabled' => :'String',
    :'shared_custom_tabs_metadata' => :'SettingsMetadata',
    :'tab_data_label_enabled' => :'String',
    :'tab_data_label_metadata' => :'SettingsMetadata',
    :'tab_location_enabled' => :'String',
    :'tab_location_metadata' => :'SettingsMetadata',
    :'tab_locking_enabled' => :'String',
    :'tab_locking_metadata' => :'SettingsMetadata',
    :'tab_scale_enabled' => :'String',
    :'tab_scale_metadata' => :'SettingsMetadata',
    :'tab_text_formatting_enabled' => :'String',
    :'tab_text_formatting_metadata' => :'SettingsMetadata',
    :'text_tabs_enabled' => :'String',
    :'text_tabs_metadata' => :'SettingsMetadata'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 426

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      allow_tab_order == o.allow_tab_order &&
       == o. &&
      approve_decline_tabs_enabled == o.approve_decline_tabs_enabled &&
       == o. &&
      calculated_fields_enabled == o.calculated_fields_enabled &&
       == o. &&
      checkbox_tabs_enabled == o.checkbox_tabs_enabled &&
       == o. &&
      currency_tabs_enabled == o.currency_tabs_enabled &&
       == o. &&
      data_field_regex_enabled == o.data_field_regex_enabled &&
       == o. &&
      data_field_size_enabled == o.data_field_size_enabled &&
       == o. &&
      draw_tabs_enabled == o.draw_tabs_enabled &&
       == o. &&
      first_last_email_tabs_enabled == o.first_last_email_tabs_enabled &&
       == o. &&
      list_tabs_enabled == o.list_tabs_enabled &&
       == o. &&
      note_tabs_enabled == o.note_tabs_enabled &&
       == o. &&
      prefill_tabs_enabled == o.prefill_tabs_enabled &&
       == o. &&
      radio_tabs_enabled == o.radio_tabs_enabled &&
       == o. &&
      saving_custom_tabs_enabled == o.saving_custom_tabs_enabled &&
       == o. &&
      sender_to_change_tab_assignments_enabled == o.sender_to_change_tab_assignments_enabled &&
       == o. &&
      shared_custom_tabs_enabled == o.shared_custom_tabs_enabled &&
       == o. &&
      tab_data_label_enabled == o.tab_data_label_enabled &&
       == o. &&
      tab_location_enabled == o.tab_location_enabled &&
       == o. &&
      tab_locking_enabled == o.tab_locking_enabled &&
       == o. &&
      tab_scale_enabled == o.tab_scale_enabled &&
       == o. &&
      tab_text_formatting_enabled == o.tab_text_formatting_enabled &&
       == o. &&
      text_tabs_enabled == o.text_tabs_enabled &&
       == o.
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 511

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = DocuSign_eSign.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



577
578
579
580
581
582
583
584
585
586
587
588
589
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 577

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 490

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


477
478
479
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 477

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



483
484
485
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 483

def hash
  [allow_tab_order, , approve_decline_tabs_enabled, , calculated_fields_enabled, , checkbox_tabs_enabled, , currency_tabs_enabled, , data_field_regex_enabled, , data_field_size_enabled, , draw_tabs_enabled, , first_last_email_tabs_enabled, , list_tabs_enabled, , note_tabs_enabled, , prefill_tabs_enabled, , radio_tabs_enabled, , saving_custom_tabs_enabled, , sender_to_change_tab_assignments_enabled, , shared_custom_tabs_enabled, , tab_data_label_enabled, , tab_location_enabled, , tab_locking_enabled, , tab_scale_enabled, , tab_text_formatting_enabled, , text_tabs_enabled, ].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



413
414
415
416
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 413

def list_invalid_properties
  invalid_properties = Array.new
  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



557
558
559
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 557

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



563
564
565
566
567
568
569
570
571
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 563

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



551
552
553
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 551

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



420
421
422
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 420

def valid?
  true
end