Class: DocuSign_eSign::TabAccountSettings
- Inherits:
-
Object
- Object
- DocuSign_eSign::TabAccountSettings
- Defined in:
- lib/docusign_esign/models/tab_account_settings.rb
Instance Attribute Summary collapse
-
#allow_tab_order ⇒ Object
Returns the value of attribute allow_tab_order.
-
#allow_tab_order_metadata ⇒ Object
Metadata that indicates whether the ‘allowTabOrder` property is editable.
-
#approve_decline_tabs_enabled ⇒ Object
Returns the value of attribute approve_decline_tabs_enabled.
-
#approve_decline_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘approveDeclineTabs` property is editable.
-
#calculated_fields_enabled ⇒ Object
Returns the value of attribute calculated_fields_enabled.
-
#calculated_fields_metadata ⇒ Object
Metadata that indicates whether the ‘calculatedFields` property is editable.
-
#check_box_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘checkBoxTabs` property is editable.
-
#checkbox_tabs_enabled ⇒ Object
Returns the value of attribute checkbox_tabs_enabled.
-
#data_field_regex_enabled ⇒ Object
Returns the value of attribute data_field_regex_enabled.
-
#data_field_regex_metadata ⇒ Object
Metadata that indicates whether the ‘dataFieldRegex` property is editable.
-
#data_field_size_enabled ⇒ Object
Returns the value of attribute data_field_size_enabled.
-
#data_field_size_metadata ⇒ Object
Metadata that indicates whether the ‘dataFieldSize` property is editable.
-
#draw_tabs_enabled ⇒ Object
Returns the value of attribute draw_tabs_enabled.
-
#draw_tabs_metadata ⇒ Object
Returns the value of attribute draw_tabs_metadata.
-
#enable_tab_agreement_details ⇒ Object
Returns the value of attribute enable_tab_agreement_details.
-
#enable_tab_agreement_details_metadata ⇒ Object
Returns the value of attribute enable_tab_agreement_details_metadata.
-
#first_last_email_tabs_enabled ⇒ Object
Returns the value of attribute first_last_email_tabs_enabled.
-
#first_last_email_tabs_metadata ⇒ Object
Reserved for DocuSign.
-
#list_tabs_enabled ⇒ Object
Returns the value of attribute list_tabs_enabled.
-
#list_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘listTabs` property is editable.
-
#note_tabs_enabled ⇒ Object
Returns the value of attribute note_tabs_enabled.
-
#note_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘noteTabs` property is editable.
-
#numerical_tabs_enabled ⇒ Object
Returns the value of attribute numerical_tabs_enabled.
-
#numerical_tabs_metadata ⇒ Object
Returns the value of attribute numerical_tabs_metadata.
-
#prefill_tabs_enabled ⇒ Object
Returns the value of attribute prefill_tabs_enabled.
-
#prefill_tabs_metadata ⇒ Object
Returns the value of attribute prefill_tabs_metadata.
-
#radio_tabs_enabled ⇒ Object
Returns the value of attribute radio_tabs_enabled.
-
#radio_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘radioTabs` property is editable.
-
#saving_custom_tabs_enabled ⇒ Object
Returns the value of attribute saving_custom_tabs_enabled.
-
#saving_custom_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘savingCustomTabs` property is editable.
-
#sender_to_change_tab_assignments_enabled ⇒ Object
Returns the value of attribute sender_to_change_tab_assignments_enabled.
-
#sender_to_change_tab_assignments_metadata ⇒ Object
Reserved for DocuSign.
-
#shared_custom_tabs_enabled ⇒ Object
Returns the value of attribute shared_custom_tabs_enabled.
-
#shared_custom_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘sharedCustomTabs` property is editable.
-
#tab_data_label_enabled ⇒ Object
Returns the value of attribute tab_data_label_enabled.
-
#tab_data_label_metadata ⇒ Object
Metadata that indicates whether the ‘tabDataLabel` property is editable.
-
#tab_location_enabled ⇒ Object
Returns the value of attribute tab_location_enabled.
-
#tab_location_metadata ⇒ Object
Reserved for DocuSign.
-
#tab_locking_enabled ⇒ Object
Returns the value of attribute tab_locking_enabled.
-
#tab_locking_metadata ⇒ Object
Metadata that indicates whether the ‘tabLocking` property is editable.
-
#tab_scale_enabled ⇒ Object
Returns the value of attribute tab_scale_enabled.
-
#tab_scale_metadata ⇒ Object
Reserved for DocuSign.
-
#tab_text_formatting_enabled ⇒ Object
Returns the value of attribute tab_text_formatting_enabled.
-
#tab_text_formatting_metadata ⇒ Object
Metadata that indicates whether the ‘tabTextFormatting` property is editable.
-
#text_tabs_enabled ⇒ Object
Returns the value of attribute text_tabs_enabled.
-
#text_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘textTabs` property is editable.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ TabAccountSettings
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ TabAccountSettings
Initializes the object
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 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 260 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?(:'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?(:'enableTabAgreementDetails') self.enable_tab_agreement_details = attributes[:'enableTabAgreementDetails'] end if attributes.has_key?(:'enableTabAgreementDetailsMetadata') self. = attributes[:'enableTabAgreementDetailsMetadata'] 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?(:'numericalTabsEnabled') self.numerical_tabs_enabled = attributes[:'numericalTabsEnabled'] end if attributes.has_key?(:'numericalTabsMetadata') self. = attributes[:'numericalTabsMetadata'] 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_order ⇒ Object
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_metadata ⇒ Object
Metadata that indicates whether the ‘allowTabOrder` property is editable.
20 21 22 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 20 def @allow_tab_order_metadata end |
#approve_decline_tabs_enabled ⇒ Object
Returns the value of attribute approve_decline_tabs_enabled.
23 24 25 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 23 def approve_decline_tabs_enabled @approve_decline_tabs_enabled end |
#approve_decline_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘approveDeclineTabs` property is editable.
26 27 28 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 26 def @approve_decline_tabs_metadata end |
#calculated_fields_enabled ⇒ Object
Returns the value of attribute calculated_fields_enabled.
29 30 31 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 29 def calculated_fields_enabled @calculated_fields_enabled end |
#calculated_fields_metadata ⇒ Object
Metadata that indicates whether the ‘calculatedFields` property is editable.
32 33 34 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 32 def @calculated_fields_metadata end |
#check_box_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘checkBoxTabs` property is editable.
38 39 40 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 38 def @check_box_tabs_metadata end |
#checkbox_tabs_enabled ⇒ Object
Returns the value of attribute checkbox_tabs_enabled.
35 36 37 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 35 def checkbox_tabs_enabled @checkbox_tabs_enabled end |
#data_field_regex_enabled ⇒ Object
Returns the value of attribute data_field_regex_enabled.
41 42 43 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 41 def data_field_regex_enabled @data_field_regex_enabled end |
#data_field_regex_metadata ⇒ Object
Metadata that indicates whether the ‘dataFieldRegex` property is editable.
44 45 46 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 44 def @data_field_regex_metadata end |
#data_field_size_enabled ⇒ Object
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_metadata ⇒ Object
Metadata that indicates whether the ‘dataFieldSize` property is editable.
50 51 52 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 50 def @data_field_size_metadata end |
#draw_tabs_enabled ⇒ Object
Returns the value of attribute draw_tabs_enabled.
53 54 55 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 53 def draw_tabs_enabled @draw_tabs_enabled end |
#draw_tabs_metadata ⇒ Object
Returns the value of attribute draw_tabs_metadata.
56 57 58 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 56 def @draw_tabs_metadata end |
#enable_tab_agreement_details ⇒ Object
Returns the value of attribute enable_tab_agreement_details.
59 60 61 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 59 def enable_tab_agreement_details @enable_tab_agreement_details end |
#enable_tab_agreement_details_metadata ⇒ Object
Returns the value of attribute enable_tab_agreement_details_metadata.
62 63 64 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 62 def @enable_tab_agreement_details_metadata end |
#first_last_email_tabs_enabled ⇒ Object
Returns the value of attribute first_last_email_tabs_enabled.
65 66 67 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 65 def first_last_email_tabs_enabled @first_last_email_tabs_enabled end |
#first_last_email_tabs_metadata ⇒ Object
Reserved for DocuSign.
68 69 70 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 68 def @first_last_email_tabs_metadata end |
#list_tabs_enabled ⇒ Object
Returns the value of attribute list_tabs_enabled.
71 72 73 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 71 def list_tabs_enabled @list_tabs_enabled end |
#list_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘listTabs` property is editable.
74 75 76 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 74 def @list_tabs_metadata end |
#note_tabs_enabled ⇒ Object
Returns the value of attribute note_tabs_enabled.
77 78 79 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 77 def note_tabs_enabled @note_tabs_enabled end |
#note_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘noteTabs` property is editable.
80 81 82 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 80 def @note_tabs_metadata end |
#numerical_tabs_enabled ⇒ Object
Returns the value of attribute numerical_tabs_enabled.
83 84 85 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 83 def numerical_tabs_enabled @numerical_tabs_enabled end |
#numerical_tabs_metadata ⇒ Object
Returns the value of attribute numerical_tabs_metadata.
86 87 88 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 86 def @numerical_tabs_metadata end |
#prefill_tabs_enabled ⇒ Object
Returns the value of attribute prefill_tabs_enabled.
89 90 91 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 89 def prefill_tabs_enabled @prefill_tabs_enabled end |
#prefill_tabs_metadata ⇒ Object
Returns the value of attribute prefill_tabs_metadata.
92 93 94 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 92 def @prefill_tabs_metadata end |
#radio_tabs_enabled ⇒ Object
Returns the value of attribute radio_tabs_enabled.
95 96 97 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 95 def radio_tabs_enabled @radio_tabs_enabled end |
#radio_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘radioTabs` property is editable.
98 99 100 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 98 def @radio_tabs_metadata end |
#saving_custom_tabs_enabled ⇒ Object
Returns the value of attribute saving_custom_tabs_enabled.
101 102 103 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 101 def saving_custom_tabs_enabled @saving_custom_tabs_enabled end |
#saving_custom_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘savingCustomTabs` property is editable.
104 105 106 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 104 def @saving_custom_tabs_metadata end |
#sender_to_change_tab_assignments_enabled ⇒ Object
Returns the value of attribute sender_to_change_tab_assignments_enabled.
107 108 109 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 107 def sender_to_change_tab_assignments_enabled @sender_to_change_tab_assignments_enabled end |
#sender_to_change_tab_assignments_metadata ⇒ Object
Reserved for DocuSign.
110 111 112 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 110 def @sender_to_change_tab_assignments_metadata end |
#shared_custom_tabs_enabled ⇒ Object
Returns the value of attribute shared_custom_tabs_enabled.
113 114 115 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 113 def shared_custom_tabs_enabled @shared_custom_tabs_enabled end |
#shared_custom_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘sharedCustomTabs` property is editable.
116 117 118 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 116 def @shared_custom_tabs_metadata end |
#tab_data_label_enabled ⇒ Object
Returns the value of attribute tab_data_label_enabled.
119 120 121 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 119 def tab_data_label_enabled @tab_data_label_enabled end |
#tab_data_label_metadata ⇒ Object
Metadata that indicates whether the ‘tabDataLabel` property is editable.
122 123 124 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 122 def @tab_data_label_metadata end |
#tab_location_enabled ⇒ Object
Returns the value of attribute tab_location_enabled.
125 126 127 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 125 def tab_location_enabled @tab_location_enabled end |
#tab_location_metadata ⇒ Object
Reserved for DocuSign.
128 129 130 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 128 def @tab_location_metadata end |
#tab_locking_enabled ⇒ Object
Returns the value of attribute tab_locking_enabled.
131 132 133 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 131 def tab_locking_enabled @tab_locking_enabled end |
#tab_locking_metadata ⇒ Object
Metadata that indicates whether the ‘tabLocking` property is editable.
134 135 136 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 134 def @tab_locking_metadata end |
#tab_scale_enabled ⇒ Object
Returns the value of attribute tab_scale_enabled.
137 138 139 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 137 def tab_scale_enabled @tab_scale_enabled end |
#tab_scale_metadata ⇒ Object
Reserved for DocuSign.
140 141 142 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 140 def @tab_scale_metadata end |
#tab_text_formatting_enabled ⇒ Object
Returns the value of attribute tab_text_formatting_enabled.
143 144 145 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 143 def tab_text_formatting_enabled @tab_text_formatting_enabled end |
#tab_text_formatting_metadata ⇒ Object
Metadata that indicates whether the ‘tabTextFormatting` property is editable.
146 147 148 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 146 def @tab_text_formatting_metadata end |
#text_tabs_enabled ⇒ Object
Returns the value of attribute text_tabs_enabled.
149 150 151 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 149 def text_tabs_enabled @text_tabs_enabled end |
#text_tabs_metadata ⇒ Object
Metadata that indicates whether the ‘textTabs` property is editable.
152 153 154 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 152 def @text_tabs_metadata end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 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 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 155 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', :'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', :'enable_tab_agreement_details' => :'enableTabAgreementDetails', :'enable_tab_agreement_details_metadata' => :'enableTabAgreementDetailsMetadata', :'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', :'numerical_tabs_enabled' => :'numericalTabsEnabled', :'numerical_tabs_metadata' => :'numericalTabsMetadata', :'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_types ⇒ Object
Attribute type mapping.
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 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 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 207 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', :'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', :'enable_tab_agreement_details' => :'String', :'enable_tab_agreement_details_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', :'numerical_tabs_enabled' => :'String', :'numerical_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.
466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 466 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. && 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. && enable_tab_agreement_details == o.enable_tab_agreement_details && == 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. && numerical_tabs_enabled == o.numerical_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
553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 553 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
619 620 621 622 623 624 625 626 627 628 629 630 631 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 619 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
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 532 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
519 520 521 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 519 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
525 526 527 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 525 def hash [allow_tab_order, , approve_decline_tabs_enabled, , calculated_fields_enabled, , checkbox_tabs_enabled, , data_field_regex_enabled, , data_field_size_enabled, , draw_tabs_enabled, , enable_tab_agreement_details, , first_last_email_tabs_enabled, , list_tabs_enabled, , note_tabs_enabled, , numerical_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_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
453 454 455 456 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 453 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
599 600 601 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 599 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
605 606 607 608 609 610 611 612 613 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 605 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_s ⇒ String
Returns the string representation of the object
593 594 595 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 593 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
460 461 462 |
# File 'lib/docusign_esign/models/tab_account_settings.rb', line 460 def valid? true end |