你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphOrganization Class

public final class MicrosoftGraphOrganization
extends MicrosoftGraphDirectoryObjectInner

organization The organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.

Constructor Summary

Constructor Description
MicrosoftGraphOrganization()

Creates an instance of MicrosoftGraphOrganization class.

Method Summary

Modifier and Type Method and Description
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.

List<MicrosoftGraphAssignedPlan> assignedPlans()

Get the assignedPlans property: The collection of service plans associated with the tenant.

List<String> businessPhones()

Get the businessPhones property: Telephone number for the organization.

List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration()

Get the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration.

String city()

Get the city property: City name of the address for the organization.

String country()

Get the country property: Country/region name of the address for the organization.

String countryLetterCode()

Get the countryLetterCode property: Country/region abbreviation for the organization.

OffsetDateTime createdDateTime()

Get the createdDateTime property: Timestamp of when the organization was created.

String displayName()

Get the displayName property: The display name for the tenant.

List<MicrosoftGraphExtension> extensions()

Get the extensions property: The collection of open extensions defined for the organization.

static MicrosoftGraphOrganization fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOrganization from the JsonReader.

List<String> marketingNotificationEmails()

Get the marketingNotificationEmails property: Not nullable.

MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority()

Get the mobileDeviceManagementAuthority property: mdmAuthority.

OffsetDateTime onPremisesLastSyncDateTime()

Get the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory.

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).

String postalCode()

Get the postalCode property: Postal code of the address for the organization.

String preferredLanguage()

Get the preferredLanguage property: The preferred language for the organization.

MicrosoftGraphPrivacyProfile privacyProfile()

Get the privacyProfile property: privacyProfile.

List<MicrosoftGraphProvisionedPlan> provisionedPlans()

Get the provisionedPlans property: Not nullable.

List<String> securityComplianceNotificationMails()

Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.

List<String> securityComplianceNotificationPhones()

Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.

String state()

Get the state property: State name of the address for the organization.

String street()

Get the street property: Street name of the address for organization.

List<String> technicalNotificationMails()

Get the technicalNotificationMails property: Not nullable.

String tenantType()

Get the tenantType property: The tenantType property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<MicrosoftGraphVerifiedDomain> verifiedDomains()

Get the verifiedDomains property: The collection of domains associated with this tenant.

MicrosoftGraphOrganization 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.

MicrosoftGraphOrganization withAssignedPlans(List<MicrosoftGraphAssignedPlan> assignedPlans)

Set the assignedPlans property: The collection of service plans associated with the tenant.

MicrosoftGraphOrganization withBusinessPhones(List<String> businessPhones)

Set the businessPhones property: Telephone number for the organization.

MicrosoftGraphOrganization withCertificateBasedAuthConfiguration(List<MicrosoftGraphCertificateBasedAuthConfiguration> certificateBasedAuthConfiguration)

Set the certificateBasedAuthConfiguration property: Navigation property to manage certificate-based authentication configuration.

MicrosoftGraphOrganization withCity(String city)

Set the city property: City name of the address for the organization.

MicrosoftGraphOrganization withCountry(String country)

Set the country property: Country/region name of the address for the organization.

MicrosoftGraphOrganization withCountryLetterCode(String countryLetterCode)

Set the countryLetterCode property: Country/region abbreviation for the organization.

MicrosoftGraphOrganization withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Timestamp of when the organization was created.

MicrosoftGraphOrganization withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

MicrosoftGraphOrganization withDisplayName(String displayName)

Set the displayName property: The display name for the tenant.

MicrosoftGraphOrganization withExtensions(List<MicrosoftGraphExtension> extensions)

Set the extensions property: The collection of open extensions defined for the organization.

MicrosoftGraphOrganization withId(String id)

Set the id property: Read-only.

MicrosoftGraphOrganization withMarketingNotificationEmails(List<String> marketingNotificationEmails)

Set the marketingNotificationEmails property: Not nullable.

MicrosoftGraphOrganization withMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority)

Set the mobileDeviceManagementAuthority property: mdmAuthority.

MicrosoftGraphOrganization withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)

Set the onPremisesLastSyncDateTime property: The time and date at which the tenant was last synced with the on-premise directory.

MicrosoftGraphOrganization 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).

MicrosoftGraphOrganization withPostalCode(String postalCode)

Set the postalCode property: Postal code of the address for the organization.

MicrosoftGraphOrganization withPreferredLanguage(String preferredLanguage)

Set the preferredLanguage property: The preferred language for the organization.

MicrosoftGraphOrganization withPrivacyProfile(MicrosoftGraphPrivacyProfile privacyProfile)

Set the privacyProfile property: privacyProfile.

MicrosoftGraphOrganization withProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans)

Set the provisionedPlans property: Not nullable.

MicrosoftGraphOrganization withSecurityComplianceNotificationMails(List<String> securityComplianceNotificationMails)

Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.

MicrosoftGraphOrganization withSecurityComplianceNotificationPhones(List<String> securityComplianceNotificationPhones)

Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.

MicrosoftGraphOrganization withState(String state)

Set the state property: State name of the address for the organization.

MicrosoftGraphOrganization withStreet(String street)

Set the street property: Street name of the address for organization.

MicrosoftGraphOrganization withTechnicalNotificationMails(List<String> technicalNotificationMails)

Set the technicalNotificationMails property: Not nullable.

MicrosoftGraphOrganization withTenantType(String tenantType)

Set the tenantType property: The tenantType property.

MicrosoftGraphOrganization withVerifiedDomains(List<MicrosoftGraphVerifiedDomain> verifiedDomains)

Set the verifiedDomains property: The collection of domains associated with this tenant.

Methods inherited from MicrosoftGraphDirectoryObjectInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOrganization

public MicrosoftGraphOrganization()

Creates an instance of MicrosoftGraphOrganization class.

Method Details

additionalProperties

public Map 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:

MicrosoftGraphOrganization.additionalProperties()

Returns:

the additionalProperties value.

assignedPlans

public List assignedPlans()

Get the assignedPlans property: The collection of service plans associated with the tenant. Not nullable.

Returns:

the assignedPlans value.

businessPhones

public List 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.

certificateBasedAuthConfiguration

public List 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.

city

public String city()

Get the city property: City name of the address for the organization.

Returns:

the city value.

country

public String country()

Get the country property: Country/region name of the address for the organization.

Returns:

the country value.

countryLetterCode

public String countryLetterCode()

Get the countryLetterCode property: Country/region abbreviation for the organization.

Returns:

the countryLetterCode value.

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.

displayName

public String displayName()

Get the displayName property: The display name for the tenant.

Returns:

the displayName value.

extensions

public List extensions()

Get the extensions property: The collection of open extensions defined for the organization. Read-only. Nullable.

Returns:

the extensions value.

fromJson

public static MicrosoftGraphOrganization fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOrganization from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOrganization if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphOrganization.

marketingNotificationEmails

public List marketingNotificationEmails()

Get the marketingNotificationEmails property: Not nullable.

Returns:

the marketingNotificationEmails value.

mobileDeviceManagementAuthority

public MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority()

Get the mobileDeviceManagementAuthority property: mdmAuthority.

Returns:

the mobileDeviceManagementAuthority value.

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.

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.

postalCode

public String postalCode()

Get the postalCode property: Postal code of the address for the organization.

Returns:

the postalCode value.

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.

privacyProfile

public MicrosoftGraphPrivacyProfile privacyProfile()

Get the privacyProfile property: privacyProfile.

Returns:

the privacyProfile value.

provisionedPlans

public List provisionedPlans()

Get the provisionedPlans property: Not nullable.

Returns:

the provisionedPlans value.

securityComplianceNotificationMails

public List securityComplianceNotificationMails()

Get the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.

Returns:

the securityComplianceNotificationMails value.

securityComplianceNotificationPhones

public List securityComplianceNotificationPhones()

Get the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.

Returns:

the securityComplianceNotificationPhones value.

state

public String state()

Get the state property: State name of the address for the organization.

Returns:

the state value.

street

public String street()

Get the street property: Street name of the address for organization.

Returns:

the street value.

technicalNotificationMails

public List technicalNotificationMails()

Get the technicalNotificationMails property: Not nullable.

Returns:

the technicalNotificationMails value.

tenantType

public String tenantType()

Get the tenantType property: The tenantType property.

Returns:

the tenantType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOrganization.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOrganization.validate()

verifiedDomains

public List verifiedDomains()

Get the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.

Returns:

the verifiedDomains value.

withAdditionalProperties

public MicrosoftGraphOrganization withAdditionalProperties(Map 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:

MicrosoftGraphOrganization.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withAssignedPlans

public MicrosoftGraphOrganization withAssignedPlans(List 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 MicrosoftGraphOrganization object itself.

withBusinessPhones

public MicrosoftGraphOrganization withBusinessPhones(List 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 MicrosoftGraphOrganization object itself.

withCertificateBasedAuthConfiguration

public MicrosoftGraphOrganization withCertificateBasedAuthConfiguration(List 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 MicrosoftGraphOrganization object itself.

withCity

public MicrosoftGraphOrganization withCity(String city)

Set the city property: City name of the address for the organization.

Parameters:

city - the city value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withCountry

public MicrosoftGraphOrganization 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 MicrosoftGraphOrganization object itself.

withCountryLetterCode

public MicrosoftGraphOrganization withCountryLetterCode(String countryLetterCode)

Set the countryLetterCode property: Country/region abbreviation for the organization.

Parameters:

countryLetterCode - the countryLetterCode value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withCreatedDateTime

public MicrosoftGraphOrganization 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 MicrosoftGraphOrganization object itself.

withDeletedDateTime

public MicrosoftGraphOrganization withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

Overrides:

MicrosoftGraphOrganization.withDeletedDateTime(OffsetDateTime deletedDateTime)

Parameters:

deletedDateTime

withDisplayName

public MicrosoftGraphOrganization withDisplayName(String displayName)

Set the displayName property: The display name for the tenant.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withExtensions

public MicrosoftGraphOrganization withExtensions(List 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 MicrosoftGraphOrganization object itself.

withId

public MicrosoftGraphOrganization withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOrganization.withId(String id)

Parameters:

id

withMarketingNotificationEmails

public MicrosoftGraphOrganization withMarketingNotificationEmails(List marketingNotificationEmails)

Set the marketingNotificationEmails property: Not nullable.

Parameters:

marketingNotificationEmails - the marketingNotificationEmails value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withMobileDeviceManagementAuthority

public MicrosoftGraphOrganization withMobileDeviceManagementAuthority(MicrosoftGraphMdmAuthority mobileDeviceManagementAuthority)

Set the mobileDeviceManagementAuthority property: mdmAuthority.

Parameters:

mobileDeviceManagementAuthority - the mobileDeviceManagementAuthority value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withOnPremisesLastSyncDateTime

public MicrosoftGraphOrganization 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 MicrosoftGraphOrganization object itself.

withOnPremisesSyncEnabled

public MicrosoftGraphOrganization 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 MicrosoftGraphOrganization object itself.

withPostalCode

public MicrosoftGraphOrganization withPostalCode(String postalCode)

Set the postalCode property: Postal code of the address for the organization.

Parameters:

postalCode - the postalCode value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withPreferredLanguage

public MicrosoftGraphOrganization 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 MicrosoftGraphOrganization object itself.

withPrivacyProfile

public MicrosoftGraphOrganization withPrivacyProfile(MicrosoftGraphPrivacyProfile privacyProfile)

Set the privacyProfile property: privacyProfile.

Parameters:

privacyProfile - the privacyProfile value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withProvisionedPlans

public MicrosoftGraphOrganization withProvisionedPlans(List provisionedPlans)

Set the provisionedPlans property: Not nullable.

Parameters:

provisionedPlans - the provisionedPlans value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withSecurityComplianceNotificationMails

public MicrosoftGraphOrganization withSecurityComplianceNotificationMails(List securityComplianceNotificationMails)

Set the securityComplianceNotificationMails property: The securityComplianceNotificationMails property.

Parameters:

securityComplianceNotificationMails - the securityComplianceNotificationMails value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withSecurityComplianceNotificationPhones

public MicrosoftGraphOrganization withSecurityComplianceNotificationPhones(List securityComplianceNotificationPhones)

Set the securityComplianceNotificationPhones property: The securityComplianceNotificationPhones property.

Parameters:

securityComplianceNotificationPhones - the securityComplianceNotificationPhones value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withState

public MicrosoftGraphOrganization withState(String state)

Set the state property: State name of the address for the organization.

Parameters:

state - the state value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withStreet

public MicrosoftGraphOrganization withStreet(String street)

Set the street property: Street name of the address for organization.

Parameters:

street - the street value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withTechnicalNotificationMails

public MicrosoftGraphOrganization withTechnicalNotificationMails(List technicalNotificationMails)

Set the technicalNotificationMails property: Not nullable.

Parameters:

technicalNotificationMails - the technicalNotificationMails value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withTenantType

public MicrosoftGraphOrganization withTenantType(String tenantType)

Set the tenantType property: The tenantType property.

Parameters:

tenantType - the tenantType value to set.

Returns:

the MicrosoftGraphOrganization object itself.

withVerifiedDomains

public MicrosoftGraphOrganization withVerifiedDomains(List verifiedDomains)

Set the verifiedDomains property: The collection of domains associated with this tenant. Not nullable.

Parameters:

verifiedDomains - the verifiedDomains value to set.

Returns:

the MicrosoftGraphOrganization object itself.

Applies to