google_api_games v0.17.0 GoogleApi.Games.V1.Model.LeaderboardEntry View Source

The Leaderboard Entry resource.

Attributes

  • formattedScore (type: String.t, default: nil) - The localized string for the numerical value of this score.
  • formattedScoreRank (type: String.t, default: nil) - The localized string for the rank of this score for this leaderboard.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardEntry.
  • player (type: GoogleApi.Games.V1.Model.Player.t, default: nil) - The player who holds this score.
  • scoreRank (type: String.t, default: nil) - The rank of this score for this leaderboard.
  • scoreTag (type: String.t, default: nil) - Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
  • scoreValue (type: String.t, default: nil) - The numerical value of this score.
  • timeSpan (type: String.t, default: nil) - The time span of this high score.
  • writeTimestampMillis (type: String.t, default: nil) - The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Games.V1.Model.LeaderboardEntry{
  formattedScore: String.t(),
  formattedScoreRank: String.t(),
  kind: String.t(),
  player: GoogleApi.Games.V1.Model.Player.t(),
  scoreRank: String.t(),
  scoreTag: String.t(),
  scoreValue: String.t(),
  timeSpan: String.t(),
  writeTimestampMillis: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.