Class OrgContact

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

    public class OrgContact
    extends DirectoryObject
    implements com.github.davidmoten.odata.client.ODataEntityType

    Org.OData.Capabilities.V1.ChangeTracking

    Supported = true

    • Field Detail

      • addressesNextLink

        protected String addressesNextLink
      • companyName

        protected String companyName
      • department

        protected String department
      • displayName

        protected String displayName
      • givenName

        protected String givenName
      • jobTitle

        protected String jobTitle
      • mailNickname

        protected String mailNickname
      • onPremisesLastSyncDateTime

        protected OffsetDateTime onPremisesLastSyncDateTime
      • onPremisesProvisioningErrorsNextLink

        protected String onPremisesProvisioningErrorsNextLink
      • onPremisesSyncEnabled

        protected Boolean onPremisesSyncEnabled
      • phonesNextLink

        protected String phonesNextLink
      • proxyAddresses

        protected List<String> proxyAddresses
      • proxyAddressesNextLink

        protected String proxyAddressesNextLink
      • serviceProvisioningErrorsNextLink

        protected String serviceProvisioningErrorsNextLink
      • surname

        protected String surname
    • Constructor Detail

      • OrgContact

        protected OrgContact()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DirectoryObject
      • builderOrgContact

        public static OrgContact.Builder builderOrgContact()
        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 DirectoryObject
      • postInject

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

        public com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> getAddresses()
      • getAddresses

        public com.github.davidmoten.odata.client.CollectionPage<PhysicalOfficeAddress> getAddresses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withMailNickname

        public OrgContact withMailNickname​(String mailNickname)
      • withOnPremisesLastSyncDateTime

        public OrgContact withOnPremisesLastSyncDateTime​(OffsetDateTime onPremisesLastSyncDateTime)
      • getOnPremisesProvisioningErrors

        public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
      • getOnPremisesProvisioningErrors

        public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getOnPremisesSyncEnabled

        public Optional<Boolean> getOnPremisesSyncEnabled()
      • withOnPremisesSyncEnabled

        public OrgContact withOnPremisesSyncEnabled​(Boolean onPremisesSyncEnabled)
      • 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)
      • getProxyAddresses

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

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

        public com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError> getServiceProvisioningErrors()
      • getServiceProvisioningErrors

        public com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError> getServiceProvisioningErrors​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getUnmappedFields

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

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

        public com.github.davidmoten.odata.client.ActionRequestNoReturn retryServiceProvisioning()