次の方法で共有


TenantIdDescriptionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.TenantIdDescriptionInner

Implements

public final class TenantIdDescriptionInner
implements JsonSerializable<TenantIdDescriptionInner>

Tenant Id information.

Constructor Summary

Constructor Description
TenantIdDescriptionInner()

Creates an instance of TenantIdDescriptionInner class.

Method Summary

Modifier and Type Method and Description
String country()

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

String countryCode()

Get the countryCode property: Country/region abbreviation for the tenant.

String defaultDomain()

Get the defaultDomain property: The default domain for the tenant.

String displayName()

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

List<String> domains()

Get the domains property: The list of domains for the tenant.

static TenantIdDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of TenantIdDescriptionInner from the JsonReader.

String id()

Get the id property: The fully qualified ID of the tenant.

String tenantBrandingLogoUrl()

Get the tenantBrandingLogoUrl property: The tenant's branding logo URL.

TenantCategory tenantCategory()

Get the tenantCategory property: Category of the tenant.

String tenantId()

Get the tenantId property: The tenant ID.

String tenantType()

Get the tenantType property: The tenant type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

TenantIdDescriptionInner

public TenantIdDescriptionInner()

Creates an instance of TenantIdDescriptionInner class.

Method Details

country

public String country()

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

Returns:

the country value.

countryCode

public String countryCode()

Get the countryCode property: Country/region abbreviation for the tenant.

Returns:

the countryCode value.

defaultDomain

public String defaultDomain()

Get the defaultDomain property: The default domain for the tenant.

Returns:

the defaultDomain value.

displayName

public String displayName()

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

Returns:

the displayName value.

domains

public List domains()

Get the domains property: The list of domains for the tenant.

Returns:

the domains value.

fromJson

public static TenantIdDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of TenantIdDescriptionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TenantIdDescriptionInner 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 TenantIdDescriptionInner.

id

public String id()

Get the id property: The fully qualified ID of the tenant. For example, /tenants/8d65815f-a5b6-402f-9298-045155da7d74.

Returns:

the id value.

tenantBrandingLogoUrl

public String tenantBrandingLogoUrl()

Get the tenantBrandingLogoUrl property: The tenant's branding logo URL. Only available for 'Home' tenant category.

Returns:

the tenantBrandingLogoUrl value.

tenantCategory

public TenantCategory tenantCategory()

Get the tenantCategory property: Category of the tenant.

Returns:

the tenantCategory value.

tenantId

public String tenantId()

Get the tenantId property: The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74.

Returns:

the tenantId value.

tenantType

public String tenantType()

Get the tenantType property: The tenant type. Only available for 'Home' tenant category.

Returns:

the tenantType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to