ModrinthSearchResponse

@JsonClass(generateAdapter = true)
data class ModrinthSearchResponse(val hits: List<ModrinthSearchResult>, val offset: Int, val limit: Int, val totalHits: Int)

Constructors

Link copied to clipboard
constructor(hits: List<ModrinthSearchResult>, offset: Int, limit: Int, totalHits: Int)

Properties

Link copied to clipboard
Link copied to clipboard
@Json(name = "limit")
val limit: Int
Link copied to clipboard
@Json(name = "offset")
val offset: Int
Link copied to clipboard
@Json(name = "total_hits")
val totalHits: Int