Class MicrosoftGraphOrganizationInner


  • public final class MicrosoftGraphOrganizationInner
    extends MicrosoftGraphDirectoryObjectInner
    The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
    • Constructor Detail

      • MicrosoftGraphOrganizationInner

        public MicrosoftGraphOrganizationInner()
    • Method Detail

      • assignedPlans

        public List<MicrosoftGraphAssignedPlan> assignedPlans()
        Get the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.
        Returns:
        the assignedPlans value.
      • withAssignedPlans

        public MicrosoftGraphOrganizationInner withAssignedPlans​(List<MicrosoftGraphAssignedPlan> assignedPlans)
        Set the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.
        Parameters:
        assignedPlans - the assignedPlans value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • businessPhones

        public List<String> businessPhones()
        Get the businessPhones property: Telephone number for the organization. NOTE: Although this is a string collection, only one number can be set for this property.
        Returns:
        the businessPhones value.
      • withBusinessPhones

        public MicrosoftGraphOrganizationInner withBusinessPhones​(List<String> businessPhones)
        Set the businessPhones property: Telephone number for the organization. NOTE: Although this is a string collection, only one number can be set for this property.
        Parameters:
        businessPhones - the businessPhones value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • city

        public String city()
        Get the city property: City name of the address for the organization.
        Returns:
        the city value.
      • withCity

        public MicrosoftGraphOrganizationInner withCity​(String city)
        Set the city property: City name of the address for the organization.
        Parameters:
        city - the city value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • country

        public String country()
        Get the country property: Country/region name of the address for the organization.
        Returns:
        the country value.
      • withCountry

        public MicrosoftGraphOrganizationInner withCountry​(String country)
        Set the country property: Country/region name of the address for the organization.
        Parameters:
        country - the country value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • countryLetterCode

        public String countryLetterCode()
        Get the countryLetterCode property: Country/region abbreviation for the organization.
        Returns:
        the countryLetterCode value.
      • withCountryLetterCode

        public MicrosoftGraphOrganizationInner withCountryLetterCode​(String countryLetterCode)
        Set the countryLetterCode property: Country/region abbreviation for the organization.
        Parameters:
        countryLetterCode - the countryLetterCode value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • createdDateTime

        public OffsetDateTime createdDateTime()
        Get the createdDateTime property: Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        Returns:
        the createdDateTime value.
      • withCreatedDateTime

        public MicrosoftGraphOrganizationInner withCreatedDateTime​(OffsetDateTime createdDateTime)
        Set the createdDateTime property: Timestamp of when the organization was created. The value cannot be modified and is automatically populated when the organization is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        Parameters:
        createdDateTime - the createdDateTime value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • displayName

        public String displayName()
        Get the displayName property: The display name for the tenant.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphOrganizationInner withDisplayName​(String displayName)
        Set the displayName property: The display name for the tenant.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • marketingNotificationEmails

        public List<String> marketingNotificationEmails()
        Get the marketingNotificationEmails property: Not nullable.
        Returns:
        the marketingNotificationEmails value.
      • withMarketingNotificationEmails

        public MicrosoftGraphOrganizationInner withMarketingNotificationEmails​(List<String> marketingNotificationEmails)
        Set the marketingNotificationEmails property: Not nullable.
        Parameters:
        marketingNotificationEmails - the marketingNotificationEmails value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • onPremisesLastSyncDateTime

        public OffsetDateTime onPremisesLastSyncDateTime()
        Get the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        Returns:
        the onPremisesLastSyncDateTime value.
      • withOnPremisesLastSyncDateTime

        public MicrosoftGraphOrganizationInner withOnPremisesLastSyncDateTime​(OffsetDateTime onPremisesLastSyncDateTime)
        Set the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        Parameters:
        onPremisesLastSyncDateTime - the onPremisesLastSyncDateTime value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • onPremisesSyncEnabled

        public Boolean onPremisesSyncEnabled()
        Get the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).
        Returns:
        the onPremisesSyncEnabled value.
      • withOnPremisesSyncEnabled

        public MicrosoftGraphOrganizationInner withOnPremisesSyncEnabled​(Boolean onPremisesSyncEnabled)
        Set the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).
        Parameters:
        onPremisesSyncEnabled - the onPremisesSyncEnabled value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • postalCode

        public String postalCode()
        Get the postalCode property: Postal code of the address for the organization.
        Returns:
        the postalCode value.
      • withPostalCode

        public MicrosoftGraphOrganizationInner withPostalCode​(String postalCode)
        Set the postalCode property: Postal code of the address for the organization.
        Parameters:
        postalCode - the postalCode value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • preferredLanguage

        public String preferredLanguage()
        Get the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.
        Returns:
        the preferredLanguage value.
      • withPreferredLanguage

        public MicrosoftGraphOrganizationInner withPreferredLanguage​(String preferredLanguage)
        Set the preferredLanguage property: The preferred language for the organization. Should follow ISO 639-1 Code; for example 'en'.
        Parameters:
        preferredLanguage - the preferredLanguage value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • privacyProfile

        public MicrosoftGraphPrivacyProfile privacyProfile()
        Get the privacyProfile property: privacyProfile.
        Returns:
        the privacyProfile value.
      • withPrivacyProfile

        public MicrosoftGraphOrganizationInner withPrivacyProfile​(MicrosoftGraphPrivacyProfile privacyProfile)
        Set the privacyProfile property: privacyProfile.
        Parameters:
        privacyProfile - the privacyProfile value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • provisionedPlans

        public List<MicrosoftGraphProvisionedPlan> provisionedPlans()
        Get the provisionedPlans property: Not nullable.
        Returns:
        the provisionedPlans value.
      • securityComplianceNotificationMails

        public List<String> securityComplianceNotificationMails()
        Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.
        Returns:
        the securityComplianceNotificationMails value.
      • withSecurityComplianceNotificationMails

        public MicrosoftGraphOrganizationInner withSecurityComplianceNotificationMails​(List<String> securityComplianceNotificationMails)
        Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.
        Parameters:
        securityComplianceNotificationMails - the securityComplianceNotificationMails value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • securityComplianceNotificationPhones

        public List<String> securityComplianceNotificationPhones()
        Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.
        Returns:
        the securityComplianceNotificationPhones value.
      • withSecurityComplianceNotificationPhones

        public MicrosoftGraphOrganizationInner withSecurityComplianceNotificationPhones​(List<String> securityComplianceNotificationPhones)
        Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.
        Parameters:
        securityComplianceNotificationPhones - the securityComplianceNotificationPhones value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • state

        public String state()
        Get the state property: State name of the address for the organization.
        Returns:
        the state value.
      • withState

        public MicrosoftGraphOrganizationInner withState​(String state)
        Set the state property: State name of the address for the organization.
        Parameters:
        state - the state value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • street

        public String street()
        Get the street property: Street name of the address for organization.
        Returns:
        the street value.
      • withStreet

        public MicrosoftGraphOrganizationInner withStreet​(String street)
        Set the street property: Street name of the address for organization.
        Parameters:
        street - the street value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • technicalNotificationMails

        public List<String> technicalNotificationMails()
        Get the technicalNotificationMails property: Not nullable.
        Returns:
        the technicalNotificationMails value.
      • withTechnicalNotificationMails

        public MicrosoftGraphOrganizationInner withTechnicalNotificationMails​(List<String> technicalNotificationMails)
        Set the technicalNotificationMails property: Not nullable.
        Parameters:
        technicalNotificationMails - the technicalNotificationMails value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • tenantType

        public String tenantType()
        Get the tenantType property: The tenantType property.
        Returns:
        the tenantType value.
      • withTenantType

        public MicrosoftGraphOrganizationInner withTenantType​(String tenantType)
        Set the tenantType property: The tenantType property.
        Parameters:
        tenantType - the tenantType value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • verifiedDomains

        public List<MicrosoftGraphVerifiedDomain> verifiedDomains()
        Get the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.
        Returns:
        the verifiedDomains value.
      • withVerifiedDomains

        public MicrosoftGraphOrganizationInner withVerifiedDomains​(List<MicrosoftGraphVerifiedDomain> verifiedDomains)
        Set the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.
        Parameters:
        verifiedDomains - the verifiedDomains value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • mobileDeviceManagementAuthority

        public MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority()
        Get the mobileDeviceManagementAuthority property: mdmAuthority.
        Returns:
        the mobileDeviceManagementAuthority value.
      • withMobileDeviceManagementAuthority

        public MicrosoftGraphOrganizationInner withMobileDeviceManagementAuthority​(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority)
        Set the mobileDeviceManagementAuthority property: mdmAuthority.
        Parameters:
        mobileDeviceManagementAuthority - the mobileDeviceManagementAuthority value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • certificateBasedAuthConfiguration

        public List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration()
        Get the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.
        Returns:
        the certificateBasedAuthConfiguration value.
      • withCertificateBasedAuthConfiguration

        public MicrosoftGraphOrganizationInner withCertificateBasedAuthConfiguration​(List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration)
        Set the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.
        Parameters:
        certificateBasedAuthConfiguration - the certificateBasedAuthConfiguration value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • extensions

        public List<MicrosoftGraphExtensionInner> extensions()
        Get the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.
        Returns:
        the extensions value.
      • withExtensions

        public MicrosoftGraphOrganizationInner withExtensions​(List<MicrosoftGraphExtensionInner> extensions)
        Set the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.
        Parameters:
        extensions - the extensions value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
        Overrides:
        additionalProperties in class MicrosoftGraphDirectoryObjectInner
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphOrganizationInner withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
        Overrides:
        withAdditionalProperties in class MicrosoftGraphDirectoryObjectInner
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphOrganizationInner object itself.