class Google::Apis::GamesV1::TurnBasedMatchSync

This is a JSON template for a list of turn-based matches returned from a sync.

Attributes

items[RW]

The matches. Corresponds to the JSON property `items` @return [Array<Google::Apis::GamesV1::TurnBasedMatch>]

kind[RW]

Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchSync. Corresponds to the JSON property `kind` @return [String]

more_available[RW]

True if there were more matches available to fetch at the time the response was generated (which were not returned due to page size limits.) Corresponds to the JSON property `moreAvailable` @return [Boolean]

more_available?[RW]

True if there were more matches available to fetch at the time the response was generated (which were not returned due to page size limits.) Corresponds to the JSON property `moreAvailable` @return [Boolean]

next_page_token[RW]

The pagination token for the next page of results. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/games_v1/classes.rb, line 4570
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/games_v1/classes.rb, line 4575
def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @more_available = args[:more_available] if args.key?(:more_available)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end