Class: SwaggerClient::PublicApiGetContactResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ PublicApiGetContactResponse

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
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
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
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
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 577

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  if attributes.has_key?(:'PhoneNumber_Home_IsPrimary')
    self.phone_number_home_is_primary = attributes[:'PhoneNumber_Home_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_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_Work')
    self.email_address_work = attributes[:'EmailAddress_Work']
  end

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

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

  if attributes.has_key?(:'EmailAddress_Personal_IsPrimary')
    self.email_address_personal_is_primary = attributes[:'EmailAddress_Personal_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_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_State')
    self.address_business_state = attributes[:'Address_Business_State']
  end

  if attributes.has_key?(:'Address_Business_ZipCode')
    self.address_business_zip_code = attributes[:'Address_Business_ZipCode']
  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_Home_Line1')
    self.address_home_line1 = attributes[:'Address_Home_Line1']
  end

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

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

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

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

  if attributes.has_key?(:'Address_Home_IsPrimary')
    self.address_home_is_primary = attributes[:'Address_Home_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_State')
    self.address_other_state = attributes[:'Address_Other_State']
  end

  if attributes.has_key?(:'Address_Other_ZipCode')
    self.address_other_zip_code = attributes[:'Address_Other_ZipCode']
  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_Personal')
    self.website_personal = attributes[:'Website_Personal']
  end

  if attributes.has_key?(:'Website_Personal_IsPrimary')
    self.website_personal_is_primary = attributes[:'Website_Personal_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?(:'KeyDate_Anniversary')
    self.key_date_anniversary = attributes[:'KeyDate_Anniversary']
  end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

end

Instance Attribute Details

#address_business_cityObject

Returns the value of attribute address_business_city.



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

def address_business_city
  @address_business_city
end

#address_business_countryObject

Returns the value of attribute address_business_country.



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

def address_business_country
  @address_business_country
end

#address_business_is_primaryObject

Returns the value of attribute address_business_is_primary.



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

def address_business_is_primary
  @address_business_is_primary
end

#address_business_line1Object

Returns the value of attribute address_business_line1.



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

def address_business_line1
  @address_business_line1
end

#address_business_stateObject

Returns the value of attribute address_business_state.



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

def address_business_state
  @address_business_state
end

#address_business_zip_codeObject

Returns the value of attribute address_business_zip_code.



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

def address_business_zip_code
  @address_business_zip_code
end

#address_home_cityObject

Returns the value of attribute address_home_city.



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

def address_home_city
  @address_home_city
end

#address_home_countryObject

Returns the value of attribute address_home_country.



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

def address_home_country
  @address_home_country
end

#address_home_is_primaryObject

Returns the value of attribute address_home_is_primary.



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

def address_home_is_primary
  @address_home_is_primary
end

#address_home_line1Object

Returns the value of attribute address_home_line1.



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

def address_home_line1
  @address_home_line1
end

#address_home_stateObject

Returns the value of attribute address_home_state.



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

def address_home_state
  @address_home_state
end

#address_home_zip_codeObject

Returns the value of attribute address_home_zip_code.



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

def address_home_zip_code
  @address_home_zip_code
end

#address_other_cityObject

Returns the value of attribute address_other_city.



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

def address_other_city
  @address_other_city
end

#address_other_countryObject

Returns the value of attribute address_other_country.



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

def address_other_country
  @address_other_country
end

#address_other_is_primaryObject

Returns the value of attribute address_other_is_primary.



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

def address_other_is_primary
  @address_other_is_primary
end

#address_other_line1Object

Returns the value of attribute address_other_line1.



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

def address_other_line1
  @address_other_line1
end

#address_other_stateObject

Returns the value of attribute address_other_state.



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

def address_other_state
  @address_other_state
end

#address_other_zip_codeObject

Returns the value of attribute address_other_zip_code.



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

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_contact_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_contact_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_contact_response.rb', line 24

def created_on
  @created_on
end

#current_position_company_idObject

Returns the value of attribute current_position_company_id.



204
205
206
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 204

def current_position_company_id
  @current_position_company_id
end

#current_position_company_nameObject

Returns the value of attribute current_position_company_name.



206
207
208
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 206

def current_position_company_name
  @current_position_company_name
end

#current_position_titleObject

Returns the value of attribute current_position_title.



202
203
204
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 202

def current_position_title
  @current_position_title
end

#current_position_when_endObject

Returns the value of attribute current_position_when_end.



200
201
202
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 200

def current_position_when_end
  @current_position_when_end
end

#current_position_when_startObject

Returns the value of attribute current_position_when_start.



198
199
200
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 198

def current_position_when_start
  @current_position_when_start
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#education_accreditation_idObject

Returns the value of attribute education_accreditation_id.



212
213
214
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 212

def education_accreditation_id
  @education_accreditation_id
end

#education_accreditation_nameObject

Returns the value of attribute education_accreditation_name.



214
215
216
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 214

def education_accreditation_name
  @education_accreditation_name
end

#education_honorsObject

Returns the value of attribute education_honors.



220
221
222
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 220

def education_honors
  @education_honors
end

#education_institution_idObject

Returns the value of attribute education_institution_id.



216
217
218
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 216

def education_institution_id
  @education_institution_id
end

#education_institution_nameObject

Returns the value of attribute education_institution_name.



218
219
220
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 218

def education_institution_name
  @education_institution_name
end

#education_when_endObject

Returns the value of attribute education_when_end.



210
211
212
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 210

def education_when_end
  @education_when_end
end

#education_when_startObject

Returns the value of attribute education_when_start.



208
209
210
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 208

def education_when_start
  @education_when_start
end

#email_address_otherObject

Returns the value of attribute email_address_other.



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

def email_address_other
  @email_address_other
end

#email_address_other_is_primaryObject

Returns the value of attribute email_address_other_is_primary.



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

def email_address_other_is_primary
  @email_address_other_is_primary
end

#email_address_personalObject

Returns the value of attribute email_address_personal.



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

def email_address_personal
  @email_address_personal
end

#email_address_personal_is_primaryObject

Returns the value of attribute email_address_personal_is_primary.



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

def email_address_personal_is_primary
  @email_address_personal_is_primary
end

#email_address_workObject

Returns the value of attribute email_address_work.



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

def email_address_work
  @email_address_work
end

#email_address_work_is_primaryObject

Returns the value of attribute email_address_work_is_primary.



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

def email_address_work_is_primary
  @email_address_work_is_primary
end

#ethnicity_idObject

Returns the value of attribute ethnicity_id.



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

def ethnicity_id
  @ethnicity_id
end

#ethnicity_nameObject

Returns the value of attribute ethnicity_name.



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

def ethnicity_name
  @ethnicity_name
end

#external_primary_keyObject

Returns the value of attribute external_primary_key.



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

def external_primary_key
  @external_primary_key
end

#first_nameObject

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#gender_idObject

Returns the value of attribute gender_id.



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

def gender_id
  @gender_id
end

#gender_nameObject

Returns the value of attribute gender_name.



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

def gender_name
  @gender_name
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#key_date_anniversaryObject

Returns the value of attribute key_date_anniversary.



192
193
194
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 192

def key_date_anniversary
  @key_date_anniversary
end

#key_date_birthdayObject

Returns the value of attribute key_date_birthday.



194
195
196
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 194

def key_date_birthday
  @key_date_birthday
end

#key_date_otherObject

Returns the value of attribute key_date_other.



196
197
198
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 196

def key_date_other
  @key_date_other
end

#last_nameObject

Returns the value of attribute last_name.



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

def last_name
  @last_name
end

#middle_nameObject

Returns the value of attribute middle_name.



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

def middle_name
  @middle_name
end

#modified_by_idObject

Returns the value of attribute modified_by_id.



26
27
28
# File 'lib/swagger_client/models/public_api_get_contact_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_contact_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_contact_response.rb', line 30

def modified_on
  @modified_on
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#nick_nameObject

Returns the value of attribute nick_name.



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

def nick_name
  @nick_name
end

#ownersObject

Returns the value of attribute owners.



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

def owners
  @owners
end

#phone_number_faxObject

Returns the value of attribute phone_number_fax.



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

def phone_number_fax
  @phone_number_fax
end

#phone_number_fax_extensionObject

Returns the value of attribute phone_number_fax_extension.



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

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.



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

def phone_number_fax_is_primary
  @phone_number_fax_is_primary
end

#phone_number_homeObject

Returns the value of attribute phone_number_home.



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

def phone_number_home
  @phone_number_home
end

#phone_number_home_extensionObject

Returns the value of attribute phone_number_home_extension.



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

def phone_number_home_extension
  @phone_number_home_extension
end

#phone_number_home_is_primaryObject

Returns the value of attribute phone_number_home_is_primary.



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

def phone_number_home_is_primary
  @phone_number_home_is_primary
end

#phone_number_mobileObject

Returns the value of attribute phone_number_mobile.



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

def phone_number_mobile
  @phone_number_mobile
end

#phone_number_mobile_extensionObject

Returns the value of attribute phone_number_mobile_extension.



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

def phone_number_mobile_extension
  @phone_number_mobile_extension
end

#phone_number_mobile_is_primaryObject

Returns the value of attribute phone_number_mobile_is_primary.



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

def phone_number_mobile_is_primary
  @phone_number_mobile_is_primary
end

#phone_number_otherObject

Returns the value of attribute phone_number_other.



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

def phone_number_other
  @phone_number_other
end

#phone_number_other_extensionObject

Returns the value of attribute phone_number_other_extension.



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

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.



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

def phone_number_other_is_primary
  @phone_number_other_is_primary
end

#phone_number_skypeObject

Returns the value of attribute phone_number_skype.



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

def phone_number_skype
  @phone_number_skype
end

#phone_number_skype_extensionObject

Returns the value of attribute phone_number_skype_extension.



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

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.



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

def phone_number_skype_is_primary
  @phone_number_skype_is_primary
end

#phone_number_work_directObject

Returns the value of attribute phone_number_work_direct.



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

def phone_number_work_direct
  @phone_number_work_direct
end

#phone_number_work_direct_extensionObject

Returns the value of attribute phone_number_work_direct_extension.



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

def phone_number_work_direct_extension
  @phone_number_work_direct_extension
end

#phone_number_work_direct_is_primaryObject

Returns the value of attribute phone_number_work_direct_is_primary.



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

def phone_number_work_direct_is_primary
  @phone_number_work_direct_is_primary
end

#phone_number_work_mainObject

Returns the value of attribute phone_number_work_main.



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

def phone_number_work_main
  @phone_number_work_main
end

#phone_number_work_main_extensionObject

Returns the value of attribute phone_number_work_main_extension.



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

def phone_number_work_main_extension
  @phone_number_work_main_extension
end

#phone_number_work_main_is_primaryObject

Returns the value of attribute phone_number_work_main_is_primary.



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

def phone_number_work_main_is_primary
  @phone_number_work_main_is_primary
end

#preferred_contact_method_type_idObject

Returns the value of attribute preferred_contact_method_type_id.



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

def preferred_contact_method_type_id
  @preferred_contact_method_type_id
end

#preferred_contact_method_type_nameObject

Returns the value of attribute preferred_contact_method_type_name.



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

def preferred_contact_method_type_name
  @preferred_contact_method_type_name
end

Returns the value of attribute related_contact_assistant_first_name.



276
277
278
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 276

def related_contact_assistant_first_name
  @related_contact_assistant_first_name
end

Returns the value of attribute related_contact_assistant_id.



274
275
276
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 274

def related_contact_assistant_id
  @related_contact_assistant_id
end

Returns the value of attribute related_contact_assistant_is_primary.



280
281
282
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 280

def related_contact_assistant_is_primary
  @related_contact_assistant_is_primary
end

Returns the value of attribute related_contact_assistant_last_name.



278
279
280
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 278

def related_contact_assistant_last_name
  @related_contact_assistant_last_name
end

Returns the value of attribute related_contact_other_first_name.



284
285
286
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 284

def related_contact_other_first_name
  @related_contact_other_first_name
end

Returns the value of attribute related_contact_other_id.



282
283
284
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 282

def related_contact_other_id
  @related_contact_other_id
end

Returns the value of attribute related_contact_other_is_primary.



288
289
290
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 288

def related_contact_other_is_primary
  @related_contact_other_is_primary
end

Returns the value of attribute related_contact_other_last_name.



286
287
288
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 286

def related_contact_other_last_name
  @related_contact_other_last_name
end

Returns the value of attribute related_contact_referred_by_first_name.



260
261
262
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 260

def related_contact_referred_by_first_name
  @related_contact_referred_by_first_name
end

Returns the value of attribute related_contact_referred_by_id.



258
259
260
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 258

def related_contact_referred_by_id
  @related_contact_referred_by_id
end

Returns the value of attribute related_contact_referred_by_is_primary.



264
265
266
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 264

def related_contact_referred_by_is_primary
  @related_contact_referred_by_is_primary
end

Returns the value of attribute related_contact_referred_by_last_name.



262
263
264
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 262

def related_contact_referred_by_last_name
  @related_contact_referred_by_last_name
end

Returns the value of attribute related_contact_spouse_first_name.



268
269
270
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 268

def related_contact_spouse_first_name
  @related_contact_spouse_first_name
end

Returns the value of attribute related_contact_spouse_id.



266
267
268
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 266

def related_contact_spouse_id
  @related_contact_spouse_id
end

Returns the value of attribute related_contact_spouse_is_primary.



272
273
274
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 272

def related_contact_spouse_is_primary
  @related_contact_spouse_is_primary
end

Returns the value of attribute related_contact_spouse_last_name.



270
271
272
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 270

def related_contact_spouse_last_name
  @related_contact_spouse_last_name
end

#salaryObject

Returns the value of attribute salary.



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

def salary
  @salary
end

#salary_detailsObject

Returns the value of attribute salary_details.



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

def salary_details
  @salary_details
end

#salutation_idObject

Returns the value of attribute salutation_id.



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

def salutation_id
  @salutation_id
end

#salutation_nameObject

Returns the value of attribute salutation_name.



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

def salutation_name
  @salutation_name
end

#social_aimObject

Returns the value of attribute social_aim.



222
223
224
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 222

def social_aim
  @social_aim
end

#social_aim_is_primaryObject

Returns the value of attribute social_aim_is_primary.



224
225
226
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 224

def social_aim_is_primary
  @social_aim_is_primary
end

#social_face_timeObject

Returns the value of attribute social_face_time.



230
231
232
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 230

def social_face_time
  @social_face_time
end

#social_face_time_is_primaryObject

Returns the value of attribute social_face_time_is_primary.



232
233
234
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 232

def social_face_time_is_primary
  @social_face_time_is_primary
end

#social_facebook_chatObject

Returns the value of attribute social_facebook_chat.



226
227
228
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 226

def social_facebook_chat
  @social_facebook_chat
end

#social_facebook_chat_is_primaryObject

Returns the value of attribute social_facebook_chat_is_primary.



228
229
230
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 228

def social_facebook_chat_is_primary
  @social_facebook_chat_is_primary
end

#social_google_talkObject

Returns the value of attribute social_google_talk.



234
235
236
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 234

def social_google_talk
  @social_google_talk
end

#social_google_talk_is_primaryObject

Returns the value of attribute social_google_talk_is_primary.



236
237
238
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 236

def social_google_talk_is_primary
  @social_google_talk_is_primary
end

#social_icqObject

Returns the value of attribute social_icq.



238
239
240
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 238

def social_icq
  @social_icq
end

#social_icq_is_primaryObject

Returns the value of attribute social_icq_is_primary.



240
241
242
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 240

def social_icq_is_primary
  @social_icq_is_primary
end

#social_otherObject

Returns the value of attribute social_other.



254
255
256
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 254

def social_other
  @social_other
end

#social_other_is_primaryObject

Returns the value of attribute social_other_is_primary.



256
257
258
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 256

def social_other_is_primary
  @social_other_is_primary
end

#social_skypeObject

Returns the value of attribute social_skype.



242
243
244
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 242

def social_skype
  @social_skype
end

#social_skype_is_primaryObject

Returns the value of attribute social_skype_is_primary.



244
245
246
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 244

def social_skype_is_primary
  @social_skype_is_primary
end

#social_twitterObject

Returns the value of attribute social_twitter.



246
247
248
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 246

def social_twitter
  @social_twitter
end

#social_twitter_is_primaryObject

Returns the value of attribute social_twitter_is_primary.



248
249
250
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 248

def social_twitter_is_primary
  @social_twitter_is_primary
end

#social_yahoo_msgObject

Returns the value of attribute social_yahoo_msg.



250
251
252
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 250

def social_yahoo_msg
  @social_yahoo_msg
end

#social_yahoo_msg_is_primaryObject

Returns the value of attribute social_yahoo_msg_is_primary.



252
253
254
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 252

def social_yahoo_msg_is_primary
  @social_yahoo_msg_is_primary
end

#status_idObject

Returns the value of attribute status_id.



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

def status_id
  @status_id
end

#status_nameObject

Returns the value of attribute status_name.



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

def status_name
  @status_name
end

#suffix_idObject

Returns the value of attribute suffix_id.



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

def suffix_id
  @suffix_id
end

#suffix_nameObject

Returns the value of attribute suffix_name.



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

def suffix_name
  @suffix_name
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end

#website_blogObject

Returns the value of attribute website_blog.



176
177
178
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 176

def website_blog
  @website_blog
end

#website_blog_is_primaryObject

Returns the value of attribute website_blog_is_primary.



178
179
180
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 178

def website_blog_is_primary
  @website_blog_is_primary
end

#website_businessObject

Returns the value of attribute website_business.



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

def website_business
  @website_business
end

#website_business_is_primaryObject

Returns the value of attribute website_business_is_primary.



170
171
172
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 170

def website_business_is_primary
  @website_business_is_primary
end

#website_facebookObject

Returns the value of attribute website_facebook.



184
185
186
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 184

def website_facebook
  @website_facebook
end

#website_facebook_is_primaryObject

Returns the value of attribute website_facebook_is_primary.



186
187
188
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 186

def website_facebook_is_primary
  @website_facebook_is_primary
end

#website_linked_inObject

Returns the value of attribute website_linked_in.



180
181
182
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 180

def website_linked_in
  @website_linked_in
end

#website_linked_in_is_primaryObject

Returns the value of attribute website_linked_in_is_primary.



182
183
184
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 182

def website_linked_in_is_primary
  @website_linked_in_is_primary
end

#website_otherObject

Returns the value of attribute website_other.



188
189
190
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 188

def website_other
  @website_other
end

#website_other_is_primaryObject

Returns the value of attribute website_other_is_primary.



190
191
192
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 190

def website_other_is_primary
  @website_other_is_primary
end

#website_personalObject

Returns the value of attribute website_personal.



172
173
174
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 172

def website_personal
  @website_personal
end

#website_personal_is_primaryObject

Returns the value of attribute website_personal_is_primary.



174
175
176
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 174

def website_personal_is_primary
  @website_personal_is_primary
end

Class Method Details

.attribute_mapObject

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



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

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',
    :'owners' => :'Owners',
    :'name' => :'Name',
    :'status_id' => :'Status_Id',
    :'status_name' => :'Status_Name',
    :'first_name' => :'FirstName',
    :'middle_name' => :'MiddleName',
    :'last_name' => :'LastName',
    :'nick_name' => :'NickName',
    :'external_primary_key' => :'ExternalPrimaryKey',
    :'description' => :'Description',
    :'salary' => :'Salary',
    :'salary_details' => :'SalaryDetails',
    :'salutation_id' => :'Salutation_Id',
    :'salutation_name' => :'Salutation_Name',
    :'suffix_id' => :'Suffix_Id',
    :'suffix_name' => :'Suffix_Name',
    :'ethnicity_id' => :'Ethnicity_Id',
    :'ethnicity_name' => :'Ethnicity_Name',
    :'gender_id' => :'Gender_Id',
    :'gender_name' => :'Gender_Name',
    :'preferred_contact_method_type_id' => :'PreferredContactMethodType_Id',
    :'preferred_contact_method_type_name' => :'PreferredContactMethodType_Name',
    :'tags' => :'Tags',
    :'phone_number_mobile' => :'PhoneNumber_Mobile',
    :'phone_number_mobile_extension' => :'PhoneNumber_Mobile_Extension',
    :'phone_number_mobile_is_primary' => :'PhoneNumber_Mobile_IsPrimary',
    :'phone_number_work_direct' => :'PhoneNumber_WorkDirect',
    :'phone_number_work_direct_extension' => :'PhoneNumber_WorkDirect_Extension',
    :'phone_number_work_direct_is_primary' => :'PhoneNumber_WorkDirect_IsPrimary',
    :'phone_number_work_main' => :'PhoneNumber_WorkMain',
    :'phone_number_work_main_extension' => :'PhoneNumber_WorkMain_Extension',
    :'phone_number_work_main_is_primary' => :'PhoneNumber_WorkMain_IsPrimary',
    :'phone_number_home' => :'PhoneNumber_Home',
    :'phone_number_home_extension' => :'PhoneNumber_Home_Extension',
    :'phone_number_home_is_primary' => :'PhoneNumber_Home_IsPrimary',
    :'phone_number_fax' => :'PhoneNumber_Fax',
    :'phone_number_fax_extension' => :'PhoneNumber_Fax_Extension',
    :'phone_number_fax_is_primary' => :'PhoneNumber_Fax_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_work' => :'EmailAddress_Work',
    :'email_address_work_is_primary' => :'EmailAddress_Work_IsPrimary',
    :'email_address_personal' => :'EmailAddress_Personal',
    :'email_address_personal_is_primary' => :'EmailAddress_Personal_IsPrimary',
    :'email_address_other' => :'EmailAddress_Other',
    :'email_address_other_is_primary' => :'EmailAddress_Other_IsPrimary',
    :'address_business_line1' => :'Address_Business_Line1',
    :'address_business_city' => :'Address_Business_City',
    :'address_business_state' => :'Address_Business_State',
    :'address_business_zip_code' => :'Address_Business_ZipCode',
    :'address_business_country' => :'Address_Business_Country',
    :'address_business_is_primary' => :'Address_Business_IsPrimary',
    :'address_home_line1' => :'Address_Home_Line1',
    :'address_home_city' => :'Address_Home_City',
    :'address_home_state' => :'Address_Home_State',
    :'address_home_zip_code' => :'Address_Home_ZipCode',
    :'address_home_country' => :'Address_Home_Country',
    :'address_home_is_primary' => :'Address_Home_IsPrimary',
    :'address_other_line1' => :'Address_Other_Line1',
    :'address_other_city' => :'Address_Other_City',
    :'address_other_state' => :'Address_Other_State',
    :'address_other_zip_code' => :'Address_Other_ZipCode',
    :'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_personal' => :'Website_Personal',
    :'website_personal_is_primary' => :'Website_Personal_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',
    :'key_date_anniversary' => :'KeyDate_Anniversary',
    :'key_date_birthday' => :'KeyDate_Birthday',
    :'key_date_other' => :'KeyDate_Other',
    :'current_position_when_start' => :'CurrentPosition_WhenStart',
    :'current_position_when_end' => :'CurrentPosition_WhenEnd',
    :'current_position_title' => :'CurrentPosition_Title',
    :'current_position_company_id' => :'CurrentPosition_Company_Id',
    :'current_position_company_name' => :'CurrentPosition_Company_Name',
    :'education_when_start' => :'Education_WhenStart',
    :'education_when_end' => :'Education_WhenEnd',
    :'education_accreditation_id' => :'Education_Accreditation_Id',
    :'education_accreditation_name' => :'Education_Accreditation_Name',
    :'education_institution_id' => :'Education_Institution_Id',
    :'education_institution_name' => :'Education_Institution_Name',
    :'education_honors' => :'Education_Honors',
    :'social_aim' => :'Social_AIM',
    :'social_aim_is_primary' => :'Social_AIM_IsPrimary',
    :'social_facebook_chat' => :'Social_FacebookChat',
    :'social_facebook_chat_is_primary' => :'Social_FacebookChat_IsPrimary',
    :'social_face_time' => :'Social_FaceTime',
    :'social_face_time_is_primary' => :'Social_FaceTime_IsPrimary',
    :'social_google_talk' => :'Social_GoogleTalk',
    :'social_google_talk_is_primary' => :'Social_GoogleTalk_IsPrimary',
    :'social_icq' => :'Social_ICQ',
    :'social_icq_is_primary' => :'Social_ICQ_IsPrimary',
    :'social_skype' => :'Social_Skype',
    :'social_skype_is_primary' => :'Social_Skype_IsPrimary',
    :'social_twitter' => :'Social_Twitter',
    :'social_twitter_is_primary' => :'Social_Twitter_IsPrimary',
    :'social_yahoo_msg' => :'Social_YahooMsg',
    :'social_yahoo_msg_is_primary' => :'Social_YahooMsg_IsPrimary',
    :'social_other' => :'Social_Other',
    :'social_other_is_primary' => :'Social_Other_IsPrimary',
    :'related_contact_referred_by_id' => :'RelatedContact_ReferredBy_Id',
    :'related_contact_referred_by_first_name' => :'RelatedContact_ReferredBy_FirstName',
    :'related_contact_referred_by_last_name' => :'RelatedContact_ReferredBy_LastName',
    :'related_contact_referred_by_is_primary' => :'RelatedContact_ReferredBy_IsPrimary',
    :'related_contact_spouse_id' => :'RelatedContact_Spouse_Id',
    :'related_contact_spouse_first_name' => :'RelatedContact_Spouse_FirstName',
    :'related_contact_spouse_last_name' => :'RelatedContact_Spouse_LastName',
    :'related_contact_spouse_is_primary' => :'RelatedContact_Spouse_IsPrimary',
    :'related_contact_assistant_id' => :'RelatedContact_Assistant_Id',
    :'related_contact_assistant_first_name' => :'RelatedContact_Assistant_FirstName',
    :'related_contact_assistant_last_name' => :'RelatedContact_Assistant_LastName',
    :'related_contact_assistant_is_primary' => :'RelatedContact_Assistant_IsPrimary',
    :'related_contact_other_id' => :'RelatedContact_Other_Id',
    :'related_contact_other_first_name' => :'RelatedContact_Other_FirstName',
    :'related_contact_other_last_name' => :'RelatedContact_Other_LastName',
    :'related_contact_other_is_primary' => :'RelatedContact_Other_IsPrimary'
  }
end

.swagger_typesObject

Attribute type mapping.



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

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',
    :'owners' => :'Array<PublicApiRecordOwner>',
    :'name' => :'String',
    :'status_id' => :'String',
    :'status_name' => :'String',
    :'first_name' => :'String',
    :'middle_name' => :'String',
    :'last_name' => :'String',
    :'nick_name' => :'String',
    :'external_primary_key' => :'String',
    :'description' => :'String',
    :'salary' => :'Float',
    :'salary_details' => :'String',
    :'salutation_id' => :'String',
    :'salutation_name' => :'String',
    :'suffix_id' => :'String',
    :'suffix_name' => :'String',
    :'ethnicity_id' => :'String',
    :'ethnicity_name' => :'String',
    :'gender_id' => :'String',
    :'gender_name' => :'String',
    :'preferred_contact_method_type_id' => :'String',
    :'preferred_contact_method_type_name' => :'String',
    :'tags' => :'Hash<String, Array<String>>',
    :'phone_number_mobile' => :'String',
    :'phone_number_mobile_extension' => :'String',
    :'phone_number_mobile_is_primary' => :'BOOLEAN',
    :'phone_number_work_direct' => :'String',
    :'phone_number_work_direct_extension' => :'String',
    :'phone_number_work_direct_is_primary' => :'BOOLEAN',
    :'phone_number_work_main' => :'String',
    :'phone_number_work_main_extension' => :'String',
    :'phone_number_work_main_is_primary' => :'BOOLEAN',
    :'phone_number_home' => :'String',
    :'phone_number_home_extension' => :'String',
    :'phone_number_home_is_primary' => :'BOOLEAN',
    :'phone_number_fax' => :'String',
    :'phone_number_fax_extension' => :'String',
    :'phone_number_fax_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_work' => :'String',
    :'email_address_work_is_primary' => :'BOOLEAN',
    :'email_address_personal' => :'String',
    :'email_address_personal_is_primary' => :'BOOLEAN',
    :'email_address_other' => :'String',
    :'email_address_other_is_primary' => :'BOOLEAN',
    :'address_business_line1' => :'String',
    :'address_business_city' => :'String',
    :'address_business_state' => :'String',
    :'address_business_zip_code' => :'String',
    :'address_business_country' => :'String',
    :'address_business_is_primary' => :'BOOLEAN',
    :'address_home_line1' => :'String',
    :'address_home_city' => :'String',
    :'address_home_state' => :'String',
    :'address_home_zip_code' => :'String',
    :'address_home_country' => :'String',
    :'address_home_is_primary' => :'BOOLEAN',
    :'address_other_line1' => :'String',
    :'address_other_city' => :'String',
    :'address_other_state' => :'String',
    :'address_other_zip_code' => :'String',
    :'address_other_country' => :'String',
    :'address_other_is_primary' => :'BOOLEAN',
    :'website_business' => :'String',
    :'website_business_is_primary' => :'BOOLEAN',
    :'website_personal' => :'String',
    :'website_personal_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',
    :'key_date_anniversary' => :'DateTime',
    :'key_date_birthday' => :'DateTime',
    :'key_date_other' => :'DateTime',
    :'current_position_when_start' => :'DateTime',
    :'current_position_when_end' => :'DateTime',
    :'current_position_title' => :'String',
    :'current_position_company_id' => :'String',
    :'current_position_company_name' => :'String',
    :'education_when_start' => :'DateTime',
    :'education_when_end' => :'DateTime',
    :'education_accreditation_id' => :'String',
    :'education_accreditation_name' => :'String',
    :'education_institution_id' => :'String',
    :'education_institution_name' => :'String',
    :'education_honors' => :'Array<String>',
    :'social_aim' => :'String',
    :'social_aim_is_primary' => :'BOOLEAN',
    :'social_facebook_chat' => :'String',
    :'social_facebook_chat_is_primary' => :'BOOLEAN',
    :'social_face_time' => :'String',
    :'social_face_time_is_primary' => :'BOOLEAN',
    :'social_google_talk' => :'String',
    :'social_google_talk_is_primary' => :'BOOLEAN',
    :'social_icq' => :'String',
    :'social_icq_is_primary' => :'BOOLEAN',
    :'social_skype' => :'String',
    :'social_skype_is_primary' => :'BOOLEAN',
    :'social_twitter' => :'String',
    :'social_twitter_is_primary' => :'BOOLEAN',
    :'social_yahoo_msg' => :'String',
    :'social_yahoo_msg_is_primary' => :'BOOLEAN',
    :'social_other' => :'String',
    :'social_other_is_primary' => :'BOOLEAN',
    :'related_contact_referred_by_id' => :'String',
    :'related_contact_referred_by_first_name' => :'String',
    :'related_contact_referred_by_last_name' => :'String',
    :'related_contact_referred_by_is_primary' => :'BOOLEAN',
    :'related_contact_spouse_id' => :'String',
    :'related_contact_spouse_first_name' => :'String',
    :'related_contact_spouse_last_name' => :'String',
    :'related_contact_spouse_is_primary' => :'BOOLEAN',
    :'related_contact_assistant_id' => :'String',
    :'related_contact_assistant_first_name' => :'String',
    :'related_contact_assistant_last_name' => :'String',
    :'related_contact_assistant_is_primary' => :'BOOLEAN',
    :'related_contact_other_id' => :'String',
    :'related_contact_other_first_name' => :'String',
    :'related_contact_other_last_name' => :'String',
    :'related_contact_other_is_primary' => :'BOOLEAN'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1150

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 &&
      owners == o.owners &&
      name == o.name &&
      status_id == o.status_id &&
      status_name == o.status_name &&
      first_name == o.first_name &&
      middle_name == o.middle_name &&
      last_name == o.last_name &&
      nick_name == o.nick_name &&
      external_primary_key == o.external_primary_key &&
      description == o.description &&
      salary == o.salary &&
      salary_details == o.salary_details &&
      salutation_id == o.salutation_id &&
      salutation_name == o.salutation_name &&
      suffix_id == o.suffix_id &&
      suffix_name == o.suffix_name &&
      ethnicity_id == o.ethnicity_id &&
      ethnicity_name == o.ethnicity_name &&
      gender_id == o.gender_id &&
      gender_name == o.gender_name &&
      preferred_contact_method_type_id == o.preferred_contact_method_type_id &&
      preferred_contact_method_type_name == o.preferred_contact_method_type_name &&
      tags == o.tags &&
      phone_number_mobile == o.phone_number_mobile &&
      phone_number_mobile_extension == o.phone_number_mobile_extension &&
      phone_number_mobile_is_primary == o.phone_number_mobile_is_primary &&
      phone_number_work_direct == o.phone_number_work_direct &&
      phone_number_work_direct_extension == o.phone_number_work_direct_extension &&
      phone_number_work_direct_is_primary == o.phone_number_work_direct_is_primary &&
      phone_number_work_main == o.phone_number_work_main &&
      phone_number_work_main_extension == o.phone_number_work_main_extension &&
      phone_number_work_main_is_primary == o.phone_number_work_main_is_primary &&
      phone_number_home == o.phone_number_home &&
      phone_number_home_extension == o.phone_number_home_extension &&
      phone_number_home_is_primary == o.phone_number_home_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_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_work == o.email_address_work &&
      email_address_work_is_primary == o.email_address_work_is_primary &&
      email_address_personal == o.email_address_personal &&
      email_address_personal_is_primary == o.email_address_personal_is_primary &&
      email_address_other == o.email_address_other &&
      email_address_other_is_primary == o.email_address_other_is_primary &&
      address_business_line1 == o.address_business_line1 &&
      address_business_city == o.address_business_city &&
      address_business_state == o.address_business_state &&
      address_business_zip_code == o.address_business_zip_code &&
      address_business_country == o.address_business_country &&
      address_business_is_primary == o.address_business_is_primary &&
      address_home_line1 == o.address_home_line1 &&
      address_home_city == o.address_home_city &&
      address_home_state == o.address_home_state &&
      address_home_zip_code == o.address_home_zip_code &&
      address_home_country == o.address_home_country &&
      address_home_is_primary == o.address_home_is_primary &&
      address_other_line1 == o.address_other_line1 &&
      address_other_city == o.address_other_city &&
      address_other_state == o.address_other_state &&
      address_other_zip_code == o.address_other_zip_code &&
      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_personal == o.website_personal &&
      website_personal_is_primary == o.website_personal_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 &&
      key_date_anniversary == o.key_date_anniversary &&
      key_date_birthday == o.key_date_birthday &&
      key_date_other == o.key_date_other &&
      current_position_when_start == o.current_position_when_start &&
      current_position_when_end == o.current_position_when_end &&
      current_position_title == o.current_position_title &&
      current_position_company_id == o.current_position_company_id &&
      current_position_company_name == o.current_position_company_name &&
      education_when_start == o.education_when_start &&
      education_when_end == o.education_when_end &&
      education_accreditation_id == o.education_accreditation_id &&
      education_accreditation_name == o.education_accreditation_name &&
      education_institution_id == o.education_institution_id &&
      education_institution_name == o.education_institution_name &&
      education_honors == o.education_honors &&
      social_aim == o.social_aim &&
      social_aim_is_primary == o.social_aim_is_primary &&
      social_facebook_chat == o.social_facebook_chat &&
      social_facebook_chat_is_primary == o.social_facebook_chat_is_primary &&
      social_face_time == o.social_face_time &&
      social_face_time_is_primary == o.social_face_time_is_primary &&
      social_google_talk == o.social_google_talk &&
      social_google_talk_is_primary == o.social_google_talk_is_primary &&
      social_icq == o.social_icq &&
      social_icq_is_primary == o.social_icq_is_primary &&
      social_skype == o.social_skype &&
      social_skype_is_primary == o.social_skype_is_primary &&
      social_twitter == o.social_twitter &&
      social_twitter_is_primary == o.social_twitter_is_primary &&
      social_yahoo_msg == o.social_yahoo_msg &&
      social_yahoo_msg_is_primary == o.social_yahoo_msg_is_primary &&
      social_other == o.social_other &&
      social_other_is_primary == o.social_other_is_primary &&
      related_contact_referred_by_id == o.related_contact_referred_by_id &&
      related_contact_referred_by_first_name == o.related_contact_referred_by_first_name &&
      related_contact_referred_by_last_name == o.related_contact_referred_by_last_name &&
      related_contact_referred_by_is_primary == o.related_contact_referred_by_is_primary &&
      related_contact_spouse_id == o.related_contact_spouse_id &&
      related_contact_spouse_first_name == o.related_contact_spouse_first_name &&
      related_contact_spouse_last_name == o.related_contact_spouse_last_name &&
      related_contact_spouse_is_primary == o.related_contact_spouse_is_primary &&
      related_contact_assistant_id == o.related_contact_assistant_id &&
      related_contact_assistant_first_name == o.related_contact_assistant_first_name &&
      related_contact_assistant_last_name == o.related_contact_assistant_last_name &&
      related_contact_assistant_is_primary == o.related_contact_assistant_is_primary &&
      related_contact_other_id == o.related_contact_other_id &&
      related_contact_other_first_name == o.related_contact_other_first_name &&
      related_contact_other_last_name == o.related_contact_other_last_name &&
      related_contact_other_is_primary == o.related_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



1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1327

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



1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1393

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



1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1306

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


1293
1294
1295
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1293

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1299
1300
1301
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1299

def hash
  [id, created_by_id, created_by_name, created_on, modified_by_id, modified_by_name, modified_on, owners, name, status_id, status_name, first_name, middle_name, last_name, nick_name, external_primary_key, description, salary, salary_details, salutation_id, salutation_name, suffix_id, suffix_name, ethnicity_id, ethnicity_name, gender_id, gender_name, preferred_contact_method_type_id, preferred_contact_method_type_name, tags, phone_number_mobile, phone_number_mobile_extension, phone_number_mobile_is_primary, phone_number_work_direct, phone_number_work_direct_extension, phone_number_work_direct_is_primary, phone_number_work_main, phone_number_work_main_extension, phone_number_work_main_is_primary, phone_number_home, phone_number_home_extension, phone_number_home_is_primary, phone_number_fax, phone_number_fax_extension, phone_number_fax_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_work, email_address_work_is_primary, email_address_personal, email_address_personal_is_primary, email_address_other, email_address_other_is_primary, address_business_line1, address_business_city, address_business_state, address_business_zip_code, address_business_country, address_business_is_primary, address_home_line1, address_home_city, address_home_state, address_home_zip_code, address_home_country, address_home_is_primary, address_other_line1, address_other_city, address_other_state, address_other_zip_code, address_other_country, address_other_is_primary, website_business, website_business_is_primary, website_personal, website_personal_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, key_date_anniversary, key_date_birthday, key_date_other, current_position_when_start, current_position_when_end, current_position_title, current_position_company_id, current_position_company_name, education_when_start, education_when_end, education_accreditation_id, education_accreditation_name, education_institution_id, education_institution_name, education_honors, social_aim, social_aim_is_primary, social_facebook_chat, social_facebook_chat_is_primary, social_face_time, social_face_time_is_primary, social_google_talk, social_google_talk_is_primary, social_icq, social_icq_is_primary, social_skype, social_skype_is_primary, social_twitter, social_twitter_is_primary, social_yahoo_msg, social_yahoo_msg_is_primary, social_other, social_other_is_primary, related_contact_referred_by_id, related_contact_referred_by_first_name, related_contact_referred_by_last_name, related_contact_referred_by_is_primary, related_contact_spouse_id, related_contact_spouse_first_name, related_contact_spouse_last_name, related_contact_spouse_is_primary, related_contact_assistant_id, related_contact_assistant_first_name, related_contact_assistant_last_name, related_contact_assistant_is_primary, related_contact_other_id, related_contact_other_first_name, related_contact_other_last_name, related_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



1137
1138
1139
1140
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1137

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



1373
1374
1375
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1373

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



1379
1380
1381
1382
1383
1384
1385
1386
1387
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1379

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



1367
1368
1369
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1367

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



1144
1145
1146
# File 'lib/swagger_client/models/public_api_get_contact_response.rb', line 1144

def valid?
  return true
end