// 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 to skip the graceful OS shutdown and power off the bare metal machine immediately. */
public final class BareMetalMachineSkipShutdown extends ExpandableStringEnum<BareMetalMachineSkipShutdown> {
    /** Static value True for BareMetalMachineSkipShutdown. */
    public static final BareMetalMachineSkipShutdown TRUE = fromString("True");

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

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

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

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