GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText (google_api_places v0.11.0)

View Source

The text highlighted by the justification. This is a subset of the review itself. The exact word to highlight is marked by the HighlightedTextRange. There could be several words in the text being highlighted.

Attributes

  • highlightedTextRanges (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange.t), default: nil) - The list of the ranges of the highlighted text.
  • text (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText{
    highlightedTextRanges:
      [
        GoogleApi.Places.V1.Model.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange.t()
      ]
      | nil,
    text: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.