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

package com.azure.resourcemanager.postgresqlflexibleserver.models;

import com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.MigrationNameAvailabilityResourceInner;

/** An immutable client-side representation of MigrationNameAvailabilityResource. */
public interface MigrationNameAvailabilityResource {
    /**
     * Gets the name property: The resource name to verify.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the type property: The type of the resource.
     *
     * @return the type value.
     */
    String type();

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

    /**
     * Gets the reason property: Migration name availability reason.
     *
     * @return the reason value.
     */
    MigrationNameAvailabilityReason reason();

    /**
     * Gets the message property: Migration name availability message.
     *
     * @return the message value.
     */
    String message();

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