View Source GoogleApi.StreetViewPublish.V1.Model.PhotoResponse (google_api_street_view_publish v0.20.0)

Response payload for a single Photo in batch operations including BatchGetPhotos and BatchUpdatePhotos.

Attributes

  • photo (type: GoogleApi.StreetViewPublish.V1.Model.Photo.t, default: nil) - The Photo resource, if the request was successful.
  • status (type: GoogleApi.StreetViewPublish.V1.Model.Status.t, default: nil) - The status for the operation to get or update a single photo in the batch request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StreetViewPublish.V1.Model.PhotoResponse{
  photo: GoogleApi.StreetViewPublish.V1.Model.Photo.t() | nil,
  status: GoogleApi.StreetViewPublish.V1.Model.Status.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.