View Source GoogleApi.PubSubLite.V1.Model.PartitionCursor (google_api_pub_sub_lite v0.10.0)

A pair of a Cursor and the partition it is for.

Attributes

  • cursor (type: GoogleApi.PubSubLite.V1.Model.Cursor.t, default: nil) - The value of the cursor.
  • partition (type: String.t, default: nil) - The partition this is for.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSubLite.V1.Model.PartitionCursor{
  cursor: GoogleApi.PubSubLite.V1.Model.Cursor.t() | nil,
  partition: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.