GoogleApi.WalletObjects.V1.Model.DiffUploadResponse (google_api_wallet_objects v0.12.0)

View Source

Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.

Attributes

  • objectVersion (type: String.t, default: nil) - The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.
  • originalObject (type: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t, default: nil) - The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.DiffUploadResponse{
  objectVersion: String.t() | nil,
  originalObject: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.