GoogleApi.Translate.V2.Model.LanguagesResource (google_api_translate v0.12.3) View Source

Attributes

  • language (type: String.t, default: nil) - Supported language code, generally consisting of its ISO 639-1 identifier. (E.g. 'en', 'ja'). In certain cases, BCP-47 codes including language + region identifiers are returned (e.g. 'zh-TW' and 'zh-CH')
  • name (type: String.t, default: nil) - Human readable name of the language localized to the 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.V2.Model.LanguagesResource{
  language: String.t() | nil,
  name: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.