// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.azureadexternalidentities.models;

import com.azure.resourcemanager.azureadexternalidentities.fluent.models.NameAvailabilityResponseInner;

/** An immutable client-side representation of NameAvailabilityResponse. */
public interface NameAvailabilityResponse {
    /**
     * Gets the message property: Description of the reason if name is not available.
     *
     * @return the message value.
     */
    String message();

    /**
     * Gets the nameAvailable property: True if the name is available and can be used to create a new tenant. Otherwise
     * false.
     *
     * @return the nameAvailable value.
     */
    Boolean nameAvailable();

    /**
     * Gets the reason property: Describes the reason for the 'nameAvailable' value.
     *
     * @return the reason value.
     */
    NameAvailabilityReasonType reason();

    /**
     * Gets the inner com.azure.resourcemanager.azureadexternalidentities.fluent.models.NameAvailabilityResponseInner
     * object.
     *
     * @return the inner object.
     */
    NameAvailabilityResponseInner innerModel();
}
