// 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 provisioning state of a resource e.g. SIM/SIM policy on a site. */
public final class SiteProvisioningState extends ExpandableStringEnum<SiteProvisioningState> {
    /** Static value NotApplicable for SiteProvisioningState. */
    public static final SiteProvisioningState NOT_APPLICABLE = fromString("NotApplicable");

    /** Static value Adding for SiteProvisioningState. */
    public static final SiteProvisioningState ADDING = fromString("Adding");

    /** Static value Updating for SiteProvisioningState. */
    public static final SiteProvisioningState UPDATING = fromString("Updating");

    /** Static value Deleting for SiteProvisioningState. */
    public static final SiteProvisioningState DELETING = fromString("Deleting");

    /** Static value Provisioned for SiteProvisioningState. */
    public static final SiteProvisioningState PROVISIONED = fromString("Provisioned");

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

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

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

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