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

View Source

A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.

Attributes

  • checksumsInfo (type: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t, default: nil) - The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol.
  • objectInfo (type: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t, default: nil) - The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received.
  • objectVersion (type: String.t, default: nil) - The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.