google_api_translate v0.9.0 GoogleApi.Translate.V3.Model.SupportedLanguage View Source

A single supported language response corresponds to information related to one supported language.

Attributes

  • displayName (type: String.t, default: nil) - Human readable name of the language localized in the display language specified in the request.
  • languageCode (type: String.t, default: nil) - Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN')
  • supportSource (type: boolean(), default: nil) - Can be used as source language.
  • supportTarget (type: boolean(), default: nil) - Can be used as target language.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Translate.V3.Model.SupportedLanguage{
  displayName: String.t(),
  languageCode: String.t(),
  supportSource: boolean(),
  supportTarget: boolean()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.