mirror of
https://github.com/InsanusMokrassar/SauceNaoAPI.git
synced 2024-12-22 20:57:12 +00:00
account_type now is nullable and optional
This commit is contained in:
parent
2922fa95f2
commit
cda17fd3cf
@ -1,4 +1,4 @@
|
||||
project.version = "0.2.0"
|
||||
project.version = "0.2.1"
|
||||
project.group = "com.github.insanusmokrassar"
|
||||
|
||||
buildscript {
|
||||
|
@ -7,8 +7,6 @@ import kotlinx.serialization.json.Json
|
||||
|
||||
@Serializable
|
||||
data class Header(
|
||||
@SerialName("account_type")
|
||||
val accountType: String,
|
||||
@SerialName("short_limit")
|
||||
val shortLimit: Int,
|
||||
@SerialName("long_limit")
|
||||
@ -34,6 +32,8 @@ data class Header(
|
||||
val queryImage: String, // something like "uuid.jpg"
|
||||
@SerialName("results_returned")
|
||||
val resultsCount: Int,
|
||||
@SerialName("account_type")
|
||||
val accountType: String? = null,
|
||||
@SerialName("user_id")
|
||||
val userId: Int? = null
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user