View Source GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceSubDestination (google_api_places v0.10.0)

Place resource name and id of sub destinations that relate to the place. For example, different terminals are different destinations of an airport.

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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.