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

This is a JSON template for 1P/3P metadata about a user's level.

Attributes

  • kind (type: String.t, default: games#playerLevel) - 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.

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.PlayerLevel{
  kind: String.t(),
  level: integer(),
  maxExperiencePoints: String.t(),
  minExperiencePoints: 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.