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

package com.azure.health.insights.clinicalmatching.models;

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

/** The type of the Trial Matcher inference. */
public final class TrialMatcherInferenceType extends ExpandableStringEnum<TrialMatcherInferenceType> {
    /** Static value trialEligibility for TrialMatcherInferenceType. */
    public static final TrialMatcherInferenceType TRIAL_ELIGIBILITY = fromString("trialEligibility");

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

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

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