ApiListResponse

interface ApiListResponse<T>

Generic interface for API responses containing a list of items of type T along with optional paging information.

This interface is designed to encapsulate the structure of API responses that include a list of items and information about paging.

Parameters

T

The type of items contained in the response list.

Inheritors

Properties

Link copied to clipboard
abstract val items: List<T>

The list of items of type T included in the API response.

Link copied to clipboard
abstract val paging: Paging?

Optional paging information. See Paging.