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

View Source

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

Attributes

  • checksumsLocation (type: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t, default: nil) - Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol.
  • chunkSizeBytes (type: String.t, default: nil) - The chunk size of checksums. Must be a multiple of 256KB.
  • objectLocation (type: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t, default: nil) - If set, calculate the checksums based on the contents and return them to the caller.
  • objectSizeBytes (type: String.t, default: nil) - The total size of the server object.
  • objectVersion (type: String.t, default: nil) - The object version of the object the checksums are being returned for.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.DiffChecksumsResponse{
  checksumsLocation: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t() | nil,
  chunkSizeBytes: String.t() | nil,
  objectLocation: GoogleApi.WalletObjects.V1.Model.CompositeMedia.t() | nil,
  objectSizeBytes: String.t() | nil,
  objectVersion: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.