GoogleApi.Translate.V3.Model.SupportedLanguage (google_api_translate v0.12.3) 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

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.