Class: SwaggerClient::PublicApiGetAccountResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/swagger_client/models/public_api_get_account_response.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ PublicApiGetAccountResponse

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
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
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
548
549
550
551
552
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
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 337

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?(:'Id')
    self.id = attributes[:'Id']
  end

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

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

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

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

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

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

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

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

  if attributes.has_key?(:'Owners')
    if (value = attributes[:'Owners']).is_a?(Array)
      self.owners = value
    end
  end

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

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

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

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

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

  if attributes.has_key?(:'Tags')
    if (value = attributes[:'Tags']).is_a?(Array)
      self.tags = value
    end
  end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

end

Instance Attribute Details

#additional_contact_billing_first_nameObject

Returns the value of attribute additional_contact_billing_first_name.



156
157
158
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 156

def additional_contact_billing_first_name
  @additional_contact_billing_first_name
end

#additional_contact_billing_idObject

Returns the value of attribute additional_contact_billing_id.



154
155
156
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 154

def additional_contact_billing_id
  @additional_contact_billing_id
end

#additional_contact_billing_is_primaryObject

Returns the value of attribute additional_contact_billing_is_primary.



160
161
162
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 160

def additional_contact_billing_is_primary
  @additional_contact_billing_is_primary
end

#additional_contact_billing_last_nameObject

Returns the value of attribute additional_contact_billing_last_name.



158
159
160
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 158

def additional_contact_billing_last_name
  @additional_contact_billing_last_name
end

#additional_contact_other_first_nameObject

Returns the value of attribute additional_contact_other_first_name.



164
165
166
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 164

def additional_contact_other_first_name
  @additional_contact_other_first_name
end

#additional_contact_other_idObject

Returns the value of attribute additional_contact_other_id.



162
163
164
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 162

def additional_contact_other_id
  @additional_contact_other_id
end

#additional_contact_other_is_primaryObject

Returns the value of attribute additional_contact_other_is_primary.



168
169
170
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 168

def additional_contact_other_is_primary
  @additional_contact_other_is_primary
end

#additional_contact_other_last_nameObject

Returns the value of attribute additional_contact_other_last_name.



166
167
168
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 166

def additional_contact_other_last_name
  @additional_contact_other_last_name
end

#address_business_cityObject

Returns the value of attribute address_business_city.



112
113
114
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 112

def address_business_city
  @address_business_city
end

#address_business_countryObject

Returns the value of attribute address_business_country.



118
119
120
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 118

def address_business_country
  @address_business_country
end

#address_business_is_primaryObject

Returns the value of attribute address_business_is_primary.



120
121
122
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 120

def address_business_is_primary
  @address_business_is_primary
end

#address_business_line1Object

Returns the value of attribute address_business_line1.



110
111
112
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 110

def address_business_line1
  @address_business_line1
end

#address_business_stateObject

Returns the value of attribute address_business_state.



116
117
118
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 116

def address_business_state
  @address_business_state
end

#address_business_zip_codeObject

Returns the value of attribute address_business_zip_code.



114
115
116
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 114

def address_business_zip_code
  @address_business_zip_code
end

#address_headquarters_cityObject

Returns the value of attribute address_headquarters_city.



100
101
102
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 100

def address_headquarters_city
  @address_headquarters_city
end

#address_headquarters_countryObject

Returns the value of attribute address_headquarters_country.



106
107
108
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 106

def address_headquarters_country
  @address_headquarters_country
end

#address_headquarters_is_primaryObject

Returns the value of attribute address_headquarters_is_primary.



108
109
110
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 108

def address_headquarters_is_primary
  @address_headquarters_is_primary
end

#address_headquarters_line1Object

Returns the value of attribute address_headquarters_line1.



98
99
100
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 98

def address_headquarters_line1
  @address_headquarters_line1
end

#address_headquarters_stateObject

Returns the value of attribute address_headquarters_state.



104
105
106
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 104

def address_headquarters_state
  @address_headquarters_state
end

#address_headquarters_zip_codeObject

Returns the value of attribute address_headquarters_zip_code.



102
103
104
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 102

def address_headquarters_zip_code
  @address_headquarters_zip_code
end

#address_other_cityObject

Returns the value of attribute address_other_city.



124
125
126
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 124

def address_other_city
  @address_other_city
end

#address_other_countryObject

Returns the value of attribute address_other_country.



130
131
132
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 130

def address_other_country
  @address_other_country
end

#address_other_is_primaryObject

Returns the value of attribute address_other_is_primary.



132
133
134
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 132

def address_other_is_primary
  @address_other_is_primary
end

#address_other_line1Object

Returns the value of attribute address_other_line1.



122
123
124
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 122

def address_other_line1
  @address_other_line1
end

#address_other_stateObject

Returns the value of attribute address_other_state.



128
129
130
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 128

def address_other_state
  @address_other_state
end

#address_other_zip_codeObject

Returns the value of attribute address_other_zip_code.



126
127
128
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 126

def address_other_zip_code
  @address_other_zip_code
end

#created_by_idObject

Returns the value of attribute created_by_id.



20
21
22
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 20

def created_by_id
  @created_by_id
end

#created_by_nameObject

Returns the value of attribute created_by_name.



22
23
24
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 22

def created_by_name
  @created_by_name
end

#created_onObject

Returns the value of attribute created_on.



24
25
26
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 24

def created_on
  @created_on
end

#descriptionObject

Returns the value of attribute description.



40
41
42
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 40

def description
  @description
end

#email_address_otherObject

Returns the value of attribute email_address_other.



94
95
96
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 94

def email_address_other
  @email_address_other
end

#email_address_other_is_primaryObject

Returns the value of attribute email_address_other_is_primary.



96
97
98
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 96

def email_address_other_is_primary
  @email_address_other_is_primary
end

#email_address_salesObject

Returns the value of attribute email_address_sales.



86
87
88
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 86

def email_address_sales
  @email_address_sales
end

#email_address_sales_is_primaryObject

Returns the value of attribute email_address_sales_is_primary.



88
89
90
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 88

def email_address_sales_is_primary
  @email_address_sales_is_primary
end

#email_address_supportObject

Returns the value of attribute email_address_support.



90
91
92
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 90

def email_address_support
  @email_address_support
end

#email_address_support_is_primaryObject

Returns the value of attribute email_address_support_is_primary.



92
93
94
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 92

def email_address_support_is_primary
  @email_address_support_is_primary
end

#external_primary_keyObject

Returns the value of attribute external_primary_key.



42
43
44
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 42

def external_primary_key
  @external_primary_key
end

#idObject

Returns the value of attribute id.



18
19
20
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 18

def id
  @id
end

#modified_by_idObject

Returns the value of attribute modified_by_id.



26
27
28
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 26

def modified_by_id
  @modified_by_id
end

#modified_by_nameObject

Returns the value of attribute modified_by_name.



28
29
30
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 28

def modified_by_name
  @modified_by_name
end

#modified_onObject

Returns the value of attribute modified_on.



30
31
32
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 30

def modified_on
  @modified_on
end

#nameObject

Returns the value of attribute name.



38
39
40
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 38

def name
  @name
end

#ownersObject

Returns the value of attribute owners.



36
37
38
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 36

def owners
  @owners
end

#parent_account_idObject

Returns the value of attribute parent_account_id.



44
45
46
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 44

def 
  @parent_account_id
end

#parent_account_nameObject

Returns the value of attribute parent_account_name.



46
47
48
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 46

def 
  @parent_account_name
end

#phone_number_faxObject

Returns the value of attribute phone_number_fax.



56
57
58
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 56

def phone_number_fax
  @phone_number_fax
end

#phone_number_fax_extensionObject

Returns the value of attribute phone_number_fax_extension.



58
59
60
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 58

def phone_number_fax_extension
  @phone_number_fax_extension
end

#phone_number_fax_is_primaryObject

Returns the value of attribute phone_number_fax_is_primary.



60
61
62
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 60

def phone_number_fax_is_primary
  @phone_number_fax_is_primary
end

#phone_number_mainObject

Returns the value of attribute phone_number_main.



50
51
52
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 50

def phone_number_main
  @phone_number_main
end

#phone_number_main_extensionObject

Returns the value of attribute phone_number_main_extension.



52
53
54
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 52

def phone_number_main_extension
  @phone_number_main_extension
end

#phone_number_main_is_primaryObject

Returns the value of attribute phone_number_main_is_primary.



54
55
56
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 54

def phone_number_main_is_primary
  @phone_number_main_is_primary
end

#phone_number_otherObject

Returns the value of attribute phone_number_other.



80
81
82
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 80

def phone_number_other
  @phone_number_other
end

#phone_number_other_extensionObject

Returns the value of attribute phone_number_other_extension.



82
83
84
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 82

def phone_number_other_extension
  @phone_number_other_extension
end

#phone_number_other_is_primaryObject

Returns the value of attribute phone_number_other_is_primary.



84
85
86
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 84

def phone_number_other_is_primary
  @phone_number_other_is_primary
end

#phone_number_salesObject

Returns the value of attribute phone_number_sales.



68
69
70
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 68

def phone_number_sales
  @phone_number_sales
end

#phone_number_sales_extensionObject

Returns the value of attribute phone_number_sales_extension.



70
71
72
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 70

def phone_number_sales_extension
  @phone_number_sales_extension
end

#phone_number_sales_is_primaryObject

Returns the value of attribute phone_number_sales_is_primary.



72
73
74
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 72

def phone_number_sales_is_primary
  @phone_number_sales_is_primary
end

#phone_number_skypeObject

Returns the value of attribute phone_number_skype.



74
75
76
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 74

def phone_number_skype
  @phone_number_skype
end

#phone_number_skype_extensionObject

Returns the value of attribute phone_number_skype_extension.



76
77
78
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 76

def phone_number_skype_extension
  @phone_number_skype_extension
end

#phone_number_skype_is_primaryObject

Returns the value of attribute phone_number_skype_is_primary.



78
79
80
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 78

def phone_number_skype_is_primary
  @phone_number_skype_is_primary
end

#phone_number_supportObject

Returns the value of attribute phone_number_support.



62
63
64
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 62

def phone_number_support
  @phone_number_support
end

#phone_number_support_extensionObject

Returns the value of attribute phone_number_support_extension.



64
65
66
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 64

def phone_number_support_extension
  @phone_number_support_extension
end

#phone_number_support_is_primaryObject

Returns the value of attribute phone_number_support_is_primary.



66
67
68
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 66

def phone_number_support_is_primary
  @phone_number_support_is_primary
end

#status_idObject

Returns the value of attribute status_id.



32
33
34
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 32

def status_id
  @status_id
end

#status_nameObject

Returns the value of attribute status_name.



34
35
36
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 34

def status_name
  @status_name
end

#tagsObject

Returns the value of attribute tags.



48
49
50
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 48

def tags
  @tags
end

#website_blogObject

Returns the value of attribute website_blog.



138
139
140
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 138

def website_blog
  @website_blog
end

#website_blog_is_primaryObject

Returns the value of attribute website_blog_is_primary.



140
141
142
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 140

def website_blog_is_primary
  @website_blog_is_primary
end

#website_businessObject

Returns the value of attribute website_business.



134
135
136
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 134

def website_business
  @website_business
end

#website_business_is_primaryObject

Returns the value of attribute website_business_is_primary.



136
137
138
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 136

def website_business_is_primary
  @website_business_is_primary
end

#website_facebookObject

Returns the value of attribute website_facebook.



146
147
148
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 146

def website_facebook
  @website_facebook
end

#website_facebook_is_primaryObject

Returns the value of attribute website_facebook_is_primary.



148
149
150
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 148

def website_facebook_is_primary
  @website_facebook_is_primary
end

#website_linked_inObject

Returns the value of attribute website_linked_in.



142
143
144
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 142

def website_linked_in
  @website_linked_in
end

#website_linked_in_is_primaryObject

Returns the value of attribute website_linked_in_is_primary.



144
145
146
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 144

def website_linked_in_is_primary
  @website_linked_in_is_primary
end

#website_otherObject

Returns the value of attribute website_other.



150
151
152
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 150

def website_other
  @website_other
end

#website_other_is_primaryObject

Returns the value of attribute website_other_is_primary.



152
153
154
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 152

def website_other_is_primary
  @website_other_is_primary
end

Class Method Details

.attribute_mapObject

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



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
205
206
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
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 172

def self.attribute_map
  {
    :'id' => :'Id',
    :'created_by_id' => :'CreatedBy_Id',
    :'created_by_name' => :'CreatedBy_Name',
    :'created_on' => :'CreatedOn',
    :'modified_by_id' => :'ModifiedBy_Id',
    :'modified_by_name' => :'ModifiedBy_Name',
    :'modified_on' => :'ModifiedOn',
    :'status_id' => :'Status_Id',
    :'status_name' => :'Status_Name',
    :'owners' => :'Owners',
    :'name' => :'Name',
    :'description' => :'Description',
    :'external_primary_key' => :'ExternalPrimaryKey',
    :'parent_account_id' => :'ParentAccount_Id',
    :'parent_account_name' => :'ParentAccount_Name',
    :'tags' => :'Tags',
    :'phone_number_main' => :'PhoneNumber_Main',
    :'phone_number_main_extension' => :'PhoneNumber_Main_Extension',
    :'phone_number_main_is_primary' => :'PhoneNumber_Main_IsPrimary',
    :'phone_number_fax' => :'PhoneNumber_Fax',
    :'phone_number_fax_extension' => :'PhoneNumber_Fax_Extension',
    :'phone_number_fax_is_primary' => :'PhoneNumber_Fax_IsPrimary',
    :'phone_number_support' => :'PhoneNumber_Support',
    :'phone_number_support_extension' => :'PhoneNumber_Support_Extension',
    :'phone_number_support_is_primary' => :'PhoneNumber_Support_IsPrimary',
    :'phone_number_sales' => :'PhoneNumber_Sales',
    :'phone_number_sales_extension' => :'PhoneNumber_Sales_Extension',
    :'phone_number_sales_is_primary' => :'PhoneNumber_Sales_IsPrimary',
    :'phone_number_skype' => :'PhoneNumber_Skype',
    :'phone_number_skype_extension' => :'PhoneNumber_Skype_Extension',
    :'phone_number_skype_is_primary' => :'PhoneNumber_Skype_IsPrimary',
    :'phone_number_other' => :'PhoneNumber_Other',
    :'phone_number_other_extension' => :'PhoneNumber_Other_Extension',
    :'phone_number_other_is_primary' => :'PhoneNumber_Other_IsPrimary',
    :'email_address_sales' => :'EmailAddress_Sales',
    :'email_address_sales_is_primary' => :'EmailAddress_Sales_IsPrimary',
    :'email_address_support' => :'EmailAddress_Support',
    :'email_address_support_is_primary' => :'EmailAddress_Support_IsPrimary',
    :'email_address_other' => :'EmailAddress_Other',
    :'email_address_other_is_primary' => :'EmailAddress_Other_IsPrimary',
    :'address_headquarters_line1' => :'Address_Headquarters_Line1',
    :'address_headquarters_city' => :'Address_Headquarters_City',
    :'address_headquarters_zip_code' => :'Address_Headquarters_ZipCode',
    :'address_headquarters_state' => :'Address_Headquarters_State',
    :'address_headquarters_country' => :'Address_Headquarters_Country',
    :'address_headquarters_is_primary' => :'Address_Headquarters_IsPrimary',
    :'address_business_line1' => :'Address_Business_Line1',
    :'address_business_city' => :'Address_Business_City',
    :'address_business_zip_code' => :'Address_Business_ZipCode',
    :'address_business_state' => :'Address_Business_State',
    :'address_business_country' => :'Address_Business_Country',
    :'address_business_is_primary' => :'Address_Business_IsPrimary',
    :'address_other_line1' => :'Address_Other_Line1',
    :'address_other_city' => :'Address_Other_City',
    :'address_other_zip_code' => :'Address_Other_ZipCode',
    :'address_other_state' => :'Address_Other_State',
    :'address_other_country' => :'Address_Other_Country',
    :'address_other_is_primary' => :'Address_Other_IsPrimary',
    :'website_business' => :'Website_Business',
    :'website_business_is_primary' => :'Website_Business_IsPrimary',
    :'website_blog' => :'Website_Blog',
    :'website_blog_is_primary' => :'Website_Blog_IsPrimary',
    :'website_linked_in' => :'Website_LinkedIn',
    :'website_linked_in_is_primary' => :'Website_LinkedIn_IsPrimary',
    :'website_facebook' => :'Website_Facebook',
    :'website_facebook_is_primary' => :'Website_Facebook_IsPrimary',
    :'website_other' => :'Website_Other',
    :'website_other_is_primary' => :'Website_Other_IsPrimary',
    :'additional_contact_billing_id' => :'AdditionalContact_Billing_Id',
    :'additional_contact_billing_first_name' => :'AdditionalContact_Billing_FirstName',
    :'additional_contact_billing_last_name' => :'AdditionalContact_Billing_LastName',
    :'additional_contact_billing_is_primary' => :'AdditionalContact_Billing_IsPrimary',
    :'additional_contact_other_id' => :'AdditionalContact_Other_Id',
    :'additional_contact_other_first_name' => :'AdditionalContact_Other_FirstName',
    :'additional_contact_other_last_name' => :'AdditionalContact_Other_LastName',
    :'additional_contact_other_is_primary' => :'AdditionalContact_Other_IsPrimary'
  }
end

.swagger_typesObject

Attribute type mapping.



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
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 254

def self.swagger_types
  {
    :'id' => :'String',
    :'created_by_id' => :'String',
    :'created_by_name' => :'String',
    :'created_on' => :'DateTime',
    :'modified_by_id' => :'String',
    :'modified_by_name' => :'String',
    :'modified_on' => :'DateTime',
    :'status_id' => :'String',
    :'status_name' => :'String',
    :'owners' => :'Array<PublicApiRecordOwner>',
    :'name' => :'String',
    :'description' => :'String',
    :'external_primary_key' => :'String',
    :'parent_account_id' => :'String',
    :'parent_account_name' => :'String',
    :'tags' => :'Hash<String, Array<String>>',
    :'phone_number_main' => :'String',
    :'phone_number_main_extension' => :'String',
    :'phone_number_main_is_primary' => :'BOOLEAN',
    :'phone_number_fax' => :'String',
    :'phone_number_fax_extension' => :'String',
    :'phone_number_fax_is_primary' => :'BOOLEAN',
    :'phone_number_support' => :'String',
    :'phone_number_support_extension' => :'String',
    :'phone_number_support_is_primary' => :'BOOLEAN',
    :'phone_number_sales' => :'String',
    :'phone_number_sales_extension' => :'String',
    :'phone_number_sales_is_primary' => :'BOOLEAN',
    :'phone_number_skype' => :'String',
    :'phone_number_skype_extension' => :'String',
    :'phone_number_skype_is_primary' => :'BOOLEAN',
    :'phone_number_other' => :'String',
    :'phone_number_other_extension' => :'String',
    :'phone_number_other_is_primary' => :'BOOLEAN',
    :'email_address_sales' => :'String',
    :'email_address_sales_is_primary' => :'BOOLEAN',
    :'email_address_support' => :'String',
    :'email_address_support_is_primary' => :'BOOLEAN',
    :'email_address_other' => :'String',
    :'email_address_other_is_primary' => :'BOOLEAN',
    :'address_headquarters_line1' => :'String',
    :'address_headquarters_city' => :'String',
    :'address_headquarters_zip_code' => :'String',
    :'address_headquarters_state' => :'String',
    :'address_headquarters_country' => :'String',
    :'address_headquarters_is_primary' => :'BOOLEAN',
    :'address_business_line1' => :'String',
    :'address_business_city' => :'String',
    :'address_business_zip_code' => :'String',
    :'address_business_state' => :'String',
    :'address_business_country' => :'String',
    :'address_business_is_primary' => :'BOOLEAN',
    :'address_other_line1' => :'String',
    :'address_other_city' => :'String',
    :'address_other_zip_code' => :'String',
    :'address_other_state' => :'String',
    :'address_other_country' => :'String',
    :'address_other_is_primary' => :'BOOLEAN',
    :'website_business' => :'String',
    :'website_business_is_primary' => :'BOOLEAN',
    :'website_blog' => :'String',
    :'website_blog_is_primary' => :'BOOLEAN',
    :'website_linked_in' => :'String',
    :'website_linked_in_is_primary' => :'BOOLEAN',
    :'website_facebook' => :'String',
    :'website_facebook_is_primary' => :'BOOLEAN',
    :'website_other' => :'String',
    :'website_other_is_primary' => :'BOOLEAN',
    :'additional_contact_billing_id' => :'String',
    :'additional_contact_billing_first_name' => :'String',
    :'additional_contact_billing_last_name' => :'String',
    :'additional_contact_billing_is_primary' => :'BOOLEAN',
    :'additional_contact_other_id' => :'String',
    :'additional_contact_other_first_name' => :'String',
    :'additional_contact_other_last_name' => :'String',
    :'additional_contact_other_is_primary' => :'BOOLEAN'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 668

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      created_by_id == o.created_by_id &&
      created_by_name == o.created_by_name &&
      created_on == o.created_on &&
      modified_by_id == o.modified_by_id &&
      modified_by_name == o.modified_by_name &&
      modified_on == o.modified_on &&
      status_id == o.status_id &&
      status_name == o.status_name &&
      owners == o.owners &&
      name == o.name &&
      description == o.description &&
      external_primary_key == o.external_primary_key &&
       == o. &&
       == o. &&
      tags == o.tags &&
      phone_number_main == o.phone_number_main &&
      phone_number_main_extension == o.phone_number_main_extension &&
      phone_number_main_is_primary == o.phone_number_main_is_primary &&
      phone_number_fax == o.phone_number_fax &&
      phone_number_fax_extension == o.phone_number_fax_extension &&
      phone_number_fax_is_primary == o.phone_number_fax_is_primary &&
      phone_number_support == o.phone_number_support &&
      phone_number_support_extension == o.phone_number_support_extension &&
      phone_number_support_is_primary == o.phone_number_support_is_primary &&
      phone_number_sales == o.phone_number_sales &&
      phone_number_sales_extension == o.phone_number_sales_extension &&
      phone_number_sales_is_primary == o.phone_number_sales_is_primary &&
      phone_number_skype == o.phone_number_skype &&
      phone_number_skype_extension == o.phone_number_skype_extension &&
      phone_number_skype_is_primary == o.phone_number_skype_is_primary &&
      phone_number_other == o.phone_number_other &&
      phone_number_other_extension == o.phone_number_other_extension &&
      phone_number_other_is_primary == o.phone_number_other_is_primary &&
      email_address_sales == o.email_address_sales &&
      email_address_sales_is_primary == o.email_address_sales_is_primary &&
      email_address_support == o.email_address_support &&
      email_address_support_is_primary == o.email_address_support_is_primary &&
      email_address_other == o.email_address_other &&
      email_address_other_is_primary == o.email_address_other_is_primary &&
      address_headquarters_line1 == o.address_headquarters_line1 &&
      address_headquarters_city == o.address_headquarters_city &&
      address_headquarters_zip_code == o.address_headquarters_zip_code &&
      address_headquarters_state == o.address_headquarters_state &&
      address_headquarters_country == o.address_headquarters_country &&
      address_headquarters_is_primary == o.address_headquarters_is_primary &&
      address_business_line1 == o.address_business_line1 &&
      address_business_city == o.address_business_city &&
      address_business_zip_code == o.address_business_zip_code &&
      address_business_state == o.address_business_state &&
      address_business_country == o.address_business_country &&
      address_business_is_primary == o.address_business_is_primary &&
      address_other_line1 == o.address_other_line1 &&
      address_other_city == o.address_other_city &&
      address_other_zip_code == o.address_other_zip_code &&
      address_other_state == o.address_other_state &&
      address_other_country == o.address_other_country &&
      address_other_is_primary == o.address_other_is_primary &&
      website_business == o.website_business &&
      website_business_is_primary == o.website_business_is_primary &&
      website_blog == o.website_blog &&
      website_blog_is_primary == o.website_blog_is_primary &&
      website_linked_in == o.website_linked_in &&
      website_linked_in_is_primary == o.website_linked_in_is_primary &&
      website_facebook == o.website_facebook &&
      website_facebook_is_primary == o.website_facebook_is_primary &&
      website_other == o.website_other &&
      website_other_is_primary == o.website_other_is_primary &&
      additional_contact_billing_id == o.additional_contact_billing_id &&
      additional_contact_billing_first_name == o.additional_contact_billing_first_name &&
      additional_contact_billing_last_name == o.additional_contact_billing_last_name &&
      additional_contact_billing_is_primary == o.additional_contact_billing_is_primary &&
      additional_contact_other_id == o.additional_contact_other_id &&
      additional_contact_other_first_name == o.additional_contact_other_first_name &&
      additional_contact_other_last_name == o.additional_contact_other_last_name &&
      additional_contact_other_is_primary == o.additional_contact_other_is_primary
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



785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 785

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 = SwaggerClient.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



851
852
853
854
855
856
857
858
859
860
861
862
863
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 851

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



764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 764

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 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


751
752
753
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 751

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



757
758
759
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 757

def hash
  [id, created_by_id, created_by_name, created_on, modified_by_id, modified_by_name, modified_on, status_id, status_name, owners, name, description, external_primary_key, , , tags, phone_number_main, phone_number_main_extension, phone_number_main_is_primary, phone_number_fax, phone_number_fax_extension, phone_number_fax_is_primary, phone_number_support, phone_number_support_extension, phone_number_support_is_primary, phone_number_sales, phone_number_sales_extension, phone_number_sales_is_primary, phone_number_skype, phone_number_skype_extension, phone_number_skype_is_primary, phone_number_other, phone_number_other_extension, phone_number_other_is_primary, email_address_sales, email_address_sales_is_primary, email_address_support, email_address_support_is_primary, email_address_other, email_address_other_is_primary, address_headquarters_line1, address_headquarters_city, address_headquarters_zip_code, address_headquarters_state, address_headquarters_country, address_headquarters_is_primary, address_business_line1, address_business_city, address_business_zip_code, address_business_state, address_business_country, address_business_is_primary, address_other_line1, address_other_city, address_other_zip_code, address_other_state, address_other_country, address_other_is_primary, website_business, website_business_is_primary, website_blog, website_blog_is_primary, website_linked_in, website_linked_in_is_primary, website_facebook, website_facebook_is_primary, website_other, website_other_is_primary, additional_contact_billing_id, additional_contact_billing_first_name, additional_contact_billing_last_name, additional_contact_billing_is_primary, additional_contact_other_id, additional_contact_other_first_name, additional_contact_other_last_name, additional_contact_other_is_primary].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



655
656
657
658
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 655

def list_invalid_properties
  invalid_properties = Array.new
  return 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



831
832
833
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 831

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



837
838
839
840
841
842
843
844
845
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 837

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



825
826
827
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 825

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



662
663
664
# File 'lib/swagger_client/models/public_api_get_account_response.rb', line 662

def valid?
  return true
end