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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V2.Model.LanguagesResource{
  language: String.t() | nil,
  name: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.