// 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 credentials used to login to the image repository that has access to the specified image. */
public final class ConsoleEnabled extends ExpandableStringEnum<ConsoleEnabled> {
    /** Static value True for ConsoleEnabled. */
    public static final ConsoleEnabled TRUE = fromString("True");

    /** Static value False for ConsoleEnabled. */
    public static final ConsoleEnabled FALSE = fromString("False");

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

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

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