Class: Google::Apis::GamesV1::TurnBasedMatchList
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::TurnBasedMatchList
- 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 turn-based matches.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::GamesV1::TurnBasedMatch>
The matches.
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#next_page_token ⇒ String
The pagination token for the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TurnBasedMatchList
constructor
A new instance of TurnBasedMatchList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TurnBasedMatchList
Returns a new instance of TurnBasedMatchList.
4396 4397 4398 |
# File 'generated/google/apis/games_v1/classes.rb', line 4396 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GamesV1::TurnBasedMatch>
The matches.
Corresponds to the JSON property items
4383 4384 4385 |
# File 'generated/google/apis/games_v1/classes.rb', line 4383 def items @items end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string games#turnBasedMatchList.
Corresponds to the JSON property kind
4389 4390 4391 |
# File 'generated/google/apis/games_v1/classes.rb', line 4389 def kind @kind end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
4394 4395 4396 |
# File 'generated/google/apis/games_v1/classes.rb', line 4394 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4401 4402 4403 4404 4405 |
# File 'generated/google/apis/games_v1/classes.rb', line 4401 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |