View Source GoogleApi.CloudSearch.V1.Model.SpellResult (google_api_cloud_search v0.21.0)

Attributes

  • suggestedQuery (type: String.t, default: nil) - The suggested spelling of the query.
  • suggestedQueryHtml (type: GoogleApi.CloudSearch.V1.Model.SafeHtmlProto.t, default: nil) - The sanitized HTML representing the spell corrected query that can be used in the UI. This usually has language-specific tags to mark up parts of the query that are spell checked.
  • suggestionType (type: String.t, default: nil) - Suggestion triggered for the current query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.SpellResult{
  suggestedQuery: String.t() | nil,
  suggestedQueryHtml: GoogleApi.CloudSearch.V1.Model.SafeHtmlProto.t() | nil,
  suggestionType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.