View Source GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Photo (google_api_places v0.5.1)

Information about a photo of a place.

Attributes

  • authorAttributions (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AuthorAttribution.t), default: nil) - This photo's authors.
  • heightPx (type: integer(), default: nil) - The maximum available height, in pixels.
  • name (type: String.t, default: nil) - Identifier. A reference representing this place photo which may be used to look up this place photo again (also called the API "resource" name: places/{place_id}/photos/{photo}).
  • widthPx (type: integer(), default: nil) - The maximum available width, in pixels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1Photo{
  authorAttributions:
    [GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AuthorAttribution.t()] | nil,
  heightPx: integer() | nil,
  name: String.t() | nil,
  widthPx: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.