Class Organization

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class Organization extends DirectoryObject implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • Organization

      public Organization()
      Instantiates a new Organization and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static Organization createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a Organization
    • getAssignedPlans

      @Nullable public List<AssignedPlan> getAssignedPlans()
      Gets the assignedPlans property value. The collection of service plans associated with the tenant. Not nullable.
      Returns:
      a List<AssignedPlan>
    • getBranding

      @Nullable public OrganizationalBranding getBranding()
      Gets the branding property value. Branding for the organization. Nullable.
      Returns:
      a OrganizationalBranding
    • getBusinessPhones

      @Nullable public List<String> getBusinessPhones()
      Gets the businessPhones property value. Telephone number for the organization. Although this property is a string collection, only one number can be set.
      Returns:
      a List<String>
    • getCertificateBasedAuthConfiguration

      @Nullable public List<CertificateBasedAuthConfiguration> getCertificateBasedAuthConfiguration()
      Gets the certificateBasedAuthConfiguration property value. Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.
      Returns:
      a List<CertificateBasedAuthConfiguration>
    • getCity

      @Nullable public String getCity()
      Gets the city property value. City name of the address for the organization.
      Returns:
      a String
    • getCountry

      @Nullable public String getCountry()
      Gets the country property value. Country or region name of the address for the organization.
      Returns:
      a String
    • getCountryLetterCode

      @Nullable public String getCountryLetterCode()
      Gets the countryLetterCode property value. Country or region abbreviation for the organization in ISO 3166-2 format.
      Returns:
      a String
    • getCreatedDateTime

      @Nullable public OffsetDateTime getCreatedDateTime()
      Gets the createdDateTime property value. Timestamp of when the organization was created. The value can't 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 is 2014-01-01T00:00:00Z. Read-only.
      Returns:
      a OffsetDateTime
    • getDefaultUsageLocation

      @Nullable public String getDefaultUsageLocation()
      Gets the defaultUsageLocation property value. Two-letter ISO 3166 country code indicating the default service usage location of an organization.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The display name for the tenant.
      Returns:
      a String
    • getExtensions

      @Nullable public List<Extension> getExtensions()
      Gets the extensions property value. The collection of open extensions defined for the organization. Read-only. Nullable.
      Returns:
      a List<Extension>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class DirectoryObject
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMarketingNotificationEmails

      @Nullable public List<String> getMarketingNotificationEmails()
      Gets the marketingNotificationEmails property value. Not nullable.
      Returns:
      a List<String>
    • getMobileDeviceManagementAuthority

      @Nullable public MdmAuthority getMobileDeviceManagementAuthority()
      Gets the mobileDeviceManagementAuthority property value. Mobile device management authority.
      Returns:
      a MdmAuthority
    • getOnPremisesLastSyncDateTime

      @Nullable public OffsetDateTime getOnPremisesLastSyncDateTime()
      Gets the onPremisesLastSyncDateTime property value. The time and date at which the tenant was last synced with the on-premises 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 is 2014-01-01T00:00:00Z. Read-only.
      Returns:
      a OffsetDateTime
    • getOnPremisesSyncEnabled

      @Nullable public Boolean getOnPremisesSyncEnabled()
      Gets the onPremisesSyncEnabled property value. 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. Nullable. null if this object isn't synced from on-premises active directory (default).
      Returns:
      a Boolean
    • getPartnerTenantType

      @Nullable public PartnerTenantType getPartnerTenantType()
      Gets the partnerTenantType property value. The type of partnership this tenant has with Microsoft. The possible values are: microsoftSupport, syndicatePartner, breadthPartner, breadthPartnerDelegatedAdmin, resellerPartnerDelegatedAdmin, valueAddedResellerPartnerDelegatedAdmin, unknownFutureValue. Nullable. For more information about the possible types, see partnerTenantType values.
      Returns:
      a PartnerTenantType
    • getPostalCode

      @Nullable public String getPostalCode()
      Gets the postalCode property value. Postal code of the address for the organization.
      Returns:
      a String
    • getPreferredLanguage

      @Nullable public String getPreferredLanguage()
      Gets the preferredLanguage property value. The preferred language for the organization. Should follow ISO 639-1 Code; for example, en.
      Returns:
      a String
    • getPrivacyProfile

      @Nullable public PrivacyProfile getPrivacyProfile()
      Gets the privacyProfile property value. The privacy profile of an organization.
      Returns:
      a PrivacyProfile
    • getProvisionedPlans

      @Nullable public List<ProvisionedPlan> getProvisionedPlans()
      Gets the provisionedPlans property value. Not nullable.
      Returns:
      a List<ProvisionedPlan>
    • getSecurityComplianceNotificationMails

      @Nullable public List<String> getSecurityComplianceNotificationMails()
      Gets the securityComplianceNotificationMails property value. Not nullable.
      Returns:
      a List<String>
    • getSecurityComplianceNotificationPhones

      @Nullable public List<String> getSecurityComplianceNotificationPhones()
      Gets the securityComplianceNotificationPhones property value. Not nullable.
      Returns:
      a List<String>
    • getState

      @Nullable public String getState()
      Gets the state property value. State name of the address for the organization.
      Returns:
      a String
    • getStreet

      @Nullable public String getStreet()
      Gets the street property value. Street name of the address for organization.
      Returns:
      a String
    • getTechnicalNotificationMails

      @Nullable public List<String> getTechnicalNotificationMails()
      Gets the technicalNotificationMails property value. Not nullable.
      Returns:
      a List<String>
    • getTenantType

      @Nullable public String getTenantType()
      Gets the tenantType property value. Not nullable. Can be one of the following types: AAD - An enterprise identity access management (IAM) service that serves business-to-employee and business-to-business (B2B) scenarios. AAD B2C An identity access management (IAM) service that serves business-to-consumer (B2C) scenarios. CIAM - A customer identity & access management (CIAM) solution that provides an integrated platform to serve consumers, partners, and citizen scenarios.
      Returns:
      a String
    • getVerifiedDomains

      @Nullable public List<VerifiedDomain> getVerifiedDomains()
      Gets the verifiedDomains property value. The collection of domains associated with this tenant. Not nullable.
      Returns:
      a List<VerifiedDomain>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class DirectoryObject
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAssignedPlans

      public void setAssignedPlans(@Nullable List<AssignedPlan> value)
      Sets the assignedPlans property value. The collection of service plans associated with the tenant. Not nullable.
      Parameters:
      value - Value to set for the assignedPlans property.
    • setBranding

      public void setBranding(@Nullable OrganizationalBranding value)
      Sets the branding property value. Branding for the organization. Nullable.
      Parameters:
      value - Value to set for the branding property.
    • setBusinessPhones

      public void setBusinessPhones(@Nullable List<String> value)
      Sets the businessPhones property value. Telephone number for the organization. Although this property is a string collection, only one number can be set.
      Parameters:
      value - Value to set for the businessPhones property.
    • setCertificateBasedAuthConfiguration

      public void setCertificateBasedAuthConfiguration(@Nullable List<CertificateBasedAuthConfiguration> value)
      Sets the certificateBasedAuthConfiguration property value. Navigation property to manage certificate-based authentication configuration. Only a single instance of certificateBasedAuthConfiguration can be created in the collection.
      Parameters:
      value - Value to set for the certificateBasedAuthConfiguration property.
    • setCity

      public void setCity(@Nullable String value)
      Sets the city property value. City name of the address for the organization.
      Parameters:
      value - Value to set for the city property.
    • setCountry

      public void setCountry(@Nullable String value)
      Sets the country property value. Country or region name of the address for the organization.
      Parameters:
      value - Value to set for the country property.
    • setCountryLetterCode

      public void setCountryLetterCode(@Nullable String value)
      Sets the countryLetterCode property value. Country or region abbreviation for the organization in ISO 3166-2 format.
      Parameters:
      value - Value to set for the countryLetterCode property.
    • setCreatedDateTime

      public void setCreatedDateTime(@Nullable OffsetDateTime value)
      Sets the createdDateTime property value. Timestamp of when the organization was created. The value can't 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 is 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      value - Value to set for the createdDateTime property.
    • setDefaultUsageLocation

      public void setDefaultUsageLocation(@Nullable String value)
      Sets the defaultUsageLocation property value. Two-letter ISO 3166 country code indicating the default service usage location of an organization.
      Parameters:
      value - Value to set for the defaultUsageLocation property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The display name for the tenant.
      Parameters:
      value - Value to set for the displayName property.
    • setExtensions

      public void setExtensions(@Nullable List<Extension> value)
      Sets the extensions property value. The collection of open extensions defined for the organization. Read-only. Nullable.
      Parameters:
      value - Value to set for the extensions property.
    • setMarketingNotificationEmails

      public void setMarketingNotificationEmails(@Nullable List<String> value)
      Sets the marketingNotificationEmails property value. Not nullable.
      Parameters:
      value - Value to set for the marketingNotificationEmails property.
    • setMobileDeviceManagementAuthority

      public void setMobileDeviceManagementAuthority(@Nullable MdmAuthority value)
      Sets the mobileDeviceManagementAuthority property value. Mobile device management authority.
      Parameters:
      value - Value to set for the mobileDeviceManagementAuthority property.
    • setOnPremisesLastSyncDateTime

      public void setOnPremisesLastSyncDateTime(@Nullable OffsetDateTime value)
      Sets the onPremisesLastSyncDateTime property value. The time and date at which the tenant was last synced with the on-premises 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 is 2014-01-01T00:00:00Z. Read-only.
      Parameters:
      value - Value to set for the onPremisesLastSyncDateTime property.
    • setOnPremisesSyncEnabled

      public void setOnPremisesSyncEnabled(@Nullable Boolean value)
      Sets the onPremisesSyncEnabled property value. 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. Nullable. null if this object isn't synced from on-premises active directory (default).
      Parameters:
      value - Value to set for the onPremisesSyncEnabled property.
    • setPartnerTenantType

      public void setPartnerTenantType(@Nullable PartnerTenantType value)
      Sets the partnerTenantType property value. The type of partnership this tenant has with Microsoft. The possible values are: microsoftSupport, syndicatePartner, breadthPartner, breadthPartnerDelegatedAdmin, resellerPartnerDelegatedAdmin, valueAddedResellerPartnerDelegatedAdmin, unknownFutureValue. Nullable. For more information about the possible types, see partnerTenantType values.
      Parameters:
      value - Value to set for the partnerTenantType property.
    • setPostalCode

      public void setPostalCode(@Nullable String value)
      Sets the postalCode property value. Postal code of the address for the organization.
      Parameters:
      value - Value to set for the postalCode property.
    • setPreferredLanguage

      public void setPreferredLanguage(@Nullable String value)
      Sets the preferredLanguage property value. The preferred language for the organization. Should follow ISO 639-1 Code; for example, en.
      Parameters:
      value - Value to set for the preferredLanguage property.
    • setPrivacyProfile

      public void setPrivacyProfile(@Nullable PrivacyProfile value)
      Sets the privacyProfile property value. The privacy profile of an organization.
      Parameters:
      value - Value to set for the privacyProfile property.
    • setProvisionedPlans

      public void setProvisionedPlans(@Nullable List<ProvisionedPlan> value)
      Sets the provisionedPlans property value. Not nullable.
      Parameters:
      value - Value to set for the provisionedPlans property.
    • setSecurityComplianceNotificationMails

      public void setSecurityComplianceNotificationMails(@Nullable List<String> value)
      Sets the securityComplianceNotificationMails property value. Not nullable.
      Parameters:
      value - Value to set for the securityComplianceNotificationMails property.
    • setSecurityComplianceNotificationPhones

      public void setSecurityComplianceNotificationPhones(@Nullable List<String> value)
      Sets the securityComplianceNotificationPhones property value. Not nullable.
      Parameters:
      value - Value to set for the securityComplianceNotificationPhones property.
    • setState

      public void setState(@Nullable String value)
      Sets the state property value. State name of the address for the organization.
      Parameters:
      value - Value to set for the state property.
    • setStreet

      public void setStreet(@Nullable String value)
      Sets the street property value. Street name of the address for organization.
      Parameters:
      value - Value to set for the street property.
    • setTechnicalNotificationMails

      public void setTechnicalNotificationMails(@Nullable List<String> value)
      Sets the technicalNotificationMails property value. Not nullable.
      Parameters:
      value - Value to set for the technicalNotificationMails property.
    • setTenantType

      public void setTenantType(@Nullable String value)
      Sets the tenantType property value. Not nullable. Can be one of the following types: AAD - An enterprise identity access management (IAM) service that serves business-to-employee and business-to-business (B2B) scenarios. AAD B2C An identity access management (IAM) service that serves business-to-consumer (B2C) scenarios. CIAM - A customer identity & access management (CIAM) solution that provides an integrated platform to serve consumers, partners, and citizen scenarios.
      Parameters:
      value - Value to set for the tenantType property.
    • setVerifiedDomains

      public void setVerifiedDomains(@Nullable List<VerifiedDomain> value)
      Sets the verifiedDomains property value. The collection of domains associated with this tenant. Not nullable.
      Parameters:
      value - Value to set for the verifiedDomains property.