google_api_games_configuration v0.3.0 GoogleApi.GamesConfiguration.V1configuration.Model.LeaderboardConfiguration View Source

This is a JSON template for an leaderboard configuration resource.

Attributes

  • draft (type: GoogleApi.GamesConfiguration.V1configuration.Model.LeaderboardConfigurationDetail.t, default: nil) - The draft data of the leaderboard.
  • id (type: String.t, default: nil) - The ID of the leaderboard.
  • kind (type: String.t, default: gamesConfiguration#leaderboardConfiguration) - Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
  • published (type: GoogleApi.GamesConfiguration.V1configuration.Model.LeaderboardConfigurationDetail.t, default: nil) - The read-only published data of the leaderboard.
  • scoreMax (type: String.t, default: nil) - Maximum score that can be posted to this leaderboard.
  • scoreMin (type: String.t, default: nil) - Minimum score that can be posted to this leaderboard.
  • scoreOrder (type: String.t, default: nil) - The type of the leaderboard. Possible values are:

    • "LARGER_IS_BETTER" - Larger scores posted are ranked higher.
    • "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
  • token (type: String.t, default: nil) - The token for this resource.

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.GamesConfiguration.V1configuration.Model.LeaderboardConfiguration{
    draft:
      GoogleApi.GamesConfiguration.V1configuration.Model.LeaderboardConfigurationDetail.t(),
    id: String.t(),
    kind: String.t(),
    published:
      GoogleApi.GamesConfiguration.V1configuration.Model.LeaderboardConfigurationDetail.t(),
    scoreMax: String.t(),
    scoreMin: String.t(),
    scoreOrder: String.t(),
    token: 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.