Class Contact

  • All Implemented Interfaces:
    com.github.davidmoten.odata.client.ODataEntityType, com.github.davidmoten.odata.client.ODataType

    public class Contact
    extends OutlookItem
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • assistantName

        protected String assistantName
      • childrenNextLink

        protected String childrenNextLink
      • companyName

        protected String companyName
      • department

        protected String department
      • displayName

        protected String displayName
      • emailAddressesNextLink

        protected String emailAddressesNextLink
      • fileAs

        protected String fileAs
      • gender

        protected String gender
      • generation

        protected String generation
      • givenName

        protected String givenName
      • imAddressesNextLink

        protected String imAddressesNextLink
      • initials

        protected String initials
      • isFavorite

        protected Boolean isFavorite
      • jobTitle

        protected String jobTitle
      • manager

        protected String manager
      • middleName

        protected String middleName
      • nickName

        protected String nickName
      • officeLocation

        protected String officeLocation
      • parentFolderId

        protected String parentFolderId
      • personalNotes

        protected String personalNotes
      • phonesNextLink

        protected String phonesNextLink
      • postalAddressesNextLink

        protected String postalAddressesNextLink
      • profession

        protected String profession
      • spouseName

        protected String spouseName
      • surname

        protected String surname
      • title

        protected String title
      • websitesNextLink

        protected String websitesNextLink
      • weddingAnniversary

        protected LocalDate weddingAnniversary
      • yomiCompanyName

        protected String yomiCompanyName
      • yomiGivenName

        protected String yomiGivenName
      • yomiSurname

        protected String yomiSurname
    • Constructor Detail

      • Contact

        protected Contact()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class OutlookItem
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class OutlookItem
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class OutlookItem
      • withAssistantName

        public Contact withAssistantName​(String assistantName)
      • getChildren

        public com.github.davidmoten.odata.client.CollectionPage<String> getChildren()
      • getChildren

        public com.github.davidmoten.odata.client.CollectionPage<String> getChildren​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withCompanyName

        public Contact withCompanyName​(String companyName)
      • withDepartment

        public Contact withDepartment​(String department)
      • withDisplayName

        public Contact withDisplayName​(String displayName)
      • getEmailAddresses

        public com.github.davidmoten.odata.client.CollectionPage<TypedEmailAddress> getEmailAddresses()
      • getEmailAddresses

        public com.github.davidmoten.odata.client.CollectionPage<TypedEmailAddress> getEmailAddresses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withGeneration

        public Contact withGeneration​(String generation)
      • withGivenName

        public Contact withGivenName​(String givenName)
      • getImAddresses

        public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses()
      • getImAddresses

        public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withInitials

        public Contact withInitials​(String initials)
      • withIsFavorite

        public Contact withIsFavorite​(Boolean isFavorite)
      • withJobTitle

        public Contact withJobTitle​(String jobTitle)
      • withMiddleName

        public Contact withMiddleName​(String middleName)
      • withNickName

        public Contact withNickName​(String nickName)
      • withOfficeLocation

        public Contact withOfficeLocation​(String officeLocation)
      • withParentFolderId

        public Contact withParentFolderId​(String parentFolderId)
      • withPersonalNotes

        public Contact withPersonalNotes​(String personalNotes)
      • getPhones

        public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones()
      • getPhones

        public com.github.davidmoten.odata.client.CollectionPage<Phone> getPhones​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getPostalAddresses

        public com.github.davidmoten.odata.client.CollectionPage<PhysicalAddress> getPostalAddresses()
      • getPostalAddresses

        public com.github.davidmoten.odata.client.CollectionPage<PhysicalAddress> getPostalAddresses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withProfession

        public Contact withProfession​(String profession)
      • withSpouseName

        public Contact withSpouseName​(String spouseName)
      • getWebsites

        public com.github.davidmoten.odata.client.CollectionPage<Website> getWebsites()
      • getWebsites

        public com.github.davidmoten.odata.client.CollectionPage<Website> getWebsites​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withWeddingAnniversary

        public Contact withWeddingAnniversary​(LocalDate weddingAnniversary)
      • withYomiCompanyName

        public Contact withYomiCompanyName​(String yomiCompanyName)
      • withYomiGivenName

        public Contact withYomiGivenName​(String yomiGivenName)
      • withYomiSurname

        public Contact withYomiSurname​(String yomiSurname)
      • getExtensions

        public ExtensionCollectionRequest getExtensions()

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Returns:
        navigational property extensions
      • getPhoto

        public ProfilePhotoRequest getPhoto()

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = false

        Org.OData.Capabilities.V1.DeleteRestrictions

        Deletable = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Org.OData.Capabilities.V1.InsertRestrictions

        Insertable = false

        Org.OData.Capabilities.V1.SearchRestrictions

        Searchable = false

        Returns:
        navigational property photo
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class OutlookItem
      • patch

        public Contact patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class OutlookItem
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class OutlookItem
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected