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

Represents a single entry for an unidirectional glossary.

Attributes

  • sourceTerm (type: GoogleApi.Translate.V3.Model.GlossaryTerm.t, default: nil) - The source term is the term that will get match in the text,
  • targetTerm (type: GoogleApi.Translate.V3.Model.GlossaryTerm.t, default: nil) - The term that will replace the match source term.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.GlossaryTermsPair{
  sourceTerm: GoogleApi.Translate.V3.Model.GlossaryTerm.t() | nil,
  targetTerm: GoogleApi.Translate.V3.Model.GlossaryTerm.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.