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

package com.azure.resourcemanager.mobilenetwork.models;

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

/** Indicates whether this is the recommended version to use for new packet core control plane deployments. */
public final class RecommendedVersion extends ExpandableStringEnum<RecommendedVersion> {
    /** Static value Recommended for RecommendedVersion. */
    public static final RecommendedVersion RECOMMENDED = fromString("Recommended");

    /** Static value NotRecommended for RecommendedVersion. */
    public static final RecommendedVersion NOT_RECOMMENDED = fromString("NotRecommended");

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

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

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