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

Message of caller-provided reference configuration.

Attributes

  • referenceSentencePairLists (type: list(GoogleApi.Translate.V3.Model.ReferenceSentencePairList.t), default: nil) - Reference sentences pair lists. Each list will be used as the references to translate the sentence under "content" field at the corresponding index. Length of the list is required to be equal to the length of "content" field.
  • sourceLanguageCode (type: String.t, default: nil) - Source language code.
  • targetLanguageCode (type: String.t, default: nil) - Target language code.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.ReferenceSentenceConfig{
  referenceSentencePairLists:
    [GoogleApi.Translate.V3.Model.ReferenceSentencePairList.t()] | nil,
  sourceLanguageCode: String.t() | nil,
  targetLanguageCode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.