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

package com.azure.resourcemanager.machinelearning.models;

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

/** Enum to determine the Job Input Type. */
public final class JobInputType extends ExpandableStringEnum<JobInputType> {
    /** Static value literal for JobInputType. */
    public static final JobInputType LITERAL = fromString("literal");

    /** Static value uri_file for JobInputType. */
    public static final JobInputType URI_FILE = fromString("uri_file");

    /** Static value uri_folder for JobInputType. */
    public static final JobInputType URI_FOLDER = fromString("uri_folder");

    /** Static value mltable for JobInputType. */
    public static final JobInputType MLTABLE = fromString("mltable");

    /** Static value custom_model for JobInputType. */
    public static final JobInputType CUSTOM_MODEL = fromString("custom_model");

    /** Static value mlflow_model for JobInputType. */
    public static final JobInputType MLFLOW_MODEL = fromString("mlflow_model");

    /** Static value triton_model for JobInputType. */
    public static final JobInputType TRITON_MODEL = fromString("triton_model");

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

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

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