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 Details

    • TenantIdDescriptionInner

      public TenantIdDescriptionInner()
      Creates an instance of TenantIdDescriptionInner class.
  • Method Details

    • 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.
    • tenantId

      public String tenantId()
      Get the tenantId property: The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74.
      Returns:
      the tenantId value.
    • tenantCategory

      public TenantCategory tenantCategory()
      Get the tenantCategory property: Category of the tenant.
      Returns:
      the tenantCategory value.
    • 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.
    • displayName

      public String displayName()
      Get the displayName property: The display name of the tenant.
      Returns:
      the displayName value.
    • domains

      public List<String> domains()
      Get the domains property: The list of domains for the tenant.
      Returns:
      the domains value.
    • defaultDomain

      public String defaultDomain()
      Get the defaultDomain property: The default domain for the tenant.
      Returns:
      the defaultDomain value.
    • tenantType

      public String tenantType()
      Get the tenantType property: The tenant type. Only available for 'Home' tenant category.
      Returns:
      the tenantType 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.