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

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

Overview

This is a JSON template for a list of score submission statuses.

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) ⇒ ListPlayerScoreResponse

Returns a new instance of ListPlayerScoreResponse.



2566
2567
2568
# File 'generated/google/apis/games_v1/classes.rb', line 2566

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)


2559
2560
2561
# File 'generated/google/apis/games_v1/classes.rb', line 2559

def kind
  @kind
end

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

The score submissions statuses. Corresponds to the JSON property submittedScores



2564
2565
2566
# File 'generated/google/apis/games_v1/classes.rb', line 2564

def 
  @submitted_scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2571
2572
2573
2574
# File 'generated/google/apis/games_v1/classes.rb', line 2571

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