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

View Source

Information about a photo of a place.

Attributes

  • authorAttributions (type: list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AuthorAttribution.t), default: nil) - This photo's authors.
  • flagContentUri (type: String.t, default: nil) - A link where users can flag a problem with the photo.
  • googleMapsUri (type: String.t, default: nil) - A link to show the photo on Google Maps.
  • 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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.