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

A single romanization response.

Attributes

  • detectedLanguageCode (type: String.t, default: nil) - The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.
  • romanizedText (type: String.t, default: nil) - Romanized text. If an error occurs during romanization, this field might be excluded from the response.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Translate.V3.Model.Romanization{
  detectedLanguageCode: String.t() | nil,
  romanizedText: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.