google_api_games v0.11.0 GoogleApi.Games.V1.Model.LeaderboardScores View Source

This is a JSON template for a ListScores response.

Attributes

  • items (type: list(GoogleApi.Games.V1.Model.LeaderboardEntry.t), default: nil) - The scores in the leaderboard.
  • kind (type: String.t, default: games#leaderboardScores) - Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardScores.
  • nextPageToken (type: String.t, default: nil) - The pagination token for the next page of results.
  • numScores (type: String.t, default: nil) - The total number of scores in the leaderboard.
  • playerScore (type: GoogleApi.Games.V1.Model.LeaderboardEntry.t, default: nil) - The score of the requesting player on the leaderboard. The player's score may appear both here and in the list of scores above. If you are viewing a public leaderboard and the player is not sharing their gameplay information publicly, the scoreRank and formattedScoreRank values will not be present.
  • prevPageToken (type: String.t, default: nil) - The pagination token for the previous page of results.

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.LeaderboardScores{
  items: [GoogleApi.Games.V1.Model.LeaderboardEntry.t()],
  kind: String.t(),
  nextPageToken: String.t(),
  numScores: String.t(),
  playerScore: GoogleApi.Games.V1.Model.LeaderboardEntry.t(),
  prevPageToken: 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.