GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfiguration (google_api_games_configuration v0.11.0) View Source

An achievement configuration resource.

Attributes

  • achievementType (type: String.t, default: nil) - The type of the achievement.
  • draft (type: GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfigurationDetail.t, default: nil) - The draft data of the achievement.
  • id (type: String.t, default: nil) - The ID of the achievement.
  • initialState (type: String.t, default: nil) - The initial state of the achievement.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
  • published (type: GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfigurationDetail.t, default: nil) - The read-only published data of the achievement.
  • stepsToUnlock (type: integer(), default: nil) - Steps to unlock. Only applicable to incremental achievements.
  • 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

Specs

t() ::
  %GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfiguration{
    achievementType: String.t() | nil,
    draft:
      GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfigurationDetail.t()
      | nil,
    id: String.t() | nil,
    initialState: String.t() | nil,
    kind: String.t() | nil,
    published:
      GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfigurationDetail.t()
      | nil,
    stepsToUnlock: integer() | nil,
    token: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.