Class: CrelateClient::PublicApiSaveContactRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/crelate_client/models/public_api_save_contact_request.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ PublicApiSaveContactRequest

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
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
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 561

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?(:'Address_Business_City')
    self.address_business_city = attributes[:'Address_Business_City']
  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_Business_Line1')
    self.address_business_line1 = attributes[:'Address_Business_Line1']
  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_Home_City')
    self.address_home_city = attributes[:'Address_Home_City']
  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_Home_Line1')
    self.address_home_line1 = attributes[:'Address_Home_Line1']
  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_Other_City')
    self.address_other_city = attributes[:'Address_Other_City']
  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?(:'Address_Other_Line1')
    self.address_other_line1 = attributes[:'Address_Other_Line1']
  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?(:'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?(:'CurrentPosition_Title')
    self.current_position_title = attributes[:'CurrentPosition_Title']
  end

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

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

  if attributes.has_key?(:'Description')
    self.description = attributes[:'Description']
  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_Honors')
    if (value = attributes[:'Education_Honors']).is_a?(Array)
      self.education_honors = value
    end
  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_WhenEnd')
    self.education_when_end = attributes[:'Education_WhenEnd']
  end

  if attributes.has_key?(:'Education_WhenStart')
    self.education_when_start = attributes[:'Education_WhenStart']
  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?(:'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_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?(:'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?(:'ExternalPrimaryKey')
    self.external_primary_key = attributes[:'ExternalPrimaryKey']
  end

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

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

  if attributes.has_key?(:'NickName')
    self.nick_name = attributes[:'NickName']
  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_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_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_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?(:'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_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?(:'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?(:'RecordType')
    if (value = attributes[:'RecordType']).is_a?(Array)
      self.record_type = value
    end
  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_Id')
    self.related_contact_assistant_id = attributes[:'RelatedContact_Assistant_Id']
  end

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

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

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

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

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

  if attributes.has_key?(:'RelatedContact_Client_LastName')
    self.related_contact_client_last_name = attributes[:'RelatedContact_Client_LastName']
  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_Id')
    self.related_contact_other_id = attributes[:'RelatedContact_Other_Id']
  end

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

  if attributes.has_key?(:'RelatedContact_Other_LastName')
    self.related_contact_other_last_name = attributes[:'RelatedContact_Other_LastName']
  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_Id')
    self.related_contact_referred_by_id = attributes[:'RelatedContact_ReferredBy_Id']
  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_ReferredBy_LastName')
    self.related_contact_referred_by_last_name = attributes[:'RelatedContact_ReferredBy_LastName']
  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_Id')
    self.related_contact_spouse_id = attributes[:'RelatedContact_Spouse_Id']
  end

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

  if attributes.has_key?(:'RelatedContact_Spouse_LastName')
    self.related_contact_spouse_last_name = attributes[:'RelatedContact_Spouse_LastName']
  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?(:'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_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?(:'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?(:'Source_Id')
    self.source_id = attributes[:'Source_Id']
  end

  if attributes.has_key?(:'Source_Name')
    self.source_name = attributes[:'Source_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?(:'Tags')
    if (value = attributes[:'Tags']).is_a?(Hash)
      self.tags = value
    end
  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_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_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_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_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?(:'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

end

Instance Attribute Details

#address_business_cityObject

Returns the value of attribute address_business_city.



18
19
20
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 18

def address_business_city
  @address_business_city
end

#address_business_countryObject

Returns the value of attribute address_business_country.



20
21
22
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 20

def address_business_country
  @address_business_country
end

#address_business_is_primaryObject

Returns the value of attribute address_business_is_primary.



22
23
24
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 22

def address_business_is_primary
  @address_business_is_primary
end

#address_business_line1Object

Returns the value of attribute address_business_line1.



24
25
26
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 24

def address_business_line1
  @address_business_line1
end

#address_business_stateObject

Returns the value of attribute address_business_state.



26
27
28
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 26

def address_business_state
  @address_business_state
end

#address_business_zip_codeObject

Returns the value of attribute address_business_zip_code.



28
29
30
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 28

def address_business_zip_code
  @address_business_zip_code
end

#address_home_cityObject

Returns the value of attribute address_home_city.



30
31
32
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 30

def address_home_city
  @address_home_city
end

#address_home_countryObject

Returns the value of attribute address_home_country.



32
33
34
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 32

def address_home_country
  @address_home_country
end

#address_home_is_primaryObject

Returns the value of attribute address_home_is_primary.



34
35
36
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 34

def address_home_is_primary
  @address_home_is_primary
end

#address_home_line1Object

Returns the value of attribute address_home_line1.



36
37
38
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 36

def address_home_line1
  @address_home_line1
end

#address_home_stateObject

Returns the value of attribute address_home_state.



38
39
40
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 38

def address_home_state
  @address_home_state
end

#address_home_zip_codeObject

Returns the value of attribute address_home_zip_code.



40
41
42
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 40

def address_home_zip_code
  @address_home_zip_code
end

#address_other_cityObject

Returns the value of attribute address_other_city.



42
43
44
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 42

def address_other_city
  @address_other_city
end

#address_other_countryObject

Returns the value of attribute address_other_country.



44
45
46
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 44

def address_other_country
  @address_other_country
end

#address_other_is_primaryObject

Returns the value of attribute address_other_is_primary.



46
47
48
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 46

def address_other_is_primary
  @address_other_is_primary
end

#address_other_line1Object

Returns the value of attribute address_other_line1.



48
49
50
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 48

def address_other_line1
  @address_other_line1
end

#address_other_stateObject

Returns the value of attribute address_other_state.



50
51
52
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 50

def address_other_state
  @address_other_state
end

#address_other_zip_codeObject

Returns the value of attribute address_other_zip_code.



52
53
54
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 52

def address_other_zip_code
  @address_other_zip_code
end

#current_position_company_idObject

Returns the value of attribute current_position_company_id.



54
55
56
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 54

def current_position_company_id
  @current_position_company_id
end

#current_position_company_nameObject

Returns the value of attribute current_position_company_name.



56
57
58
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 56

def current_position_company_name
  @current_position_company_name
end

#current_position_titleObject

Returns the value of attribute current_position_title.



58
59
60
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 58

def current_position_title
  @current_position_title
end

#current_position_when_endObject

Returns the value of attribute current_position_when_end.



60
61
62
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 60

def current_position_when_end
  @current_position_when_end
end

#current_position_when_startObject

Returns the value of attribute current_position_when_start.



62
63
64
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 62

def current_position_when_start
  @current_position_when_start
end

#descriptionObject

Returns the value of attribute description.



64
65
66
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 64

def description
  @description
end

#education_accreditation_idObject

Returns the value of attribute education_accreditation_id.



66
67
68
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 66

def education_accreditation_id
  @education_accreditation_id
end

#education_accreditation_nameObject

Returns the value of attribute education_accreditation_name.



68
69
70
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 68

def education_accreditation_name
  @education_accreditation_name
end

#education_honorsObject

Returns the value of attribute education_honors.



70
71
72
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 70

def education_honors
  @education_honors
end

#education_institution_idObject

Returns the value of attribute education_institution_id.



72
73
74
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 72

def education_institution_id
  @education_institution_id
end

#education_institution_nameObject

Returns the value of attribute education_institution_name.



74
75
76
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 74

def education_institution_name
  @education_institution_name
end

#education_when_endObject

Returns the value of attribute education_when_end.



76
77
78
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 76

def education_when_end
  @education_when_end
end

#education_when_startObject

Returns the value of attribute education_when_start.



78
79
80
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 78

def education_when_start
  @education_when_start
end

#email_address_otherObject

Returns the value of attribute email_address_other.



80
81
82
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 80

def email_address_other
  @email_address_other
end

#email_address_other_is_primaryObject

Returns the value of attribute email_address_other_is_primary.



82
83
84
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 82

def email_address_other_is_primary
  @email_address_other_is_primary
end

#email_address_personalObject

Returns the value of attribute email_address_personal.



84
85
86
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 84

def email_address_personal
  @email_address_personal
end

#email_address_personal_is_primaryObject

Returns the value of attribute email_address_personal_is_primary.



86
87
88
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 86

def email_address_personal_is_primary
  @email_address_personal_is_primary
end

#email_address_workObject

Returns the value of attribute email_address_work.



88
89
90
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 88

def email_address_work
  @email_address_work
end

#email_address_work_is_primaryObject

Returns the value of attribute email_address_work_is_primary.



90
91
92
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 90

def email_address_work_is_primary
  @email_address_work_is_primary
end

#ethnicity_idObject

Returns the value of attribute ethnicity_id.



92
93
94
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 92

def ethnicity_id
  @ethnicity_id
end

#ethnicity_nameObject

Returns the value of attribute ethnicity_name.



94
95
96
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 94

def ethnicity_name
  @ethnicity_name
end

#external_primary_keyObject

Returns the value of attribute external_primary_key.



96
97
98
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 96

def external_primary_key
  @external_primary_key
end

#first_nameObject

Returns the value of attribute first_name.



98
99
100
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 98

def first_name
  @first_name
end

#gender_idObject

Returns the value of attribute gender_id.



100
101
102
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 100

def gender_id
  @gender_id
end

#gender_nameObject

Returns the value of attribute gender_name.



102
103
104
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 102

def gender_name
  @gender_name
end

#key_date_anniversaryObject

Returns the value of attribute key_date_anniversary.



104
105
106
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 104

def key_date_anniversary
  @key_date_anniversary
end

#key_date_birthdayObject

Returns the value of attribute key_date_birthday.



106
107
108
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 106

def key_date_birthday
  @key_date_birthday
end

#key_date_otherObject

Returns the value of attribute key_date_other.



108
109
110
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 108

def key_date_other
  @key_date_other
end

#last_nameObject

Returns the value of attribute last_name.



110
111
112
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 110

def last_name
  @last_name
end

#middle_nameObject

Returns the value of attribute middle_name.



112
113
114
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 112

def middle_name
  @middle_name
end

#nick_nameObject

Returns the value of attribute nick_name.



114
115
116
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 114

def nick_name
  @nick_name
end

#phone_number_faxObject

Returns the value of attribute phone_number_fax.



116
117
118
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 116

def phone_number_fax
  @phone_number_fax
end

#phone_number_fax_extensionObject

Returns the value of attribute phone_number_fax_extension.



118
119
120
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 118

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.



120
121
122
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 120

def phone_number_fax_is_primary
  @phone_number_fax_is_primary
end

#phone_number_homeObject

Returns the value of attribute phone_number_home.



122
123
124
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 122

def phone_number_home
  @phone_number_home
end

#phone_number_home_extensionObject

Returns the value of attribute phone_number_home_extension.



124
125
126
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 124

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.



126
127
128
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 126

def phone_number_home_is_primary
  @phone_number_home_is_primary
end

#phone_number_mobileObject

Returns the value of attribute phone_number_mobile.



128
129
130
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 128

def phone_number_mobile
  @phone_number_mobile
end

#phone_number_mobile_extensionObject

Returns the value of attribute phone_number_mobile_extension.



130
131
132
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 130

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.



132
133
134
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 132

def phone_number_mobile_is_primary
  @phone_number_mobile_is_primary
end

#phone_number_otherObject

Returns the value of attribute phone_number_other.



134
135
136
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 134

def phone_number_other
  @phone_number_other
end

#phone_number_other_extensionObject

Returns the value of attribute phone_number_other_extension.



136
137
138
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 136

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.



138
139
140
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 138

def phone_number_other_is_primary
  @phone_number_other_is_primary
end

#phone_number_skypeObject

Returns the value of attribute phone_number_skype.



140
141
142
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 140

def phone_number_skype
  @phone_number_skype
end

#phone_number_skype_extensionObject

Returns the value of attribute phone_number_skype_extension.



142
143
144
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 142

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.



144
145
146
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 144

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.



146
147
148
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 146

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.



148
149
150
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 148

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.



150
151
152
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 150

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.



152
153
154
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 152

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.



154
155
156
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 154

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.



156
157
158
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 156

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.



158
159
160
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 158

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.



160
161
162
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 160

def preferred_contact_method_type_name
  @preferred_contact_method_type_name
end

#record_typeObject

Returns the value of attribute record_type.



162
163
164
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 162

def record_type
  @record_type
end

Returns the value of attribute related_contact_assistant_first_name.



164
165
166
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 164

def related_contact_assistant_first_name
  @related_contact_assistant_first_name
end

Returns the value of attribute related_contact_assistant_id.



166
167
168
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 166

def related_contact_assistant_id
  @related_contact_assistant_id
end

Returns the value of attribute related_contact_assistant_is_primary.



168
169
170
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 168

def related_contact_assistant_is_primary
  @related_contact_assistant_is_primary
end

Returns the value of attribute related_contact_assistant_last_name.



170
171
172
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 170

def related_contact_assistant_last_name
  @related_contact_assistant_last_name
end

Returns the value of attribute related_contact_client_first_name.



172
173
174
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 172

def related_contact_client_first_name
  @related_contact_client_first_name
end

Returns the value of attribute related_contact_client_id.



174
175
176
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 174

def related_contact_client_id
  @related_contact_client_id
end

Returns the value of attribute related_contact_client_is_primary.



176
177
178
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 176

def related_contact_client_is_primary
  @related_contact_client_is_primary
end

Returns the value of attribute related_contact_client_last_name.



178
179
180
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 178

def related_contact_client_last_name
  @related_contact_client_last_name
end

Returns the value of attribute related_contact_other_first_name.



180
181
182
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 180

def related_contact_other_first_name
  @related_contact_other_first_name
end

Returns the value of attribute related_contact_other_id.



182
183
184
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 182

def related_contact_other_id
  @related_contact_other_id
end

Returns the value of attribute related_contact_other_is_primary.



184
185
186
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 184

def related_contact_other_is_primary
  @related_contact_other_is_primary
end

Returns the value of attribute related_contact_other_last_name.



186
187
188
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 186

def related_contact_other_last_name
  @related_contact_other_last_name
end

Returns the value of attribute related_contact_referred_by_first_name.



188
189
190
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 188

def related_contact_referred_by_first_name
  @related_contact_referred_by_first_name
end

Returns the value of attribute related_contact_referred_by_id.



190
191
192
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 190

def related_contact_referred_by_id
  @related_contact_referred_by_id
end

Returns the value of attribute related_contact_referred_by_is_primary.



192
193
194
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 192

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.



194
195
196
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 194

def related_contact_referred_by_last_name
  @related_contact_referred_by_last_name
end

Returns the value of attribute related_contact_spouse_first_name.



196
197
198
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 196

def related_contact_spouse_first_name
  @related_contact_spouse_first_name
end

Returns the value of attribute related_contact_spouse_id.



198
199
200
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 198

def related_contact_spouse_id
  @related_contact_spouse_id
end

Returns the value of attribute related_contact_spouse_is_primary.



200
201
202
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 200

def related_contact_spouse_is_primary
  @related_contact_spouse_is_primary
end

Returns the value of attribute related_contact_spouse_last_name.



202
203
204
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 202

def related_contact_spouse_last_name
  @related_contact_spouse_last_name
end

#salaryObject

Returns the value of attribute salary.



204
205
206
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 204

def salary
  @salary
end

#salary_detailsObject

Returns the value of attribute salary_details.



206
207
208
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 206

def salary_details
  @salary_details
end

#salutation_idObject

Returns the value of attribute salutation_id.



208
209
210
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 208

def salutation_id
  @salutation_id
end

#salutation_nameObject

Returns the value of attribute salutation_name.



210
211
212
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 210

def salutation_name
  @salutation_name
end

#social_aimObject

Returns the value of attribute social_aim.



212
213
214
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 212

def social_aim
  @social_aim
end

#social_aim_is_primaryObject

Returns the value of attribute social_aim_is_primary.



214
215
216
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 214

def social_aim_is_primary
  @social_aim_is_primary
end

#social_face_timeObject

Returns the value of attribute social_face_time.



220
221
222
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 220

def social_face_time
  @social_face_time
end

#social_face_time_is_primaryObject

Returns the value of attribute social_face_time_is_primary.



222
223
224
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 222

def social_face_time_is_primary
  @social_face_time_is_primary
end

#social_facebook_chatObject

Returns the value of attribute social_facebook_chat.



216
217
218
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 216

def social_facebook_chat
  @social_facebook_chat
end

#social_facebook_chat_is_primaryObject

Returns the value of attribute social_facebook_chat_is_primary.



218
219
220
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 218

def social_facebook_chat_is_primary
  @social_facebook_chat_is_primary
end

#social_google_talkObject

Returns the value of attribute social_google_talk.



224
225
226
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 224

def social_google_talk
  @social_google_talk
end

#social_google_talk_is_primaryObject

Returns the value of attribute social_google_talk_is_primary.



226
227
228
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 226

def social_google_talk_is_primary
  @social_google_talk_is_primary
end

#social_icqObject

Returns the value of attribute social_icq.



228
229
230
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 228

def social_icq
  @social_icq
end

#social_icq_is_primaryObject

Returns the value of attribute social_icq_is_primary.



230
231
232
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 230

def social_icq_is_primary
  @social_icq_is_primary
end

#social_otherObject

Returns the value of attribute social_other.



232
233
234
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 232

def social_other
  @social_other
end

#social_other_is_primaryObject

Returns the value of attribute social_other_is_primary.



234
235
236
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 234

def social_other_is_primary
  @social_other_is_primary
end

#social_skypeObject

Returns the value of attribute social_skype.



236
237
238
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 236

def social_skype
  @social_skype
end

#social_skype_is_primaryObject

Returns the value of attribute social_skype_is_primary.



238
239
240
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 238

def social_skype_is_primary
  @social_skype_is_primary
end

#social_twitterObject

Returns the value of attribute social_twitter.



240
241
242
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 240

def social_twitter
  @social_twitter
end

#social_twitter_is_primaryObject

Returns the value of attribute social_twitter_is_primary.



242
243
244
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 242

def social_twitter_is_primary
  @social_twitter_is_primary
end

#social_yahoo_msgObject

Returns the value of attribute social_yahoo_msg.



244
245
246
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 244

def social_yahoo_msg
  @social_yahoo_msg
end

#social_yahoo_msg_is_primaryObject

Returns the value of attribute social_yahoo_msg_is_primary.



246
247
248
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 246

def social_yahoo_msg_is_primary
  @social_yahoo_msg_is_primary
end

#source_idObject

Returns the value of attribute source_id.



248
249
250
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 248

def source_id
  @source_id
end

#source_nameObject

Returns the value of attribute source_name.



250
251
252
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 250

def source_name
  @source_name
end

#suffix_idObject

Returns the value of attribute suffix_id.



252
253
254
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 252

def suffix_id
  @suffix_id
end

#suffix_nameObject

Returns the value of attribute suffix_name.



254
255
256
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 254

def suffix_name
  @suffix_name
end

#tagsObject

Returns the value of attribute tags.



256
257
258
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 256

def tags
  @tags
end

#website_blogObject

Returns the value of attribute website_blog.



258
259
260
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 258

def website_blog
  @website_blog
end

#website_blog_is_primaryObject

Returns the value of attribute website_blog_is_primary.



260
261
262
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 260

def website_blog_is_primary
  @website_blog_is_primary
end

#website_businessObject

Returns the value of attribute website_business.



262
263
264
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 262

def website_business
  @website_business
end

#website_business_is_primaryObject

Returns the value of attribute website_business_is_primary.



264
265
266
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 264

def website_business_is_primary
  @website_business_is_primary
end

#website_facebookObject

Returns the value of attribute website_facebook.



266
267
268
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 266

def website_facebook
  @website_facebook
end

#website_facebook_is_primaryObject

Returns the value of attribute website_facebook_is_primary.



268
269
270
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 268

def website_facebook_is_primary
  @website_facebook_is_primary
end

#website_linked_inObject

Returns the value of attribute website_linked_in.



270
271
272
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 270

def website_linked_in
  @website_linked_in
end

#website_linked_in_is_primaryObject

Returns the value of attribute website_linked_in_is_primary.



272
273
274
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 272

def website_linked_in_is_primary
  @website_linked_in_is_primary
end

#website_otherObject

Returns the value of attribute website_other.



274
275
276
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 274

def website_other
  @website_other
end

#website_other_is_primaryObject

Returns the value of attribute website_other_is_primary.



276
277
278
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 276

def website_other_is_primary
  @website_other_is_primary
end

#website_personalObject

Returns the value of attribute website_personal.



278
279
280
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 278

def website_personal
  @website_personal
end

#website_personal_is_primaryObject

Returns the value of attribute website_personal_is_primary.



280
281
282
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 280

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.



284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 284

def self.attribute_map
  {
    :'address_business_city' => :'Address_Business_City',
    :'address_business_country' => :'Address_Business_Country',
    :'address_business_is_primary' => :'Address_Business_IsPrimary',
    :'address_business_line1' => :'Address_Business_Line1',
    :'address_business_state' => :'Address_Business_State',
    :'address_business_zip_code' => :'Address_Business_ZipCode',
    :'address_home_city' => :'Address_Home_City',
    :'address_home_country' => :'Address_Home_Country',
    :'address_home_is_primary' => :'Address_Home_IsPrimary',
    :'address_home_line1' => :'Address_Home_Line1',
    :'address_home_state' => :'Address_Home_State',
    :'address_home_zip_code' => :'Address_Home_ZipCode',
    :'address_other_city' => :'Address_Other_City',
    :'address_other_country' => :'Address_Other_Country',
    :'address_other_is_primary' => :'Address_Other_IsPrimary',
    :'address_other_line1' => :'Address_Other_Line1',
    :'address_other_state' => :'Address_Other_State',
    :'address_other_zip_code' => :'Address_Other_ZipCode',
    :'current_position_company_id' => :'CurrentPosition_Company_Id',
    :'current_position_company_name' => :'CurrentPosition_Company_Name',
    :'current_position_title' => :'CurrentPosition_Title',
    :'current_position_when_end' => :'CurrentPosition_WhenEnd',
    :'current_position_when_start' => :'CurrentPosition_WhenStart',
    :'description' => :'Description',
    :'education_accreditation_id' => :'Education_Accreditation_Id',
    :'education_accreditation_name' => :'Education_Accreditation_Name',
    :'education_honors' => :'Education_Honors',
    :'education_institution_id' => :'Education_Institution_Id',
    :'education_institution_name' => :'Education_Institution_Name',
    :'education_when_end' => :'Education_WhenEnd',
    :'education_when_start' => :'Education_WhenStart',
    :'email_address_other' => :'EmailAddress_Other',
    :'email_address_other_is_primary' => :'EmailAddress_Other_IsPrimary',
    :'email_address_personal' => :'EmailAddress_Personal',
    :'email_address_personal_is_primary' => :'EmailAddress_Personal_IsPrimary',
    :'email_address_work' => :'EmailAddress_Work',
    :'email_address_work_is_primary' => :'EmailAddress_Work_IsPrimary',
    :'ethnicity_id' => :'Ethnicity_Id',
    :'ethnicity_name' => :'Ethnicity_Name',
    :'external_primary_key' => :'ExternalPrimaryKey',
    :'first_name' => :'FirstName',
    :'gender_id' => :'Gender_Id',
    :'gender_name' => :'Gender_Name',
    :'key_date_anniversary' => :'KeyDate_Anniversary',
    :'key_date_birthday' => :'KeyDate_Birthday',
    :'key_date_other' => :'KeyDate_Other',
    :'last_name' => :'LastName',
    :'middle_name' => :'MiddleName',
    :'nick_name' => :'NickName',
    :'phone_number_fax' => :'PhoneNumber_Fax',
    :'phone_number_fax_extension' => :'PhoneNumber_Fax_Extension',
    :'phone_number_fax_is_primary' => :'PhoneNumber_Fax_IsPrimary',
    :'phone_number_home' => :'PhoneNumber_Home',
    :'phone_number_home_extension' => :'PhoneNumber_Home_Extension',
    :'phone_number_home_is_primary' => :'PhoneNumber_Home_IsPrimary',
    :'phone_number_mobile' => :'PhoneNumber_Mobile',
    :'phone_number_mobile_extension' => :'PhoneNumber_Mobile_Extension',
    :'phone_number_mobile_is_primary' => :'PhoneNumber_Mobile_IsPrimary',
    :'phone_number_other' => :'PhoneNumber_Other',
    :'phone_number_other_extension' => :'PhoneNumber_Other_Extension',
    :'phone_number_other_is_primary' => :'PhoneNumber_Other_IsPrimary',
    :'phone_number_skype' => :'PhoneNumber_Skype',
    :'phone_number_skype_extension' => :'PhoneNumber_Skype_Extension',
    :'phone_number_skype_is_primary' => :'PhoneNumber_Skype_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',
    :'preferred_contact_method_type_id' => :'PreferredContactMethodType_Id',
    :'preferred_contact_method_type_name' => :'PreferredContactMethodType_Name',
    :'record_type' => :'RecordType',
    :'related_contact_assistant_first_name' => :'RelatedContact_Assistant_FirstName',
    :'related_contact_assistant_id' => :'RelatedContact_Assistant_Id',
    :'related_contact_assistant_is_primary' => :'RelatedContact_Assistant_IsPrimary',
    :'related_contact_assistant_last_name' => :'RelatedContact_Assistant_LastName',
    :'related_contact_client_first_name' => :'RelatedContact_Client_FirstName',
    :'related_contact_client_id' => :'RelatedContact_Client_Id',
    :'related_contact_client_is_primary' => :'RelatedContact_Client_IsPrimary',
    :'related_contact_client_last_name' => :'RelatedContact_Client_LastName',
    :'related_contact_other_first_name' => :'RelatedContact_Other_FirstName',
    :'related_contact_other_id' => :'RelatedContact_Other_Id',
    :'related_contact_other_is_primary' => :'RelatedContact_Other_IsPrimary',
    :'related_contact_other_last_name' => :'RelatedContact_Other_LastName',
    :'related_contact_referred_by_first_name' => :'RelatedContact_ReferredBy_FirstName',
    :'related_contact_referred_by_id' => :'RelatedContact_ReferredBy_Id',
    :'related_contact_referred_by_is_primary' => :'RelatedContact_ReferredBy_IsPrimary',
    :'related_contact_referred_by_last_name' => :'RelatedContact_ReferredBy_LastName',
    :'related_contact_spouse_first_name' => :'RelatedContact_Spouse_FirstName',
    :'related_contact_spouse_id' => :'RelatedContact_Spouse_Id',
    :'related_contact_spouse_is_primary' => :'RelatedContact_Spouse_IsPrimary',
    :'related_contact_spouse_last_name' => :'RelatedContact_Spouse_LastName',
    :'salary' => :'Salary',
    :'salary_details' => :'SalaryDetails',
    :'salutation_id' => :'Salutation_Id',
    :'salutation_name' => :'Salutation_Name',
    :'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_other' => :'Social_Other',
    :'social_other_is_primary' => :'Social_Other_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',
    :'source_id' => :'Source_Id',
    :'source_name' => :'Source_Name',
    :'suffix_id' => :'Suffix_Id',
    :'suffix_name' => :'Suffix_Name',
    :'tags' => :'Tags',
    :'website_blog' => :'Website_Blog',
    :'website_blog_is_primary' => :'Website_Blog_IsPrimary',
    :'website_business' => :'Website_Business',
    :'website_business_is_primary' => :'Website_Business_IsPrimary',
    :'website_facebook' => :'Website_Facebook',
    :'website_facebook_is_primary' => :'Website_Facebook_IsPrimary',
    :'website_linked_in' => :'Website_LinkedIn',
    :'website_linked_in_is_primary' => :'Website_LinkedIn_IsPrimary',
    :'website_other' => :'Website_Other',
    :'website_other_is_primary' => :'Website_Other_IsPrimary',
    :'website_personal' => :'Website_Personal',
    :'website_personal_is_primary' => :'Website_Personal_IsPrimary'
  }
end

.swagger_typesObject

Attribute type mapping.



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
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 422

def self.swagger_types
  {
    :'address_business_city' => :'String',
    :'address_business_country' => :'String',
    :'address_business_is_primary' => :'BOOLEAN',
    :'address_business_line1' => :'String',
    :'address_business_state' => :'String',
    :'address_business_zip_code' => :'String',
    :'address_home_city' => :'String',
    :'address_home_country' => :'String',
    :'address_home_is_primary' => :'BOOLEAN',
    :'address_home_line1' => :'String',
    :'address_home_state' => :'String',
    :'address_home_zip_code' => :'String',
    :'address_other_city' => :'String',
    :'address_other_country' => :'String',
    :'address_other_is_primary' => :'BOOLEAN',
    :'address_other_line1' => :'String',
    :'address_other_state' => :'String',
    :'address_other_zip_code' => :'String',
    :'current_position_company_id' => :'String',
    :'current_position_company_name' => :'String',
    :'current_position_title' => :'String',
    :'current_position_when_end' => :'DateTime',
    :'current_position_when_start' => :'DateTime',
    :'description' => :'String',
    :'education_accreditation_id' => :'String',
    :'education_accreditation_name' => :'String',
    :'education_honors' => :'Array<String>',
    :'education_institution_id' => :'String',
    :'education_institution_name' => :'String',
    :'education_when_end' => :'DateTime',
    :'education_when_start' => :'DateTime',
    :'email_address_other' => :'String',
    :'email_address_other_is_primary' => :'BOOLEAN',
    :'email_address_personal' => :'String',
    :'email_address_personal_is_primary' => :'BOOLEAN',
    :'email_address_work' => :'String',
    :'email_address_work_is_primary' => :'BOOLEAN',
    :'ethnicity_id' => :'String',
    :'ethnicity_name' => :'String',
    :'external_primary_key' => :'String',
    :'first_name' => :'String',
    :'gender_id' => :'String',
    :'gender_name' => :'String',
    :'key_date_anniversary' => :'DateTime',
    :'key_date_birthday' => :'DateTime',
    :'key_date_other' => :'DateTime',
    :'last_name' => :'String',
    :'middle_name' => :'String',
    :'nick_name' => :'String',
    :'phone_number_fax' => :'String',
    :'phone_number_fax_extension' => :'String',
    :'phone_number_fax_is_primary' => :'BOOLEAN',
    :'phone_number_home' => :'String',
    :'phone_number_home_extension' => :'String',
    :'phone_number_home_is_primary' => :'BOOLEAN',
    :'phone_number_mobile' => :'String',
    :'phone_number_mobile_extension' => :'String',
    :'phone_number_mobile_is_primary' => :'BOOLEAN',
    :'phone_number_other' => :'String',
    :'phone_number_other_extension' => :'String',
    :'phone_number_other_is_primary' => :'BOOLEAN',
    :'phone_number_skype' => :'String',
    :'phone_number_skype_extension' => :'String',
    :'phone_number_skype_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',
    :'preferred_contact_method_type_id' => :'String',
    :'preferred_contact_method_type_name' => :'String',
    :'record_type' => :'Array<String>',
    :'related_contact_assistant_first_name' => :'String',
    :'related_contact_assistant_id' => :'String',
    :'related_contact_assistant_is_primary' => :'BOOLEAN',
    :'related_contact_assistant_last_name' => :'String',
    :'related_contact_client_first_name' => :'String',
    :'related_contact_client_id' => :'String',
    :'related_contact_client_is_primary' => :'BOOLEAN',
    :'related_contact_client_last_name' => :'String',
    :'related_contact_other_first_name' => :'String',
    :'related_contact_other_id' => :'String',
    :'related_contact_other_is_primary' => :'BOOLEAN',
    :'related_contact_other_last_name' => :'String',
    :'related_contact_referred_by_first_name' => :'String',
    :'related_contact_referred_by_id' => :'String',
    :'related_contact_referred_by_is_primary' => :'BOOLEAN',
    :'related_contact_referred_by_last_name' => :'String',
    :'related_contact_spouse_first_name' => :'String',
    :'related_contact_spouse_id' => :'String',
    :'related_contact_spouse_is_primary' => :'BOOLEAN',
    :'related_contact_spouse_last_name' => :'String',
    :'salary' => :'Float',
    :'salary_details' => :'String',
    :'salutation_id' => :'String',
    :'salutation_name' => :'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_other' => :'String',
    :'social_other_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',
    :'source_id' => :'String',
    :'source_name' => :'String',
    :'suffix_id' => :'String',
    :'suffix_name' => :'String',
    :'tags' => :'Hash<String, Array<String>>',
    :'website_blog' => :'String',
    :'website_blog_is_primary' => :'BOOLEAN',
    :'website_business' => :'String',
    :'website_business_is_primary' => :'BOOLEAN',
    :'website_facebook' => :'String',
    :'website_facebook_is_primary' => :'BOOLEAN',
    :'website_linked_in' => :'String',
    :'website_linked_in_is_primary' => :'BOOLEAN',
    :'website_other' => :'String',
    :'website_other_is_primary' => :'BOOLEAN',
    :'website_personal' => :'String',
    :'website_personal_is_primary' => :'BOOLEAN'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
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
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1118

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      address_business_city == o.address_business_city &&
      address_business_country == o.address_business_country &&
      address_business_is_primary == o.address_business_is_primary &&
      address_business_line1 == o.address_business_line1 &&
      address_business_state == o.address_business_state &&
      address_business_zip_code == o.address_business_zip_code &&
      address_home_city == o.address_home_city &&
      address_home_country == o.address_home_country &&
      address_home_is_primary == o.address_home_is_primary &&
      address_home_line1 == o.address_home_line1 &&
      address_home_state == o.address_home_state &&
      address_home_zip_code == o.address_home_zip_code &&
      address_other_city == o.address_other_city &&
      address_other_country == o.address_other_country &&
      address_other_is_primary == o.address_other_is_primary &&
      address_other_line1 == o.address_other_line1 &&
      address_other_state == o.address_other_state &&
      address_other_zip_code == o.address_other_zip_code &&
      current_position_company_id == o.current_position_company_id &&
      current_position_company_name == o.current_position_company_name &&
      current_position_title == o.current_position_title &&
      current_position_when_end == o.current_position_when_end &&
      current_position_when_start == o.current_position_when_start &&
      description == o.description &&
      education_accreditation_id == o.education_accreditation_id &&
      education_accreditation_name == o.education_accreditation_name &&
      education_honors == o.education_honors &&
      education_institution_id == o.education_institution_id &&
      education_institution_name == o.education_institution_name &&
      education_when_end == o.education_when_end &&
      education_when_start == o.education_when_start &&
      email_address_other == o.email_address_other &&
      email_address_other_is_primary == o.email_address_other_is_primary &&
      email_address_personal == o.email_address_personal &&
      email_address_personal_is_primary == o.email_address_personal_is_primary &&
      email_address_work == o.email_address_work &&
      email_address_work_is_primary == o.email_address_work_is_primary &&
      ethnicity_id == o.ethnicity_id &&
      ethnicity_name == o.ethnicity_name &&
      external_primary_key == o.external_primary_key &&
      first_name == o.first_name &&
      gender_id == o.gender_id &&
      gender_name == o.gender_name &&
      key_date_anniversary == o.key_date_anniversary &&
      key_date_birthday == o.key_date_birthday &&
      key_date_other == o.key_date_other &&
      last_name == o.last_name &&
      middle_name == o.middle_name &&
      nick_name == o.nick_name &&
      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_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_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_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 &&
      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_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 &&
      preferred_contact_method_type_id == o.preferred_contact_method_type_id &&
      preferred_contact_method_type_name == o.preferred_contact_method_type_name &&
      record_type == o.record_type &&
      related_contact_assistant_first_name == o.related_contact_assistant_first_name &&
      related_contact_assistant_id == o.related_contact_assistant_id &&
      related_contact_assistant_is_primary == o.related_contact_assistant_is_primary &&
      related_contact_assistant_last_name == o.related_contact_assistant_last_name &&
      related_contact_client_first_name == o.related_contact_client_first_name &&
      related_contact_client_id == o.related_contact_client_id &&
      related_contact_client_is_primary == o.related_contact_client_is_primary &&
      related_contact_client_last_name == o.related_contact_client_last_name &&
      related_contact_other_first_name == o.related_contact_other_first_name &&
      related_contact_other_id == o.related_contact_other_id &&
      related_contact_other_is_primary == o.related_contact_other_is_primary &&
      related_contact_other_last_name == o.related_contact_other_last_name &&
      related_contact_referred_by_first_name == o.related_contact_referred_by_first_name &&
      related_contact_referred_by_id == o.related_contact_referred_by_id &&
      related_contact_referred_by_is_primary == o.related_contact_referred_by_is_primary &&
      related_contact_referred_by_last_name == o.related_contact_referred_by_last_name &&
      related_contact_spouse_first_name == o.related_contact_spouse_first_name &&
      related_contact_spouse_id == o.related_contact_spouse_id &&
      related_contact_spouse_is_primary == o.related_contact_spouse_is_primary &&
      related_contact_spouse_last_name == o.related_contact_spouse_last_name &&
      salary == o.salary &&
      salary_details == o.salary_details &&
      salutation_id == o.salutation_id &&
      salutation_name == o.salutation_name &&
      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_other == o.social_other &&
      social_other_is_primary == o.social_other_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 &&
      source_id == o.source_id &&
      source_name == o.source_name &&
      suffix_id == o.suffix_id &&
      suffix_name == o.suffix_name &&
      tags == o.tags &&
      website_blog == o.website_blog &&
      website_blog_is_primary == o.website_blog_is_primary &&
      website_business == o.website_business &&
      website_business_is_primary == o.website_business_is_primary &&
      website_facebook == o.website_facebook &&
      website_facebook_is_primary == o.website_facebook_is_primary &&
      website_linked_in == o.website_linked_in &&
      website_linked_in_is_primary == o.website_linked_in_is_primary &&
      website_other == o.website_other &&
      website_other_is_primary == o.website_other_is_primary &&
      website_personal == o.website_personal &&
      website_personal_is_primary == o.website_personal_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



1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1291

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



1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1357

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



1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1270

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


1257
1258
1259
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1257

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1263
1264
1265
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1263

def hash
  [address_business_city, address_business_country, address_business_is_primary, address_business_line1, address_business_state, address_business_zip_code, address_home_city, address_home_country, address_home_is_primary, address_home_line1, address_home_state, address_home_zip_code, address_other_city, address_other_country, address_other_is_primary, address_other_line1, address_other_state, address_other_zip_code, current_position_company_id, current_position_company_name, current_position_title, current_position_when_end, current_position_when_start, description, education_accreditation_id, education_accreditation_name, education_honors, education_institution_id, education_institution_name, education_when_end, education_when_start, email_address_other, email_address_other_is_primary, email_address_personal, email_address_personal_is_primary, email_address_work, email_address_work_is_primary, ethnicity_id, ethnicity_name, external_primary_key, first_name, gender_id, gender_name, key_date_anniversary, key_date_birthday, key_date_other, last_name, middle_name, nick_name, phone_number_fax, phone_number_fax_extension, phone_number_fax_is_primary, phone_number_home, phone_number_home_extension, phone_number_home_is_primary, phone_number_mobile, phone_number_mobile_extension, phone_number_mobile_is_primary, phone_number_other, phone_number_other_extension, phone_number_other_is_primary, phone_number_skype, phone_number_skype_extension, phone_number_skype_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, preferred_contact_method_type_id, preferred_contact_method_type_name, record_type, related_contact_assistant_first_name, related_contact_assistant_id, related_contact_assistant_is_primary, related_contact_assistant_last_name, related_contact_client_first_name, related_contact_client_id, related_contact_client_is_primary, related_contact_client_last_name, related_contact_other_first_name, related_contact_other_id, related_contact_other_is_primary, related_contact_other_last_name, related_contact_referred_by_first_name, related_contact_referred_by_id, related_contact_referred_by_is_primary, related_contact_referred_by_last_name, related_contact_spouse_first_name, related_contact_spouse_id, related_contact_spouse_is_primary, related_contact_spouse_last_name, salary, salary_details, salutation_id, salutation_name, 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_other, social_other_is_primary, social_skype, social_skype_is_primary, social_twitter, social_twitter_is_primary, social_yahoo_msg, social_yahoo_msg_is_primary, source_id, source_name, suffix_id, suffix_name, tags, website_blog, website_blog_is_primary, website_business, website_business_is_primary, website_facebook, website_facebook_is_primary, website_linked_in, website_linked_in_is_primary, website_other, website_other_is_primary, website_personal, website_personal_is_primary].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



1105
1106
1107
1108
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1105

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



1337
1338
1339
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1337

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



1343
1344
1345
1346
1347
1348
1349
1350
1351
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1343

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



1331
1332
1333
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1331

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



1112
1113
1114
# File 'lib/crelate_client/models/public_api_save_contact_request.rb', line 1112

def valid?
  return true
end