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

View Source

Identifies a substring within a given text.

Attributes

  • endOffset (type: integer(), default: nil) - Zero-based offset of the last Unicode character (exclusive).
  • startOffset (type: integer(), default: nil) - Zero-based offset of the first Unicode character of the string (inclusive).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange{
    endOffset: integer() | nil,
    startOffset: integer() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.