mirror of
https://github.com/InsanusMokrassar/SauceNaoAPI.git
synced 2024-12-23 13:17:11 +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"
|
project.group = "com.github.insanusmokrassar"
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
@ -7,14 +7,6 @@ import kotlinx.serialization.json.Json
|
|||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Header(
|
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")
|
@SerialName("status")
|
||||||
val status: Int,
|
val status: Int,
|
||||||
@SerialName("results_requested")
|
@SerialName("results_requested")
|
||||||
@ -32,6 +24,14 @@ data class Header(
|
|||||||
val queryImage: String, // something like "uuid.jpg"
|
val queryImage: String, // something like "uuid.jpg"
|
||||||
@SerialName("results_returned")
|
@SerialName("results_returned")
|
||||||
val resultsCount: Int,
|
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")
|
@SerialName("account_type")
|
||||||
val accountType: String? = null,
|
val accountType: String? = null,
|
||||||
@SerialName("user_id")
|
@SerialName("user_id")
|
||||||
|
Loading…
Reference in New Issue
Block a user