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

package com.azure.resourcemanager.managednetworkfabric.models;

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

/** Primary or Secondary power end. */
public final class OperationalStatus extends ExpandableStringEnum<OperationalStatus> {
    /** Static value Booted for OperationalStatus. */
    public static final OperationalStatus BOOTED = fromString("Booted");

    /** Static value BootPrompt for OperationalStatus. */
    public static final OperationalStatus BOOT_PROMPT = fromString("BootPrompt");

    /** Static value Ztp for OperationalStatus. */
    public static final OperationalStatus ZTP = fromString("Ztp");

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

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

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