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

package com.azure.communication.jobrouter.models;

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

/** Defines values for LabelOperator. */
public final class LabelOperator extends ExpandableStringEnum<LabelOperator> {
    /** Static value equal for LabelOperator. */
    public static final LabelOperator EQUAL = fromString("equal");

    /** Static value notEqual for LabelOperator. */
    public static final LabelOperator NOT_EQUAL = fromString("notEqual");

    /** Static value lessThan for LabelOperator. */
    public static final LabelOperator LESS_THAN = fromString("lessThan");

    /** Static value lessThanEqual for LabelOperator. */
    public static final LabelOperator LESS_THAN_EQUAL = fromString("lessThanEqual");

    /** Static value greaterThan for LabelOperator. */
    public static final LabelOperator GREATER_THAN = fromString("greaterThan");

    /** Static value greaterThanEqual for LabelOperator. */
    public static final LabelOperator GREATER_THAN_EQUAL = fromString("greaterThanEqual");

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

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