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

A pair of sentences used as reference in source and target languages.

Attributes

  • sourceSentence (type: String.t, default: nil) - Source sentence in the sentence pair.
  • targetSentence (type: String.t, default: nil) - Target sentence in the sentence pair.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.ReferenceSentencePair{
  sourceSentence: String.t() | nil,
  targetSentence: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.