// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

package com.azure.search.documents.indexes.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/** Deprecated. The language codes supported for input text by EntityRecognitionSkill. */
public final class EntityRecognitionSkillLanguage extends ExpandableStringEnum<EntityRecognitionSkillLanguage> {
    /** Arabic. */
    public static final EntityRecognitionSkillLanguage AR = fromString("ar");

    /** Czech. */
    public static final EntityRecognitionSkillLanguage CS = fromString("cs");

    /** Chinese-Simplified. */
    public static final EntityRecognitionSkillLanguage ZH_HANS = fromString("zh-Hans");

    /** Chinese-Traditional. */
    public static final EntityRecognitionSkillLanguage ZH_HANT = fromString("zh-Hant");

    /** Danish. */
    public static final EntityRecognitionSkillLanguage DA = fromString("da");

    /** Dutch. */
    public static final EntityRecognitionSkillLanguage NL = fromString("nl");

    /** English. */
    public static final EntityRecognitionSkillLanguage EN = fromString("en");

    /** Finnish. */
    public static final EntityRecognitionSkillLanguage FI = fromString("fi");

    /** French. */
    public static final EntityRecognitionSkillLanguage FR = fromString("fr");

    /** German. */
    public static final EntityRecognitionSkillLanguage DE = fromString("de");

    /** Greek. */
    public static final EntityRecognitionSkillLanguage EL = fromString("el");

    /** Hungarian. */
    public static final EntityRecognitionSkillLanguage HU = fromString("hu");

    /** Italian. */
    public static final EntityRecognitionSkillLanguage IT = fromString("it");

    /** Japanese. */
    public static final EntityRecognitionSkillLanguage JA = fromString("ja");

    /** Korean. */
    public static final EntityRecognitionSkillLanguage KO = fromString("ko");

    /** Norwegian (Bokmaal). */
    public static final EntityRecognitionSkillLanguage NO = fromString("no");

    /** Polish. */
    public static final EntityRecognitionSkillLanguage PL = fromString("pl");

    /** Portuguese (Portugal). */
    public static final EntityRecognitionSkillLanguage PT_PT = fromString("pt-PT");

    /** Portuguese (Brazil). */
    public static final EntityRecognitionSkillLanguage PT_BR = fromString("pt-BR");

    /** Russian. */
    public static final EntityRecognitionSkillLanguage RU = fromString("ru");

    /** Spanish. */
    public static final EntityRecognitionSkillLanguage ES = fromString("es");

    /** Swedish. */
    public static final EntityRecognitionSkillLanguage SV = fromString("sv");

    /** Turkish. */
    public static final EntityRecognitionSkillLanguage TR = fromString("tr");

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

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

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