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

package com.azure.resourcemanager.consumption.models;

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

/** Defines values for BudgetOperatorType. */
public final class BudgetOperatorType extends ExpandableStringEnum<BudgetOperatorType> {
    /** Static value In for BudgetOperatorType. */
    public static final BudgetOperatorType IN = fromString("In");

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

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