GoogleApi.Translate.V3.Model.LanguageCodePair (google_api_translate v0.22.0)

View Source

Used with unidirectional glossaries.

Attributes

  • sourceLanguageCode (type: String.t, default: nil) - Required. The ISO-639 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
  • targetLanguageCode (type: String.t, default: nil) - Required. The ISO-639 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Translate.V3.Model.LanguageCodePair{
  sourceLanguageCode: String.t() | nil,
  targetLanguageCode: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.