GoogleApi.Games.V1.Model.PlayerLevel (google_api_games v0.26.2)

View Source

1P/3P metadata about a user's level.

Attributes

  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#playerLevel.
  • level (type: integer(), default: nil) - The level for the user.
  • maxExperiencePoints (type: String.t, default: nil) - The maximum experience points for this level.
  • minExperiencePoints (type: String.t, default: nil) - The minimum experience points for this level.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Games.V1.Model.PlayerLevel{
  kind: String.t() | nil,
  level: integer() | nil,
  maxExperiencePoints: String.t() | nil,
  minExperiencePoints: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.