Package microsoft.dynamics.crm.entity
Class Contact
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Contact
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Contact extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContact.Builder
-
Field Summary
-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedContact()
-
Method Summary
-
-
-
Field Detail
-
spousesname
protected String spousesname
-
emailaddress3
protected String emailaddress3
-
address3_telephone3
protected String address3_telephone3
-
entityimage_timestamp
protected Long entityimage_timestamp
-
address2_shippingmethodcode
protected Integer address2_shippingmethodcode
-
mobilephone
protected String mobilephone
-
address3_shippingmethodcode
protected Integer address3_shippingmethodcode
-
address3_postalcode
protected String address3_postalcode
-
versionnumber
protected Long versionnumber
-
annualincome
protected BigDecimal annualincome
-
fax
protected String fax
-
telephone3
protected String telephone3
-
preferredappointmentdaycode
protected Integer preferredappointmentdaycode
-
address3_city
protected String address3_city
-
lastonholdtime
protected OffsetDateTime lastonholdtime
-
address2_stateorprovince
protected String address2_stateorprovince
-
_createdby_value
protected String _createdby_value
-
address2_line1
protected String address2_line1
-
assistantphone
protected String assistantphone
-
lastusedincampaign
protected OffsetDateTime lastusedincampaign
-
address3_freighttermscode
protected Integer address3_freighttermscode
-
pager
protected String pager
-
employeeid
protected String employeeid
-
territorycode
protected Integer territorycode
-
_parentcustomerid_value
protected String _parentcustomerid_value
-
managername
protected String managername
-
birthdate
protected LocalDate birthdate
-
address1_name
protected String address1_name
-
department
protected String department
-
address3_country
protected String address3_country
-
address2_telephone1
protected String address2_telephone1
-
address1_postofficebox
protected String address1_postofficebox
-
address2_primarycontactname
protected String address2_primarycontactname
-
address2_latitude
protected Double address2_latitude
-
_owningteam_value
protected String _owningteam_value
-
timezoneruleversionnumber
protected Integer timezoneruleversionnumber
-
home2
protected String home2
-
utcconversiontimezonecode
protected Integer utcconversiontimezonecode
-
address2_postalcode
protected String address2_postalcode
-
_owninguser_value
protected String _owninguser_value
-
merged
protected Boolean merged
-
_masterid_value
protected String _masterid_value
-
_createdonbehalfby_value
protected String _createdonbehalfby_value
-
address3_postofficebox
protected String address3_postofficebox
-
customertypecode
protected Integer customertypecode
-
business2
protected String business2
-
address3_county
protected String address3_county
-
address1_latitude
protected Double address1_latitude
-
address1_freighttermscode
protected Integer address1_freighttermscode
-
traversedpath
protected String traversedpath
-
address3_addresstypecode
protected Integer address3_addresstypecode
-
address1_longitude
protected Double address1_longitude
-
address1_addresstypecode
protected Integer address1_addresstypecode
-
statuscode
protected Integer statuscode
-
yomifullname
protected String yomifullname
-
aging90_base
protected BigDecimal aging90_base
-
_accountid_value
protected String _accountid_value
-
address3_primarycontactname
protected String address3_primarycontactname
-
familystatuscode
protected Integer familystatuscode
-
address3_addressid
protected String address3_addressid
-
leadsourcecode
protected Integer leadsourcecode
-
statecode
protected Integer statecode
-
address2_freighttermscode
protected Integer address2_freighttermscode
-
address1_composite
protected String address1_composite
-
telephone2
protected String telephone2
-
yomimiddlename
protected String yomimiddlename
-
_modifiedonbehalfby_value
protected String _modifiedonbehalfby_value
-
jobtitle
protected String jobtitle
-
address2_addresstypecode
protected Integer address2_addresstypecode
-
educationcode
protected Integer educationcode
-
address1_telephone3
protected String address1_telephone3
-
followemail
protected Boolean followemail
-
importsequencenumber
protected Integer importsequencenumber
-
gendercode
protected Integer gendercode
-
address2_line2
protected String address2_line2
-
creditlimit_base
protected BigDecimal creditlimit_base
-
annualincome_base
protected BigDecimal annualincome_base
-
donotfax
protected Boolean donotfax
-
address3_line1
protected String address3_line1
-
address1_county
protected String address1_county
-
_owningbusinessunit_value
protected String _owningbusinessunit_value
-
_createdbyexternalparty_value
protected String _createdbyexternalparty_value
-
entityimageid
protected String entityimageid
-
processid
protected String processid
-
address1_telephone2
protected String address1_telephone2
-
description
protected String description
-
address1_fax
protected String address1_fax
-
marketingonly
protected Boolean marketingonly
-
address3_line2
protected String address3_line2
-
address1_addressid
protected String address1_addressid
-
donotpostalmail
protected Boolean donotpostalmail
-
address2_utcoffset
protected Integer address2_utcoffset
-
exchangerate
protected BigDecimal exchangerate
-
aging30_base
protected BigDecimal aging30_base
-
callback
protected String callback
-
emailaddress2
protected String emailaddress2
-
address2_line3
protected String address2_line3
-
managerphone
protected String managerphone
-
websiteurl
protected String websiteurl
-
overriddencreatedon
protected OffsetDateTime overriddencreatedon
-
firstname
protected String firstname
-
address1_telephone1
protected String address1_telephone1
-
address3_composite
protected String address3_composite
-
address3_fax
protected String address3_fax
-
childrensnames
protected String childrensnames
-
preferredcontactmethodcode
protected Integer preferredcontactmethodcode
-
numberofchildren
protected Integer numberofchildren
-
subscriptionid
protected String subscriptionid
-
yomilastname
protected String yomilastname
-
address2_postofficebox
protected String address2_postofficebox
-
aging90
protected BigDecimal aging90
-
donotbulkpostalmail
protected Boolean donotbulkpostalmail
-
emailaddress1
protected String emailaddress1
-
donotbulkemail
protected Boolean donotbulkemail
-
customersizecode
protected Integer customersizecode
-
address1_city
protected String address1_city
-
preferredappointmenttimecode
protected Integer preferredappointmenttimecode
-
address3_latitude
protected Double address3_latitude
-
aging60_base
protected BigDecimal aging60_base
-
_transactioncurrencyid_value
protected String _transactioncurrencyid_value
-
entityimage
protected byte[] entityimage
-
_modifiedbyexternalparty_value
protected String _modifiedbyexternalparty_value
-
paymenttermscode
protected Integer paymenttermscode
-
address3_name
protected String address3_name
-
participatesinworkflow
protected Boolean participatesinworkflow
-
address1_shippingmethodcode
protected Integer address1_shippingmethodcode
-
_modifiedby_value
protected String _modifiedby_value
-
ftpsiteurl
protected String ftpsiteurl
-
_preferredsystemuserid_value
protected String _preferredsystemuserid_value
-
address2_telephone2
protected String address2_telephone2
-
_slainvokedid_value
protected String _slainvokedid_value
-
address3_utcoffset
protected Integer address3_utcoffset
-
address3_stateorprovince
protected String address3_stateorprovince
-
address3_telephone1
protected String address3_telephone1
-
nickname
protected String nickname
-
fullname
protected String fullname
-
assistantname
protected String assistantname
-
address2_country
protected String address2_country
-
aging60
protected BigDecimal aging60
-
modifiedon
protected OffsetDateTime modifiedon
-
externaluseridentifier
protected String externaluseridentifier
-
address2_name
protected String address2_name
-
stageid
protected String stageid
-
creditonhold
protected Boolean creditonhold
-
address3_longitude
protected Double address3_longitude
-
onholdtime
protected Integer onholdtime
-
address2_telephone3
protected String address2_telephone3
-
donotphone
protected Boolean donotphone
-
address3_upszone
protected String address3_upszone
-
contactid
protected String contactid
-
aging30
protected BigDecimal aging30
-
address2_upszone
protected String address2_upszone
-
address1_upszone
protected String address1_upszone
-
creditlimit
protected BigDecimal creditlimit
-
accountrolecode
protected Integer accountrolecode
-
salutation
protected String salutation
-
suffix
protected String suffix
-
address1_primarycontactname
protected String address1_primarycontactname
-
address1_utcoffset
protected Integer address1_utcoffset
-
address1_postalcode
protected String address1_postalcode
-
governmentid
protected String governmentid
-
donotsendmm
protected Boolean donotsendmm
-
address1_country
protected String address1_country
-
lastname
protected String lastname
-
address2_city
protected String address2_city
-
donotemail
protected Boolean donotemail
-
company
protected String company
-
address1_line2
protected String address1_line2
-
address2_longitude
protected Double address2_longitude
-
address1_stateorprovince
protected String address1_stateorprovince
-
yomifirstname
protected String yomifirstname
-
telephone1
protected String telephone1
-
address1_line1
protected String address1_line1
-
address2_addressid
protected String address2_addressid
-
isbackofficecustomer
protected Boolean isbackofficecustomer
-
address2_county
protected String address2_county
-
shippingmethodcode
protected Integer shippingmethodcode
-
anniversary
protected LocalDate anniversary
-
_ownerid_value
protected String _ownerid_value
-
_parentcontactid_value
protected String _parentcontactid_value
-
haschildrencode
protected Integer haschildrencode
-
address2_fax
protected String address2_fax
-
address2_composite
protected String address2_composite
-
createdon
protected OffsetDateTime createdon
-
entityimage_url
protected String entityimage_url
-
address1_line3
protected String address1_line3
-
_slaid_value
protected String _slaid_value
-
middlename
protected String middlename
-
address3_line3
protected String address3_line3
-
address3_telephone2
protected String address3_telephone2
-
timespentbymeonemailandmeetings
protected String timespentbymeonemailandmeetings
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderContact
public static Contact.Builder builderContact()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
withAddress2_shippingmethodcode
public Contact withAddress2_shippingmethodcode(Integer address2_shippingmethodcode)
-
withAddress3_shippingmethodcode
public Contact withAddress3_shippingmethodcode(Integer address3_shippingmethodcode)
-
getAnnualincome
public Optional<BigDecimal> getAnnualincome()
-
withAnnualincome
public Contact withAnnualincome(BigDecimal annualincome)
-
withPreferredappointmentdaycode
public Contact withPreferredappointmentdaycode(Integer preferredappointmentdaycode)
-
getLastonholdtime
public Optional<OffsetDateTime> getLastonholdtime()
-
withLastonholdtime
public Contact withLastonholdtime(OffsetDateTime lastonholdtime)
-
withAddress2_stateorprovince
public Contact withAddress2_stateorprovince(String address2_stateorprovince)
-
getLastusedincampaign
public Optional<OffsetDateTime> getLastusedincampaign()
-
withLastusedincampaign
public Contact withLastusedincampaign(OffsetDateTime lastusedincampaign)
-
withAddress3_freighttermscode
public Contact withAddress3_freighttermscode(Integer address3_freighttermscode)
-
with_parentcustomerid_value
public Contact with_parentcustomerid_value(String _parentcustomerid_value)
-
withAddress1_postofficebox
public Contact withAddress1_postofficebox(String address1_postofficebox)
-
withAddress2_primarycontactname
public Contact withAddress2_primarycontactname(String address2_primarycontactname)
-
withTimezoneruleversionnumber
public Contact withTimezoneruleversionnumber(Integer timezoneruleversionnumber)
-
withUtcconversiontimezonecode
public Contact withUtcconversiontimezonecode(Integer utcconversiontimezonecode)
-
with_createdonbehalfby_value
public Contact with_createdonbehalfby_value(String _createdonbehalfby_value)
-
withAddress3_postofficebox
public Contact withAddress3_postofficebox(String address3_postofficebox)
-
withAddress1_freighttermscode
public Contact withAddress1_freighttermscode(Integer address1_freighttermscode)
-
withAddress3_addresstypecode
public Contact withAddress3_addresstypecode(Integer address3_addresstypecode)
-
withAddress1_addresstypecode
public Contact withAddress1_addresstypecode(Integer address1_addresstypecode)
-
getAging90_base
public Optional<BigDecimal> getAging90_base()
-
withAging90_base
public Contact withAging90_base(BigDecimal aging90_base)
-
withAddress3_primarycontactname
public Contact withAddress3_primarycontactname(String address3_primarycontactname)
-
withAddress2_freighttermscode
public Contact withAddress2_freighttermscode(Integer address2_freighttermscode)
-
with_modifiedonbehalfby_value
public Contact with_modifiedonbehalfby_value(String _modifiedonbehalfby_value)
-
withAddress2_addresstypecode
public Contact withAddress2_addresstypecode(Integer address2_addresstypecode)
-
getCreditlimit_base
public Optional<BigDecimal> getCreditlimit_base()
-
withCreditlimit_base
public Contact withCreditlimit_base(BigDecimal creditlimit_base)
-
getAnnualincome_base
public Optional<BigDecimal> getAnnualincome_base()
-
withAnnualincome_base
public Contact withAnnualincome_base(BigDecimal annualincome_base)
-
with_owningbusinessunit_value
public Contact with_owningbusinessunit_value(String _owningbusinessunit_value)
-
with_createdbyexternalparty_value
public Contact with_createdbyexternalparty_value(String _createdbyexternalparty_value)
-
getExchangerate
public Optional<BigDecimal> getExchangerate()
-
withExchangerate
public Contact withExchangerate(BigDecimal exchangerate)
-
getAging30_base
public Optional<BigDecimal> getAging30_base()
-
withAging30_base
public Contact withAging30_base(BigDecimal aging30_base)
-
getOverriddencreatedon
public Optional<OffsetDateTime> getOverriddencreatedon()
-
withOverriddencreatedon
public Contact withOverriddencreatedon(OffsetDateTime overriddencreatedon)
-
withPreferredcontactmethodcode
public Contact withPreferredcontactmethodcode(Integer preferredcontactmethodcode)
-
withAddress2_postofficebox
public Contact withAddress2_postofficebox(String address2_postofficebox)
-
getAging90
public Optional<BigDecimal> getAging90()
-
withAging90
public Contact withAging90(BigDecimal aging90)
-
withPreferredappointmenttimecode
public Contact withPreferredappointmenttimecode(Integer preferredappointmenttimecode)
-
getAging60_base
public Optional<BigDecimal> getAging60_base()
-
withAging60_base
public Contact withAging60_base(BigDecimal aging60_base)
-
with_transactioncurrencyid_value
public Contact with_transactioncurrencyid_value(String _transactioncurrencyid_value)
-
getEntityimage
public Optional<byte[]> getEntityimage()
-
withEntityimage
public Contact withEntityimage(byte[] entityimage)
-
with_modifiedbyexternalparty_value
public Contact with_modifiedbyexternalparty_value(String _modifiedbyexternalparty_value)
-
withParticipatesinworkflow
public Contact withParticipatesinworkflow(Boolean participatesinworkflow)
-
withAddress1_shippingmethodcode
public Contact withAddress1_shippingmethodcode(Integer address1_shippingmethodcode)
-
with_preferredsystemuserid_value
public Contact with_preferredsystemuserid_value(String _preferredsystemuserid_value)
-
withAddress3_stateorprovince
public Contact withAddress3_stateorprovince(String address3_stateorprovince)
-
getAging60
public Optional<BigDecimal> getAging60()
-
withAging60
public Contact withAging60(BigDecimal aging60)
-
getModifiedon
public Optional<OffsetDateTime> getModifiedon()
-
withModifiedon
public Contact withModifiedon(OffsetDateTime modifiedon)
-
withExternaluseridentifier
public Contact withExternaluseridentifier(String externaluseridentifier)
-
getAging30
public Optional<BigDecimal> getAging30()
-
withAging30
public Contact withAging30(BigDecimal aging30)
-
getCreditlimit
public Optional<BigDecimal> getCreditlimit()
-
withCreditlimit
public Contact withCreditlimit(BigDecimal creditlimit)
-
withAddress1_primarycontactname
public Contact withAddress1_primarycontactname(String address1_primarycontactname)
-
withAddress1_stateorprovince
public Contact withAddress1_stateorprovince(String address1_stateorprovince)
-
with_parentcontactid_value
public Contact with_parentcontactid_value(String _parentcontactid_value)
-
getCreatedon
public Optional<OffsetDateTime> getCreatedon()
-
withCreatedon
public Contact withCreatedon(OffsetDateTime createdon)
-
withTimespentbymeonemailandmeetings
public Contact withTimespentbymeonemailandmeetings(String timespentbymeonemailandmeetings)
-
withUnmappedField
public Contact withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getContact_principalobjectattributeaccess
public PrincipalobjectattributeaccessCollectionRequest getContact_principalobjectattributeaccess()
-
getContact_connections1
public ConnectionCollectionRequest getContact_connections1()
-
getContact_Feedback
public FeedbackCollectionRequest getContact_Feedback()
-
getContact_ProcessSessions
public ProcesssessionCollectionRequest getContact_ProcessSessions()
-
getStageid_processstage
public ProcessstageRequest getStageid_processstage()
-
getContact_ActivityPointers
public ActivitypointerCollectionRequest getContact_ActivityPointers()
-
getContact_SocialActivities
public SocialactivityCollectionRequest getContact_SocialActivities()
-
getLk_contact_feedback_createdonbehalfby
public FeedbackCollectionRequest getLk_contact_feedback_createdonbehalfby()
-
getContact_PostFollows
public PostfollowCollectionRequest getContact_PostFollows()
-
getContact_PostRegardings
public PostregardingCollectionRequest getContact_PostRegardings()
-
getSocialactivity_postauthor_contacts
public SocialactivityCollectionRequest getSocialactivity_postauthor_contacts()
-
getContact_Phonecalls
public PhonecallCollectionRequest getContact_Phonecalls()
-
getContact_Tasks
public TaskCollectionRequest getContact_Tasks()
-
getContact_SyncErrors
public SyncerrorCollectionRequest getContact_SyncErrors()
-
getSlainvokedid_contact_sla
public SlaRequest getSlainvokedid_contact_sla()
-
getSla_contact_sla
public SlaRequest getSla_contact_sla()
-
getCreatedonbehalfby
public SystemuserRequest getCreatedonbehalfby()
-
getContact_Annotation
public AnnotationCollectionRequest getContact_Annotation()
-
getMasterid
public ContactRequest getMasterid()
-
getContact_master_contact
public ContactCollectionRequest getContact_master_contact()
-
getModifiedonbehalfby
public SystemuserRequest getModifiedonbehalfby()
-
getContact_Email_EmailSender
public EmailCollectionRequest getContact_Email_EmailSender()
-
getAccount_primary_contact
public AccountCollectionRequest getAccount_primary_contact()
-
getCreatedby
public SystemuserRequest getCreatedby()
-
getContact_actioncard
public ActioncardCollectionRequest getContact_actioncard()
-
getSocialactivity_postauthoraccount_contacts
public SocialactivityCollectionRequest getSocialactivity_postauthoraccount_contacts()
-
getSocialprofile_customer_contacts
public SocialprofileCollectionRequest getSocialprofile_customer_contacts()
-
getContact_CustomerAddress
public CustomeraddressCollectionRequest getContact_CustomerAddress()
-
getOwningbusinessunit
public BusinessunitRequest getOwningbusinessunit()
-
getOwningteam
public TeamRequest getOwningteam()
-
getParentcustomerid_account
public AccountRequest getParentcustomerid_account()
-
getContact_DuplicateMatchingRecord
public DuplicaterecordCollectionRequest getContact_DuplicateMatchingRecord()
-
getLk_contact_feedback_createdby
public FeedbackCollectionRequest getLk_contact_feedback_createdby()
-
getSlakpiinstance_contact
public SlakpiinstanceCollectionRequest getSlakpiinstance_contact()
-
getPreferredsystemuserid
public SystemuserRequest getPreferredsystemuserid()
-
getContact_Faxes
public FaxCollectionRequest getContact_Faxes()
-
getContact_MailboxTrackingFolder
public MailboxtrackingfolderCollectionRequest getContact_MailboxTrackingFolder()
-
getContact_Appointments
public AppointmentCollectionRequest getContact_Appointments()
-
getOwninguser
public SystemuserRequest getOwninguser()
-
getContact_AsyncOperations
public AsyncoperationCollectionRequest getContact_AsyncOperations()
-
getOwnerid
public PrincipalRequest getOwnerid()
-
getTransactioncurrencyid
public TransactioncurrencyRequest getTransactioncurrencyid()
-
getContact_RecurringAppointmentMasters
public RecurringappointmentmasterCollectionRequest getContact_RecurringAppointmentMasters()
-
getContact_BulkDeleteFailures
public BulkdeletefailureCollectionRequest getContact_BulkDeleteFailures()
-
getParentcustomerid_contact
public ContactRequest getParentcustomerid_contact()
-
getContact_customer_contacts
public ContactCollectionRequest getContact_customer_contacts()
-
getContact_connections2
public ConnectionCollectionRequest getContact_connections2()
-
getContact_DuplicateBaseRecord
public DuplicaterecordCollectionRequest getContact_DuplicateBaseRecord()
-
getModifiedby
public SystemuserRequest getModifiedby()
-
getContact_Emails
public EmailCollectionRequest getContact_Emails()
-
getContact_activity_parties
public ActivitypartyCollectionRequest getContact_activity_parties()
-
getContact_Letters
public LetterCollectionRequest getContact_Letters()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Contact patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Contact put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-