core / com.vmadalin.core.network.responses / DataResponse

DataResponse

data class DataResponse<T>

Marvel API data network response format.

Parameters

offset - The requested offset (number of skipped results) of the call.

limit - The requested result limit.

total - The total number of resources available given the current filter set.

count - The total number of results returned by this call.

results - The list of T returned by the call.

Constructors

<init>

Marvel API data network response format.

DataResponse(offset: Int, limit: Int, total: Int, count: Int, results: List<T>)

Properties

count

The total number of results returned by this call.

val count: Int

limit

The requested result limit.

val limit: Int

offset

The requested offset (number of skipped results) of the call.

val offset: Int

results

The list of T returned by the call.

val results: List<T>

total

The total number of resources available given the current filter set.

val total: Int