// 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;

/** The language codes supported for input text by KeyPhraseExtractionSkill. */
public final class KeyPhraseExtractionSkillLanguage extends ExpandableStringEnum<KeyPhraseExtractionSkillLanguage> {
    /** Danish. */
    public static final KeyPhraseExtractionSkillLanguage DA = fromString("da");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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