google_api_games v0.8.0 GoogleApi.Games.V1.Model.RoomP2PStatuses View Source

This is a JSON template for an update on the status of peers in a room.

Attributes

  • kind (type: String.t, default: games#roomP2PStatuses) - Uniquely identifies the type of this resource. Value is always the fixed string games#roomP2PStatuses.
  • updates (type: list(GoogleApi.Games.V1.Model.RoomP2PStatus.t), default: nil) - The updates for the peers.

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.RoomP2PStatuses{
  kind: String.t(),
  updates: [GoogleApi.Games.V1.Model.RoomP2PStatus.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.