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

package com.azure.resourcemanager.dataprotection.models;

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

/** feature support status. */
public final class FeatureSupportStatus extends ExpandableStringEnum<FeatureSupportStatus> {
    /** Static value Invalid for FeatureSupportStatus. */
    public static final FeatureSupportStatus INVALID = fromString("Invalid");

    /** Static value NotSupported for FeatureSupportStatus. */
    public static final FeatureSupportStatus NOT_SUPPORTED = fromString("NotSupported");

    /** Static value AlphaPreview for FeatureSupportStatus. */
    public static final FeatureSupportStatus ALPHA_PREVIEW = fromString("AlphaPreview");

    /** Static value PrivatePreview for FeatureSupportStatus. */
    public static final FeatureSupportStatus PRIVATE_PREVIEW = fromString("PrivatePreview");

    /** Static value PublicPreview for FeatureSupportStatus. */
    public static final FeatureSupportStatus PUBLIC_PREVIEW = fromString("PublicPreview");

    /** Static value GenerallyAvailable for FeatureSupportStatus. */
    public static final FeatureSupportStatus GENERALLY_AVAILABLE = fromString("GenerallyAvailable");

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

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

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