# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
class_nameTwitchGetTopGames
##
## #/components/schemas/GetTopGamesResponse
classResponseextendsTwitchData:
## The list of broadcasts. The broadcasts are sorted by the number of viewers, with the most popular first.
@exportvardata:Array[TwitchGame]:
set(val):
data=val
track_data(&"data",val)
## Contains the information used to page through the list of results. The object is empty if there are no more pages left to page through. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)
## Contains the information used to page through the list of results. The object is empty if there are no more pages left to page through. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)
## The cursor used to get the next page of results. Use the cursor to set the request’s _after_ or _before_ query parameter to get the next or previous page of results.
## All optional parameters for TwitchAPI.get_top_games
## #/components/schemas/GetTopGamesOpt
classOptextendsTwitchData:
## The maximum number of items to return per page in the response. The minimum page size is 1 item per page and the maximum is 100 items per page. The default is 20.
@exportvarfirst:int:
set(val):
first=val
track_data(&"first",val)
## The cursor used to get the next page of results. The **Pagination** object in the response contains the cursor’s value. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)
@exportvarafter:String:
set(val):
after=val
track_data(&"after",val)
## The cursor used to get the previous page of results. The **Pagination** object in the response contains the cursor’s value. [Read More](https://dev.twitch.tv/docs/api/guide#pagination)