View Source GoogleApi.Translate.V2.Model.TranslationsListResponse (google_api_translate v0.21.0)

The main language translation response message.

Attributes

  • translations (type: list(GoogleApi.Translate.V2.Model.TranslationsResource.t), default: nil) - Translations contains list of translation results of given text

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V2.Model.TranslationsListResponse{
  translations: [GoogleApi.Translate.V2.Model.TranslationsResource.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.