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
4400 4401 4402 |
# File 'generated/google/apis/games_v1/classes.rb', line 4400 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GamesV1::TurnBasedMatch>
The matches.
Corresponds to the JSON property items
4387 4388 4389 |
# File 'generated/google/apis/games_v1/classes.rb', line 4387 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
4393 4394 4395 |
# File 'generated/google/apis/games_v1/classes.rb', line 4393 def kind @kind end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
4398 4399 4400 |
# File 'generated/google/apis/games_v1/classes.rb', line 4398 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4405 4406 4407 4408 4409 |
# File 'generated/google/apis/games_v1/classes.rb', line 4405 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 |