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

This is a JSON template for a ListScores response.

Attributes

  • items ([LeaderboardEntry]): The scores in the leaderboard. Defaults to: null.
  • kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardScores. Defaults to: null.
  • nextPageToken (String.t): The pagination token for the next page of results. Defaults to: null.
  • numScores (String.t): The total number of scores in the leaderboard. Defaults to: null.
  • playerScore (LeaderboardEntry): 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. Defaults to: null.
  • prevPageToken (String.t): The pagination token for the previous page of results. 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.LeaderboardScores{
  items: [GoogleApi.Games.V1.Model.LeaderboardEntry.t()],
  kind: any(),
  nextPageToken: any(),
  numScores: any(),
  playerScore: GoogleApi.Games.V1.Model.LeaderboardEntry.t(),
  prevPageToken: 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.