GoogleApi.Translate.V3.Model.DetectLanguageResponse (google_api_translate v0.22.0)

View Source

The response message for language detection.

Attributes

  • languages (type: list(GoogleApi.Translate.V3.Model.DetectedLanguage.t), default: nil) - The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Translate.V3.Model.DetectLanguageResponse{
  languages: [GoogleApi.Translate.V3.Model.DetectedLanguage.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.