View Source GoogleApi.Games.V1.Model.Leaderboard (google_api_games v0.24.0)

The Leaderboard resource.

Attributes

  • iconUrl (type: String.t, default: nil) - The icon for the leaderboard.
  • id (type: String.t, default: nil) - The leaderboard ID.
  • isIconUrlDefault (type: boolean(), default: nil) - Indicates whether the icon image being returned is a default image, or is game-provided.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboard.
  • name (type: String.t, default: nil) - The name of the leaderboard.
  • order (type: String.t, default: nil) - How scores are ordered.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Games.V1.Model.Leaderboard{
  iconUrl: String.t() | nil,
  id: String.t() | nil,
  isIconUrlDefault: boolean() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  order: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.