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

View Source

Sub-destinations are specific places associated with a main place. These provide more specific destinations for users who are searching within a large or complex place, like an airport, national park, university, or stadium. For example, sub-destinations at an airport might include associated terminals and parking lots. Sub-destinations return the place ID and place resource name, which can be used in subsequent Place Details (New) requests to fetch richer details, including the sub-destination's display name and location.

Attributes

  • id (type: String.t, default: nil) - The place id of the sub-destination.
  • name (type: String.t, default: nil) - The resource name of the sub-destination.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceSubDestination{
  id: String.t() | nil,
  name: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.