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

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.