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.
4113 4114 4115 |
# File 'generated/google/apis/games_v1/classes.rb', line 4113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GamesV1::TurnBasedMatch>
The matches.
Corresponds to the JSON property items
4100 4101 4102 |
# File 'generated/google/apis/games_v1/classes.rb', line 4100 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
4106 4107 4108 |
# File 'generated/google/apis/games_v1/classes.rb', line 4106 def kind @kind end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
4111 4112 4113 |
# File 'generated/google/apis/games_v1/classes.rb', line 4111 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4118 4119 4120 4121 4122 |
# File 'generated/google/apis/games_v1/classes.rb', line 4118 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 |