Class TenantIdDescriptionInner
java.lang.Object
com.azure.resourcemanager.resources.fluent.models.TenantIdDescriptionInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TenantIdDescriptionInner>
public final class TenantIdDescriptionInner
extends Object
implements com.azure.json.JsonSerializable<TenantIdDescriptionInner>
Tenant Id information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TenantIdDescriptionInner class. -
Method Summary
Modifier and TypeMethodDescriptioncountry()Get the country property: Country/region name of the address for the tenant.Get the countryCode property: Country/region abbreviation for the tenant.Get the defaultDomain property: The default domain for the tenant.Get the displayName property: The display name of the tenant.domains()Get the domains property: The list of domains for the tenant.static TenantIdDescriptionInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TenantIdDescriptionInner from the JsonReader.id()Get the id property: The fully qualified ID of the tenant.Get the tenantBrandingLogoUrl property: The tenant's branding logo URL.Get the tenantCategory property: Category of the tenant.tenantId()Get the tenantId property: The tenant ID.Get the tenantType property: The tenant type.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TenantIdDescriptionInner
public TenantIdDescriptionInner()Creates an instance of TenantIdDescriptionInner class.
-
-
Method Details
-
id
Get the id property: The fully qualified ID of the tenant. For example, /tenants/8d65815f-a5b6-402f-9298-045155da7d74.- Returns:
- the id value.
-
tenantId
Get the tenantId property: The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74.- Returns:
- the tenantId value.
-
tenantCategory
Get the tenantCategory property: Category of the tenant.- Returns:
- the tenantCategory value.
-
country
Get the country property: Country/region name of the address for the tenant.- Returns:
- the country value.
-
countryCode
Get the countryCode property: Country/region abbreviation for the tenant.- Returns:
- the countryCode value.
-
displayName
Get the displayName property: The display name of the tenant.- Returns:
- the displayName value.
-
domains
Get the domains property: The list of domains for the tenant.- Returns:
- the domains value.
-
defaultDomain
Get the defaultDomain property: The default domain for the tenant.- Returns:
- the defaultDomain value.
-
tenantType
Get the tenantType property: The tenant type. Only available for 'Home' tenant category.- Returns:
- the tenantType value.
-
tenantBrandingLogoUrl
Get the tenantBrandingLogoUrl property: The tenant's branding logo URL. Only available for 'Home' tenant category.- Returns:
- the tenantBrandingLogoUrl value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TenantIdDescriptionInner>- Throws:
IOException
-
fromJson
public static TenantIdDescriptionInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-