package com.louisfn.somovie.data.network.response import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class PaginatedResultsResponse<T>( @Json(name = "total_results") val totalResults: Int, @Json(name = "total_pages") val totalPages: Int, @Json(name = "page") val page: Int, @Json(name = "results") val results: List<T>, )