// 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 status representing the state of this feature. */
public final class FeatureDetailedStatus extends ExpandableStringEnum<FeatureDetailedStatus> {
    /** Static value Running for FeatureDetailedStatus. */
    public static final FeatureDetailedStatus RUNNING = fromString("Running");

    /** Static value Failed for FeatureDetailedStatus. */
    public static final FeatureDetailedStatus FAILED = fromString("Failed");

    /** Static value Unknown for FeatureDetailedStatus. */
    public static final FeatureDetailedStatus UNKNOWN = fromString("Unknown");

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

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

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