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

    /** Static value pendingClassification for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector PENDING_CLASSIFICATION = fromString("pendingClassification");

    /** Static value queued for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector QUEUED = fromString("queued");

    /** Static value assigned for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector ASSIGNED = fromString("assigned");

    /** Static value completed for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector COMPLETED = fromString("completed");

    /** Static value closed for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector CLOSED = fromString("closed");

    /** Static value cancelled for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector CANCELLED = fromString("cancelled");

    /** Static value classificationFailed for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector CLASSIFICATION_FAILED = fromString("classificationFailed");

    /** Static value created for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector CREATED = fromString("created");

    /** Static value pendingSchedule for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector PENDING_SCHEDULE = fromString("pendingSchedule");

    /** Static value scheduled for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector SCHEDULED = fromString("scheduled");

    /** Static value scheduleFailed for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector SCHEDULE_FAILED = fromString("scheduleFailed");

    /** Static value waitingForActivation for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector WAITING_FOR_ACTIVATION = fromString("waitingForActivation");

    /** Static value active for RouterJobStatusSelector. */
    public static final RouterJobStatusSelector ACTIVE = fromString("active");

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

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