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

package com.azure.resourcemanager.datalakeanalytics.fluent.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Data Lake Analytics account name availability result information. */
@Immutable
public final class NameAvailabilityInformationInner {
    /*
     * The Boolean value of true or false to indicate whether the Data Lake Analytics account name is available or not.
     */
    @JsonProperty(value = "nameAvailable", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean nameAvailable;

    /*
     * The reason why the Data Lake Analytics account name is not available, if nameAvailable is false.
     */
    @JsonProperty(value = "reason", access = JsonProperty.Access.WRITE_ONLY)
    private String reason;

    /*
     * The message describing why the Data Lake Analytics account name is not available, if nameAvailable is false.
     */
    @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
    private String message;

    /** Creates an instance of NameAvailabilityInformationInner class. */
    public NameAvailabilityInformationInner() {
    }

    /**
     * Get the nameAvailable property: The Boolean value of true or false to indicate whether the Data Lake Analytics
     * account name is available or not.
     *
     * @return the nameAvailable value.
     */
    public Boolean nameAvailable() {
        return this.nameAvailable;
    }

    /**
     * Get the reason property: The reason why the Data Lake Analytics account name is not available, if nameAvailable
     * is false.
     *
     * @return the reason value.
     */
    public String reason() {
        return this.reason;
    }

    /**
     * Get the message property: The message describing why the Data Lake Analytics account name is not available, if
     * nameAvailable is false.
     *
     * @return the message value.
     */
    public String message() {
        return this.message;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
