// 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.implementation.models;

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

/** Describes how the value of the label is compared to the value pass through. */
public final class LabelOperatorInternal extends ExpandableStringEnum<LabelOperatorInternal> {
    /** Static value equal for LabelOperatorInternal. */
    public static final LabelOperatorInternal EQUAL = fromString("equal");

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

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

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

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

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

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

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

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