google_api_games v0.5.0 GoogleApi.Games.V1.Model.EventRecordFailure View Source

This is a JSON template for an event update failure resource.

Attributes

  • eventId (type: String.t, default: nil) - The ID of the event that was not updated.
  • failureCause (type: String.t, default: nil) - The cause for the update failure. Possible values are:

    • "NOT_FOUND" - An attempt was made to set an event that was not defined.
    • "INVALID_UPDATE_VALUE" - An attempt was made to increment an event by a non-positive value.
  • kind (type: String.t, default: games#eventRecordFailure) - Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordFailure.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Games.V1.Model.EventRecordFailure{
  eventId: String.t(),
  failureCause: String.t(),
  kind: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.