Package com.microsoft.graph.models
Class Organization
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OrganizationcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the assignedPlans property value.Gets the branding property value.Gets the businessPhones property value.Gets the certificateBasedAuthConfiguration property value.getCity()Gets the city property value.Gets the country property value.Gets the countryLetterCode property value.Gets the createdDateTime property value.Gets the defaultUsageLocation property value.Gets the displayName property value.Gets the extensions property value.The deserialization information for the current modelGets the marketingNotificationEmails property value.Gets the mobileDeviceManagementAuthority property value.Gets the onPremisesLastSyncDateTime property value.Gets the onPremisesSyncEnabled property value.Gets the partnerTenantType property value.Gets the postalCode property value.Gets the preferredLanguage property value.Gets the privacyProfile property value.Gets the provisionedPlans property value.Gets the securityComplianceNotificationMails property value.Gets the securityComplianceNotificationPhones property value.getState()Gets the state property value.Gets the street property value.Gets the technicalNotificationMails property value.Gets the tenantType property value.Gets the verifiedDomains property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAssignedPlans(List<AssignedPlan> value) Sets the assignedPlans property value.voidSets the branding property value.voidsetBusinessPhones(List<String> value) Sets the businessPhones property value.voidSets the certificateBasedAuthConfiguration property value.voidSets the city property value.voidsetCountry(String value) Sets the country property value.voidsetCountryLetterCode(String value) Sets the countryLetterCode property value.voidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidsetDefaultUsageLocation(String value) Sets the defaultUsageLocation property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetExtensions(List<Extension> value) Sets the extensions property value.voidsetMarketingNotificationEmails(List<String> value) Sets the marketingNotificationEmails property value.voidSets the mobileDeviceManagementAuthority property value.voidSets the onPremisesLastSyncDateTime property value.voidsetOnPremisesSyncEnabled(Boolean value) Sets the onPremisesSyncEnabled property value.voidSets the partnerTenantType property value.voidsetPostalCode(String value) Sets the postalCode property value.voidsetPreferredLanguage(String value) Sets the preferredLanguage property value.voidsetPrivacyProfile(PrivacyProfile value) Sets the privacyProfile property value.voidsetProvisionedPlans(List<ProvisionedPlan> value) Sets the provisionedPlans property value.voidSets the securityComplianceNotificationMails property value.voidSets the securityComplianceNotificationPhones property value.voidSets the state property value.voidSets the street property value.voidsetTechnicalNotificationMails(List<String> value) Sets the technicalNotificationMails property value.voidsetTenantType(String value) Sets the tenantType property value.voidsetVerifiedDomains(List<VerifiedDomain> value) Sets the verifiedDomains property value.Methods inherited from class com.microsoft.graph.models.DirectoryObject
getDeletedDateTime, setDeletedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Organization
public Organization()Instantiates a newOrganizationand 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
Gets the assignedPlans property value. The collection of service plans associated with the tenant. Not nullable.- Returns:
- a
List<AssignedPlan>
-
getBranding
Gets the branding property value. Branding for the organization. Nullable.- Returns:
- a
OrganizationalBranding
-
getBusinessPhones
Gets the businessPhones property value. Telephone number for the organization. Although this property is a string collection, only one number can be set. -
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
Gets the city property value. City name of the address for the organization.- Returns:
- a
String
-
getCountry
Gets the country property value. Country or region name of the address for the organization.- Returns:
- a
String
-
getCountryLetterCode
Gets the countryLetterCode property value. Country or region abbreviation for the organization in ISO 3166-2 format.- Returns:
- a
String
-
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
Gets the defaultUsageLocation property value. Two-letter ISO 3166 country code indicating the default service usage location of an organization.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name for the tenant.- Returns:
- a
String
-
getExtensions
Gets the extensions property value. The collection of open extensions defined for the organization. Read-only. Nullable. -
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classDirectoryObject- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getMarketingNotificationEmails
Gets the marketingNotificationEmails property value. Not nullable. -
getMobileDeviceManagementAuthority
Gets the mobileDeviceManagementAuthority property value. Mobile device management authority.- Returns:
- a
MdmAuthority
-
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
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
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
Gets the postalCode property value. Postal code of the address for the organization.- Returns:
- a
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
Gets the privacyProfile property value. The privacy profile of an organization.- Returns:
- a
PrivacyProfile
-
getProvisionedPlans
Gets the provisionedPlans property value. Not nullable.- Returns:
- a
List<ProvisionedPlan>
-
getSecurityComplianceNotificationMails
Gets the securityComplianceNotificationMails property value. Not nullable. -
getSecurityComplianceNotificationPhones
Gets the securityComplianceNotificationPhones property value. Not nullable. -
getState
Gets the state property value. State name of the address for the organization.- Returns:
- a
String
-
getStreet
Gets the street property value. Street name of the address for organization.- Returns:
- a
String
-
getTechnicalNotificationMails
Gets the technicalNotificationMails property value. Not nullable. -
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
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classDirectoryObject- Parameters:
writer- Serialization writer to use to serialize this model
-
setAssignedPlans
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
Sets the branding property value. Branding for the organization. Nullable.- Parameters:
value- Value to set for the branding property.
-
setBusinessPhones
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
Sets the city property value. City name of the address for the organization.- Parameters:
value- Value to set for the city property.
-
setCountry
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
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
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
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
Sets the displayName property value. The display name for the tenant.- Parameters:
value- Value to set for the displayName property.
-
setExtensions
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
Sets the marketingNotificationEmails property value. Not nullable.- Parameters:
value- Value to set for the marketingNotificationEmails property.
-
setMobileDeviceManagementAuthority
Sets the mobileDeviceManagementAuthority property value. Mobile device management authority.- Parameters:
value- Value to set for the mobileDeviceManagementAuthority property.
-
setOnPremisesLastSyncDateTime
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
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
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
Sets the postalCode property value. Postal code of the address for the organization.- Parameters:
value- Value to set for the postalCode property.
-
setPreferredLanguage
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
Sets the privacyProfile property value. The privacy profile of an organization.- Parameters:
value- Value to set for the privacyProfile property.
-
setProvisionedPlans
Sets the provisionedPlans property value. Not nullable.- Parameters:
value- Value to set for the provisionedPlans property.
-
setSecurityComplianceNotificationMails
Sets the securityComplianceNotificationMails property value. Not nullable.- Parameters:
value- Value to set for the securityComplianceNotificationMails property.
-
setSecurityComplianceNotificationPhones
Sets the securityComplianceNotificationPhones property value. Not nullable.- Parameters:
value- Value to set for the securityComplianceNotificationPhones property.
-
setState
Sets the state property value. State name of the address for the organization.- Parameters:
value- Value to set for the state property.
-
setStreet
Sets the street property value. Street name of the address for organization.- Parameters:
value- Value to set for the street property.
-
setTechnicalNotificationMails
Sets the technicalNotificationMails property value. Not nullable.- Parameters:
value- Value to set for the technicalNotificationMails property.
-
setTenantType
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
Sets the verifiedDomains property value. The collection of domains associated with this tenant. Not nullable.- Parameters:
value- Value to set for the verifiedDomains property.
-