SauceNaoAPI/src/main/kotlin/com/github/insanusmokrassar/SauceNaoAPI/models/ResultData.kt

38 lines
1.4 KiB
Kotlin
Raw Normal View History

2019-02-20 05:41:00 +00:00
package com.github.insanusmokrassar.SauceNaoAPI.models
2019-03-21 06:24:26 +00:00
import com.github.insanusmokrassar.SauceNaoAPI.utils.CommonMultivariantStringSerializer
2019-04-22 01:55:01 +00:00
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
2019-02-20 05:41:00 +00:00
@Serializable
data class ResultData(
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
@SerialName("danbooru_id")
val danbooruId: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
@SerialName("gelbooru_id")
val gelbooruId: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
@SerialName("drawr_id")
val drawrId: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
@SerialName("pixiv_id")
val pixivId: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
val title: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
val creator: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
val material: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
@SerialName("member_name")
val memberName: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
@SerialName("member_id")
val memberId: String? = null,
2019-03-21 06:24:26 +00:00
@Serializable(CommonMultivariantStringSerializer::class)
2019-02-20 05:41:00 +00:00
val characters: String? = null,
@SerialName("ext_urls")
val extUrls: List<String> = emptyList()
2019-03-21 06:24:26 +00:00
)