// 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;

/** Defines values for JobMatchModeTypeInternal. */
public final class JobMatchModeTypeInternal extends ExpandableStringEnum<JobMatchModeTypeInternal> {
    /** Static value queueAndMatchMode for JobMatchModeTypeInternal. */
    public static final JobMatchModeTypeInternal QUEUE_AND_MATCH_MODE = fromString("queueAndMatchMode");

    /** Static value scheduleAndSuspendMode for JobMatchModeTypeInternal. */
    public static final JobMatchModeTypeInternal SCHEDULE_AND_SUSPEND_MODE = fromString("scheduleAndSuspendMode");

    /** Static value suspendMode for JobMatchModeTypeInternal. */
    public static final JobMatchModeTypeInternal SUSPEND_MODE = fromString("suspendMode");

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

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

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