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

package com.azure.resourcemanager.postgresql.models;

import com.azure.resourcemanager.postgresql.fluent.models.NameAvailabilityInner;

/** An immutable client-side representation of NameAvailability. */
public interface NameAvailability {
    /**
     * Gets the message property: Error Message.
     *
     * @return the message value.
     */
    String message();

    /**
     * Gets the nameAvailable property: Indicates whether the resource name is available.
     *
     * @return the nameAvailable value.
     */
    Boolean nameAvailable();

    /**
     * Gets the reason property: Reason for name being unavailable.
     *
     * @return the reason value.
     */
    String reason();

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