google_api_games v0.3.1 GoogleApi.Games.V1.Model.PlayerLeaderboardScore View Source
This is a JSON template for a player leaderboard score object.
Attributes
- kind (String.t): Uniquely identifies the type of this resource. Value is always the fixed string games#playerLeaderboardScore. Defaults to:
null. - leaderboard_id (String.t): The ID of the leaderboard this score is in. Defaults to:
null. - publicRank (LeaderboardScoreRank): The public rank of the score in this leaderboard. This object will not be present if the user is not sharing their scores publicly. Defaults to:
null. - scoreString (String.t): The formatted value of this score. Defaults to:
null. - scoreTag (String.t): Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. Defaults to:
null. - scoreValue (String.t): The numerical value of this score. Defaults to:
null. - socialRank (LeaderboardScoreRank): The social rank of the score in this leaderboard. Defaults to:
null. - timeSpan (String.t): The time span of this score. Possible values are: - "ALL_TIME" - The score is an all-time score. - "WEEKLY" - The score is a weekly score. - "DAILY" - The score is a daily score. Defaults to:
null. - writeTimestamp (String.t): The timestamp at which this score was recorded, in milliseconds since the epoch in UTC. 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()
View Source
t() :: %GoogleApi.Games.V1.Model.PlayerLeaderboardScore{
kind: any(),
leaderboard_id: any(),
publicRank: GoogleApi.Games.V1.Model.LeaderboardScoreRank.t(),
scoreString: any(),
scoreTag: any(),
scoreValue: any(),
socialRank: GoogleApi.Games.V1.Model.LeaderboardScoreRank.t(),
timeSpan: any(),
writeTimestamp: any()
}
t() :: %GoogleApi.Games.V1.Model.PlayerLeaderboardScore{
kind: any(),
leaderboard_id: any(),
publicRank: GoogleApi.Games.V1.Model.LeaderboardScoreRank.t(),
scoreString: any(),
scoreTag: any(),
scoreValue: any(),
socialRank: GoogleApi.Games.V1.Model.LeaderboardScoreRank.t(),
timeSpan: any(),
writeTimestamp: any()
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.