// 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 CustomEntityLookupSkill. */
public final class CustomEntityLookupSkillLanguage extends ExpandableStringEnum<CustomEntityLookupSkillLanguage> {
    /** Danish. */
    public static final CustomEntityLookupSkillLanguage DA = fromString("da");

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

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

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

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

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

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

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

    /** Portuguese. */
    public static final CustomEntityLookupSkillLanguage PT = fromString("pt");

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

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

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