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