google_api_games v0.12.0 GoogleApi.Games.V1.Model.PlayerScore View Source

This is a JSON template for a player score.

Attributes

  • formattedScore (type: String.t, default: nil) - The formatted score for this player score.
  • kind (type: String.t, default: games#playerScore) - Uniquely identifies the type of this resource. Value is always the fixed string games#playerScore.
  • score (type: String.t, default: nil) - The numerical value for this player score.
  • scoreTag (type: String.t, default: nil) - Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
  • timeSpan (type: String.t, default: nil) - The time span for this player 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.

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.PlayerScore{
  formattedScore: String.t(),
  kind: String.t(),
  score: String.t(),
  scoreTag: String.t(),
  timeSpan: 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.