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.



2265
2266
2267
# File 'lib/google/apis/games_v1/classes.rb', line 2265

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)


2258
2259
2260
# File 'lib/google/apis/games_v1/classes.rb', line 2258

def kind
  @kind
end

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

The score submissions. Corresponds to the JSON property scores



2263
2264
2265
# File 'lib/google/apis/games_v1/classes.rb', line 2263

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2270
2271
2272
2273
# File 'lib/google/apis/games_v1/classes.rb', line 2270

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