Class: Google::Apis::GamesV1::PlayerScoreSubmissionList

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 requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlayerScoreSubmissionList

Returns a new instance of PlayerScoreSubmissionList.



2479
2480
2481
# File 'lib/google/apis/games_v1/classes.rb', line 2479

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


2472
2473
2474
# File 'lib/google/apis/games_v1/classes.rb', line 2472

def kind
  @kind
end

#scoresArray<Google::Apis::GamesV1::ScoreSubmission>

The score submissions. Corresponds to the JSON property scores



2477
2478
2479
# File 'lib/google/apis/games_v1/classes.rb', line 2477

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2484
2485
2486
2487
# File 'lib/google/apis/games_v1/classes.rb', line 2484

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