Class: Google::Apis::GamesV1::ListPlayerScoreResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb

Overview

A list of score submission statuses.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPlayerScoreResponse

Returns a new instance of ListPlayerScoreResponse.



2342
2343
2344
# File 'lib/google/apis/games_v1/classes.rb', line 2342

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

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

Returns:

  • (String)


2335
2336
2337
# File 'lib/google/apis/games_v1/classes.rb', line 2335

def kind
  @kind
end

#submitted_scoresArray<Google::Apis::GamesV1::PlayerScoreResponse>

The score submissions statuses. Corresponds to the JSON property submittedScores



2340
2341
2342
# File 'lib/google/apis/games_v1/classes.rb', line 2340

def 
  @submitted_scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2347
2348
2349
2350
# File 'lib/google/apis/games_v1/classes.rb', line 2347

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @submitted_scores = args[:submitted_scores] if args.key?(:submitted_scores)
end