// 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 ActionStatusEnum. */
public final class ActionStatusEnum extends ExpandableStringEnum<ActionStatusEnum> {
    /** Static value Allowed for ActionStatusEnum. */
    public static final ActionStatusEnum ALLOWED = fromString("Allowed");

    /** Static value NotAllowed for ActionStatusEnum. */
    public static final ActionStatusEnum NOT_ALLOWED = fromString("NotAllowed");

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

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