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

View Source

A photo media from Places API.

Attributes

  • name (type: String.t, default: nil) - The resource name of a photo media in the format: places/{place_id}/photos/{photo_reference}/media.
  • photoUri (type: String.t, default: nil) - A short-lived uri that can be used to render the photo.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.