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

View Source

Links to trigger different Google Maps actions.

Attributes

  • directionsUri (type: String.t, default: nil) - A link to show the directions to the place. The link only populates the destination location and uses the default travel mode DRIVE.
  • photosUri (type: String.t, default: nil) - A link to show photos of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps.
  • placeUri (type: String.t, default: nil) - A link to show this place.
  • reviewsUri (type: String.t, default: nil) - A link to show reviews of this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps.
  • writeAReviewUri (type: String.t, default: nil) - A link to write a review for this place. This link is currently not supported on Google Maps Mobile and only works on the web version of Google Maps.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1PlaceGoogleMapsLinks{
  directionsUri: String.t() | nil,
  photosUri: String.t() | nil,
  placeUri: String.t() | nil,
  reviewsUri: String.t() | nil,
  writeAReviewUri: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.