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

package com.azure.ai.translation.text.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/** Response for the languages API. */
@Immutable
public final class GetLanguagesResult {
    /*
     * Languages that support translate API.
     */
    @JsonProperty(value = "translation")
    private Map<String, TranslationLanguage> translation;

    /*
     * Languages that support transliteration API.
     */
    @JsonProperty(value = "transliteration")
    private Map<String, TransliterationLanguage> transliteration;

    /*
     * Languages that support dictionary API.
     */
    @JsonProperty(value = "dictionary")
    private Map<String, SourceDictionaryLanguage> dictionary;

    /** Creates an instance of GetLanguagesResult class. */
    private GetLanguagesResult() {}

    /**
     * Get the translation property: Languages that support translate API.
     *
     * @return the translation value.
     */
    public Map<String, TranslationLanguage> getTranslation() {
        return this.translation;
    }

    /**
     * Get the transliteration property: Languages that support transliteration API.
     *
     * @return the transliteration value.
     */
    public Map<String, TransliterationLanguage> getTransliteration() {
        return this.transliteration;
    }

    /**
     * Get the dictionary property: Languages that support dictionary API.
     *
     * @return the dictionary value.
     */
    public Map<String, SourceDictionaryLanguage> getDictionary() {
        return this.dictionary;
    }
}
