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

package com.azure.resourcemanager.edgeorder.models;

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

/** Defines values for AvailabilityStage. */
public final class AvailabilityStage extends ExpandableStringEnum<AvailabilityStage> {
    /** Static value Available for AvailabilityStage. */
    public static final AvailabilityStage AVAILABLE = fromString("Available");

    /** Static value ComingSoon for AvailabilityStage. */
    public static final AvailabilityStage COMING_SOON = fromString("ComingSoon");

    /** Static value Preview for AvailabilityStage. */
    public static final AvailabilityStage PREVIEW = fromString("Preview");

    /** Static value Deprecated for AvailabilityStage. */
    public static final AvailabilityStage DEPRECATED = fromString("Deprecated");

    /** Static value Signup for AvailabilityStage. */
    public static final AvailabilityStage SIGNUP = fromString("Signup");

    /** Static value Unavailable for AvailabilityStage. */
    public static final AvailabilityStage UNAVAILABLE = fromString("Unavailable");

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

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