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

package com.azure.resourcemanager.networkcloud.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The more detailed status of the console. */
public final class ConsoleDetailedStatus extends ExpandableStringEnum<ConsoleDetailedStatus> {
    /** Static value Ready for ConsoleDetailedStatus. */
    public static final ConsoleDetailedStatus READY = fromString("Ready");

    /** Static value Error for ConsoleDetailedStatus. */
    public static final ConsoleDetailedStatus ERROR = fromString("Error");

    /**
     * Creates a new instance of ConsoleDetailedStatus value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public ConsoleDetailedStatus() {
    }

    /**
     * Creates or finds a ConsoleDetailedStatus from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ConsoleDetailedStatus.
     */
    @JsonCreator
    public static ConsoleDetailedStatus fromString(String name) {
        return fromString(name, ConsoleDetailedStatus.class);
    }

    /**
     * Gets known ConsoleDetailedStatus values.
     *
     * @return known ConsoleDetailedStatus values.
     */
    public static Collection<ConsoleDetailedStatus> values() {
        return values(ConsoleDetailedStatus.class);
    }
}
