Class: Google::Apis::GamesManagementV1management::QuestsResetMultipleForAllRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#questsResetMultipleForAllRequest. Corresponds to the JSON property kind

Returns:

  • (String)


522
523
524
# File 'generated/google/apis/games_management_v1management/classes.rb', line 522

def kind
  @kind
end

#quest_idsArray<String>

The IDs of quests to reset. Corresponds to the JSON property quest_ids

Returns:

  • (Array<String>)


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