View Source GoogleApi.Games.V1.Model.MetagameConfig (google_api_games v0.26.0)

The metagame config resource

Attributes

  • currentVersion (type: integer(), default: nil) - Current version of the metagame configuration data. When this data is updated, the version number will be increased by one.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#metagameConfig.
  • playerLevels (type: list(GoogleApi.Games.V1.Model.PlayerLevel.t), default: nil) - The list of player levels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Games.V1.Model.MetagameConfig{
  currentVersion: integer() | nil,
  kind: String.t() | nil,
  playerLevels: [GoogleApi.Games.V1.Model.PlayerLevel.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.