Coverage Summary for Class: Page (io.github.captnblubber.twitchkt.helix)
| Class |
Class, %
|
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| Page |
100%
(1/1)
|
100%
(1/1)
|
|
100%
(3/3)
|
100%
(12/12)
|
package io.github.captnblubber.twitchkt.helix
/**
* A single page of results from a paginated Twitch Helix API endpoint.
*
* @param data the items on this page.
* @param cursor the cursor to pass to the next call to retrieve the next page,
* or `null` if this is the last page.
*/
data class Page<T>(
val data: List<T>,
val cursor: String?,
)