View Source GoogleApi.Translate.V3.Model.SupportedLanguage (google_api_translate v0.21.0)

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, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').
  • supportSource (type: boolean(), default: nil) - Can be used as a source language.
  • supportTarget (type: boolean(), default: nil) - Can be used as a target language.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.