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

package com.azure.ai.personalizer.models;

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

/** Defines values for EvaluationType. */
public final class EvaluationType extends ExpandableStringEnum<EvaluationType> {
    /** Static value Manual for EvaluationType. */
    public static final EvaluationType MANUAL = fromString("Manual");

    /** Static value Auto for EvaluationType. */
    public static final EvaluationType AUTO = fromString("Auto");

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

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