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

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

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

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

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

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

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

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

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

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

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

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