// 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 indicator of whether the user is currently deployed for access. */
public final class BareMetalMachineKeySetUserSetupStatus
    extends ExpandableStringEnum<BareMetalMachineKeySetUserSetupStatus> {
    /** Static value Active for BareMetalMachineKeySetUserSetupStatus. */
    public static final BareMetalMachineKeySetUserSetupStatus ACTIVE = fromString("Active");

    /** Static value Invalid for BareMetalMachineKeySetUserSetupStatus. */
    public static final BareMetalMachineKeySetUserSetupStatus INVALID = fromString("Invalid");

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

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

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