Class Organization

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

    public class Organization
    extends DirectoryObject
    implements com.github.davidmoten.odata.client.ODataEntityType
    • Field Detail

      • assignedPlansNextLink

        protected String assignedPlansNextLink
      • businessPhones

        protected List<String> businessPhones
      • businessPhonesNextLink

        protected String businessPhonesNextLink
      • country

        protected String country
      • countryLetterCode

        protected String countryLetterCode
      • defaultUsageLocation

        protected String defaultUsageLocation
      • displayName

        protected String displayName
      • marketingNotificationEmails

        protected List<String> marketingNotificationEmails
      • marketingNotificationEmailsNextLink

        protected String marketingNotificationEmailsNextLink
      • onPremisesLastSyncDateTime

        protected OffsetDateTime onPremisesLastSyncDateTime
      • onPremisesSyncEnabled

        protected Boolean onPremisesSyncEnabled
      • postalCode

        protected String postalCode
      • preferredLanguage

        protected String preferredLanguage
      • provisionedPlansNextLink

        protected String provisionedPlansNextLink
      • securityComplianceNotificationMails

        protected List<String> securityComplianceNotificationMails
      • securityComplianceNotificationMailsNextLink

        protected String securityComplianceNotificationMailsNextLink
      • securityComplianceNotificationPhones

        protected List<String> securityComplianceNotificationPhones
      • securityComplianceNotificationPhonesNextLink

        protected String securityComplianceNotificationPhonesNextLink
      • state

        protected String state
      • street

        protected String street
      • technicalNotificationMails

        protected List<String> technicalNotificationMails
      • technicalNotificationMailsNextLink

        protected String technicalNotificationMailsNextLink
      • tenantType

        protected String tenantType
      • verifiedDomainsNextLink

        protected String verifiedDomainsNextLink
      • mobileDeviceManagementAuthority

        protected MdmAuthority mobileDeviceManagementAuthority
    • Constructor Detail

      • Organization

        protected Organization()
    • Method Detail

      • odataTypeName

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

        public static Organization.Builder builderOrganization()
        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
      • getAssignedPlans

        public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans()
      • getAssignedPlans

        public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getBusinessPhones

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

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

        public Optional<String> getCountryLetterCode()
      • withCountryLetterCode

        public Organization withCountryLetterCode​(String countryLetterCode)
      • getDefaultUsageLocation

        public Optional<String> getDefaultUsageLocation()
      • withDefaultUsageLocation

        public Organization withDefaultUsageLocation​(String defaultUsageLocation)
      • getMarketingNotificationEmails

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

        public Organization withMarketingNotificationEmails​(List<String> marketingNotificationEmails)
      • getMarketingNotificationEmails

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

        public Organization withOnPremisesLastSyncDateTime​(OffsetDateTime onPremisesLastSyncDateTime)
      • getOnPremisesSyncEnabled

        public Optional<Boolean> getOnPremisesSyncEnabled()
      • withOnPremisesSyncEnabled

        public Organization withOnPremisesSyncEnabled​(Boolean onPremisesSyncEnabled)
      • getPreferredLanguage

        public Optional<String> getPreferredLanguage()
      • withPreferredLanguage

        public Organization withPreferredLanguage​(String preferredLanguage)
      • getProvisionedPlans

        public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans()
      • getProvisionedPlans

        public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getSecurityComplianceNotificationMails

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

        public Organization withSecurityComplianceNotificationMails​(List<String> securityComplianceNotificationMails)
      • getSecurityComplianceNotificationMails

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

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

        public Organization withSecurityComplianceNotificationPhones​(List<String> securityComplianceNotificationPhones)
      • getSecurityComplianceNotificationPhones

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

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

        public Organization withTechnicalNotificationMails​(List<String> technicalNotificationMails)
      • getTechnicalNotificationMails

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

        public com.github.davidmoten.odata.client.CollectionPage<VerifiedDomain> getVerifiedDomains()
      • getVerifiedDomains

        public com.github.davidmoten.odata.client.CollectionPage<VerifiedDomain> getVerifiedDomains​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getMobileDeviceManagementAuthority

        public Optional<MdmAuthority> getMobileDeviceManagementAuthority()
        “Mobile device management authority.”
        Returns:
        property mobileDeviceManagementAuthority
      • withMobileDeviceManagementAuthority

        public Organization withMobileDeviceManagementAuthority​(MdmAuthority mobileDeviceManagementAuthority)
        Returns an immutable copy of this with just the mobileDeviceManagementAuthority field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.patch() is called (if available)on the returned object only the changed fields are submitted.

        “Mobile device management authority.”

        Parameters:
        mobileDeviceManagementAuthority - new value of mobileDeviceManagementAuthority field (as defined in service metadata)
        Returns:
        immutable copy of this with just the mobileDeviceManagementAuthority field changed
      • 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 Organization 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 Organization 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
      • setMobileDeviceManagementAuthority

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Integer> setMobileDeviceManagementAuthority()