mcutils
Toggle table of contents
main
jvm
Platform filter
jvm
Switch theme
Search in API
mcutils
mcutils
/
tech.aliorpse.mcutils.model.modrinth.search
/
ModrinthSearchResponse
Modrinth
Search
Response
@
JsonClass
(
generateAdapter
=
true
)
data
class
ModrinthSearchResponse
(
val
hits
:
List
<
ModrinthSearchResult
>
,
val
offset
:
Int
,
val
limit
:
Int
,
val
totalHits
:
Int
)
Members
Constructors
Modrinth
Search
Response
Link copied to clipboard
constructor
(
hits
:
List
<
ModrinthSearchResult
>
,
offset
:
Int
,
limit
:
Int
,
totalHits
:
Int
)
Properties
hits
Link copied to clipboard
val
hits
:
List
<
ModrinthSearchResult
>
limit
Link copied to clipboard
@
Json
(
name
=
"limit"
)
val
limit
:
Int
offset
Link copied to clipboard
@
Json
(
name
=
"offset"
)
val
offset
:
Int
total
Hits
Link copied to clipboard
@
Json
(
name
=
"total_hits"
)
val
totalHits
:
Int