Class: Google::Apis::GamesManagementV1management::AchievementResetAllResponse
- Inherits:
-
Object
- Object
- Google::Apis::GamesManagementV1management::AchievementResetAllResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_management_v1management/classes.rb,
generated/google/apis/games_management_v1management/representations.rb,
generated/google/apis/games_management_v1management/representations.rb
Overview
This is a JSON template for achievement reset all response.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#results ⇒ Array<Google::Apis::GamesManagementV1management::AchievementResetResponse>
The achievement reset results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AchievementResetAllResponse
constructor
A new instance of AchievementResetAllResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AchievementResetAllResponse
Returns a new instance of AchievementResetAllResponse
40 41 42 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 40 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesManagement#achievementResetAllResponse.
Corresponds to the JSON property kind
33 34 35 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 33 def kind @kind end |
#results ⇒ Array<Google::Apis::GamesManagementV1management::AchievementResetResponse>
The achievement reset results.
Corresponds to the JSON property results
38 39 40 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 38 def results @results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45 46 47 48 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 45 def update!(**args) @kind = args[:kind] if args.key?(:kind) @results = args[:results] if args.key?(:results) end |