google_api_games v0.3.1 GoogleApi.Games.V1.Model.Leaderboard View Source

This is a JSON template for the Leaderboard resource.

Attributes

  • iconUrl (String.t): The icon for the leaderboard. Defaults to: null.
  • id (String.t): The leaderboard ID. Defaults to: null.
  • isIconUrlDefault (boolean()): Indicates whether the icon image being returned is a default image, or is game-provided. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboard. Defaults to: null.
  • name (String.t): The name of the leaderboard. Defaults to: null.
  • order (String.t): How scores are ordered. Possible values are: - "LARGER_IS_BETTER" - Larger values are better; scores are sorted in descending order. - "SMALLER_IS_BETTER" - Smaller values are better; scores are sorted in ascending order. Defaults to: null.

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.Leaderboard{
  iconUrl: any(),
  id: any(),
  isIconUrlDefault: any(),
  kind: any(),
  name: any(),
  order: any()
}

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.