Class TargetDictionaryLanguage

java.lang.Object
com.azure.ai.translation.text.models.TargetDictionaryLanguage

public final class TargetDictionaryLanguage extends Object
Properties of the target dictionary language.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the code property: Language code identifying the target language.
    Get the dir property: Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.
    Get the name property: Display name of the language in the locale requested via Accept-Language header.
    Get the nativeName property: Display name of the language in the locale native for this language.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getName

      public String getName()
      Get the name property: Display name of the language in the locale requested via Accept-Language header.
      Returns:
      the name value.
    • getNativeName

      public String getNativeName()
      Get the nativeName property: Display name of the language in the locale native for this language.
      Returns:
      the nativeName value.
    • getDir

      public String getDir()
      Get the dir property: Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.
      Returns:
      the dir value.
    • getCode

      public String getCode()
      Get the code property: Language code identifying the target language.
      Returns:
      the code value.