Class: Google::Apis::GamesManagementV1management::AchievementResetAllResponse

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

Achievement reset all response.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#kindString

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

Returns:

  • (String)


33
34
35
# File 'generated/google/apis/games_management_v1management/classes.rb', line 33

def kind
  @kind
end

#resultsArray<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