mirror of
https://github.com/InsanusMokrassar/SauceNaoAPI.git
synced 2024-12-23 05:07:12 +00:00
Header have less required fields for now
This commit is contained in:
parent
4f27ac115c
commit
29aa4a41e6
@ -1,4 +1,4 @@
|
||||
project.version = "0.2.1"
|
||||
project.version = "0.2.2"
|
||||
project.group = "com.github.insanusmokrassar"
|
||||
|
||||
buildscript {
|
||||
|
@ -7,14 +7,6 @@ import kotlinx.serialization.json.Json
|
||||
|
||||
@Serializable
|
||||
data class Header(
|
||||
@SerialName("short_limit")
|
||||
val shortLimit: Int,
|
||||
@SerialName("long_limit")
|
||||
val longLimit: Int,
|
||||
@SerialName("short_remaining")
|
||||
val shortRemaining: Int,
|
||||
@SerialName("long_remaining")
|
||||
val longRemaining: Int,
|
||||
@SerialName("status")
|
||||
val status: Int,
|
||||
@SerialName("results_requested")
|
||||
@ -32,6 +24,14 @@ data class Header(
|
||||
val queryImage: String, // something like "uuid.jpg"
|
||||
@SerialName("results_returned")
|
||||
val resultsCount: Int,
|
||||
@SerialName("short_remaining")
|
||||
val shortRemaining: Int? = null,
|
||||
@SerialName("long_remaining")
|
||||
val longRemaining: Int? = null,
|
||||
@SerialName("short_limit")
|
||||
val shortLimit: Int? = null,
|
||||
@SerialName("long_limit")
|
||||
val longLimit: Int? = null,
|
||||
@SerialName("account_type")
|
||||
val accountType: String? = null,
|
||||
@SerialName("user_id")
|
||||
|
Loading…
Reference in New Issue
Block a user