View Source GoogleApi.ContentWarehouse.V1.Model.SdrScrollTo (google_api_content_warehouse v0.3.0)

Data needed to construct a go/scroll-to text fragment. The url fragment is: #:~:text=[prefix-,]text_start,text_end

Attributes

  • onpageMatches (type: GoogleApi.ContentWarehouse.V1.Model.SdrScrollToOnPageMatches.t, default: nil) -
  • prefix (type: String.t, default: nil) - Prefix to help with disambiguating between multiple text matches on page. Optional.
  • suffix (type: String.t, default: nil) - Suffix to help with disambiguating between multiple text matches on page. Optional.
  • textEnd (type: String.t, default: nil) - End of the text span to be highlighted. Optional.
  • textStart (type: String.t, default: nil) - Start of the text span to be highlighted.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SdrScrollTo{
  onpageMatches:
    GoogleApi.ContentWarehouse.V1.Model.SdrScrollToOnPageMatches.t() | nil,
  prefix: String.t() | nil,
  suffix: String.t() | nil,
  textEnd: String.t() | nil,
  textStart: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.