google_api_games_configuration v0.5.0 GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfiguration View Source
This is a JSON template for an achievement configuration resource.
Attributes
achievementType(type:String.t, default:nil) - The type of the achievement. Possible values are:- "STANDARD" - Achievement is either locked or unlocked.
- "INCREMENTAL" - Achievement is incremental.
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. Possible values are:- "HIDDEN" - Achievement is hidden.
- "REVEALED" - Achievement is revealed.
- "UNLOCKED" - Achievement is unlocked.
kind(type:String.t, default:gamesConfiguration#achievementConfiguration) - 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
Link to this type
t()
View Sourcet() ::
%GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfiguration{
achievementType: String.t(),
draft:
GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfigurationDetail.t(),
id: String.t(),
initialState: String.t(),
kind: String.t(),
published:
GoogleApi.GamesConfiguration.V1configuration.Model.AchievementConfigurationDetail.t(),
stepsToUnlock: integer(),
token: String.t()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.