Class: Google::Apis::GamesManagementV1management::QuestsResetMultipleForAllRequest
- Inherits:
-
Object
- Object
- Google::Apis::GamesManagementV1management::QuestsResetMultipleForAllRequest
- 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 multiple quests reset all request.
Instance Attribute Summary collapse
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#quest_ids ⇒ Array<String>
The IDs of quests to reset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QuestsResetMultipleForAllRequest
constructor
A new instance of QuestsResetMultipleForAllRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ QuestsResetMultipleForAllRequest
Returns a new instance of QuestsResetMultipleForAllRequest
529 530 531 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 529 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#questsResetMultipleForAllRequest.
Corresponds to the JSON property kind
522 523 524 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 522 def kind @kind end |
#quest_ids ⇒ Array<String>
The IDs of quests to reset.
Corresponds to the JSON property quest_ids
527 528 529 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 527 def quest_ids @quest_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
534 535 536 537 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 534 def update!(**args) @kind = args[:kind] if args.key?(:kind) @quest_ids = args[:quest_ids] if args.key?(:quest_ids) end |