# CLASS GOT AUTOGENERATED DON'T CHANGE MANUALLY. CHANGES CAN BE OVERWRITTEN EASILY.
class_nameTwitchGetPredictions
##
## #/components/schemas/GetPredictionsResponse
classResponseextendsTwitchData:
## The broadcaster’s list of Channel Points Predictions. The list is sorted in descending ordered by when the prediction began (the most recent prediction is first). The list is empty if the broadcaster hasn’t created predictions.
@exportvardata:Array[TwitchPrediction]:
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)
## All optional parameters for TwitchAPI.get_predictions
## #/components/schemas/GetPredictionsOpt
classOptextendsTwitchData:
## The ID of the prediction to get. To specify more than one ID, include this parameter for each prediction you want to get. For example, `id=1234&id=5678`. You may specify a maximum of 25 IDs. The endpoint ignores duplicate IDs and those not owned by the broadcaster.
@exportvarid:Array[String]:
set(val):
id=val
track_data(&"id",val)
## 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 25 items per page. The default is 20.
@exportvarfirst:String:
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)