// 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;

/** The state of the SIM resource. */
public final class SimState extends ExpandableStringEnum<SimState> {
    /** Static value Disabled for SimState. */
    public static final SimState DISABLED = fromString("Disabled");

    /** Static value Enabled for SimState. */
    public static final SimState ENABLED = fromString("Enabled");

    /** Static value Invalid for SimState. */
    public static final SimState INVALID = fromString("Invalid");

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

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

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