mirror of
https://github.com/InsanusMokrassar/SauceNaoAPI.git
synced 2024-11-26 16:28:42 +00:00
add ResultItem
This commit is contained in:
parent
c6f07ce5ea
commit
b09ef2ec62
@ -0,0 +1,33 @@
|
|||||||
|
package com.github.insanusmokrassar.SauceNaoAPI.models
|
||||||
|
|
||||||
|
import kotlinx.serialization.Optional
|
||||||
|
import kotlinx.serialization.SerialName
|
||||||
|
import kotlinx.serialization.Serializable
|
||||||
|
|
||||||
|
@Serializable
|
||||||
|
data class ResultItem(
|
||||||
|
@SerialName("danbooru_id")
|
||||||
|
@Optional
|
||||||
|
val danbooruId: String? = null,
|
||||||
|
@SerialName("gelbooru_id")
|
||||||
|
@Optional
|
||||||
|
val gelbooruId: String? = null,
|
||||||
|
@SerialName("drawr_id")
|
||||||
|
@Optional
|
||||||
|
val drawrId: String? = null,
|
||||||
|
@Optional
|
||||||
|
val creator: String? = null,
|
||||||
|
@Optional
|
||||||
|
val material: String? = null,
|
||||||
|
@SerialName("member_name")
|
||||||
|
@Optional
|
||||||
|
val memberName: String? = null,
|
||||||
|
@SerialName("member_id")
|
||||||
|
@Optional
|
||||||
|
val memberId: String? = null,
|
||||||
|
@Optional
|
||||||
|
val characters: String? = null,
|
||||||
|
@SerialName("ext_urls")
|
||||||
|
@Optional
|
||||||
|
val extUrls: List<String> = emptyList()
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user