All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xyz.cssxsh.pixiv.web.WebNovel.kt Maven / Gradle / Ivy

package xyz.cssxsh.pixiv.web

import kotlinx.serialization.*
import kotlinx.serialization.json.*
import xyz.cssxsh.pixiv.*
import java.time.*

@Serializable
public data class WebNovel(
    @SerialName("bookmarkCount")
    val bookmarkCount: Int,
    @SerialName("bookmarkData")
    val bookmarkData: JsonElement,// TODO
    @SerialName("createDate")
    @Contextual
    val createAt: OffsetDateTime,
    @SerialName("description")
    val description: String,
    @SerialName("id")
    val id: Long,
    @SerialName("isBookmarkable")
    val isBookmarkAble: Boolean,
    @SerialName("isMasked")
    val isMasked: Boolean,
    @SerialName("isOriginal")
    val isOriginal: Boolean,
    @SerialName("isUnlisted")
    val isUnlisted: Boolean,
    @SerialName("marker")
    val marker: JsonElement,// TODO
    @SerialName("profileImageUrl")
    val profileImageUrl: String,
    @SerialName("restrict")
    @Serializable(with = PublicityType.IndexSerializer::class)
    val publicity: PublicityType,
    @SerialName("tags")
    val tags: List,
    @SerialName("textCount")
    val textCount: Long,
    @SerialName("title")
    val title: String,
    @SerialName("titleCaptionTranslation")
    val caption: WebTitleCaption,
    @SerialName("updateDate")
    @Contextual
    val updateAt: OffsetDateTime,
    @SerialName("url")
    val url: String,
    @SerialName("userId")
    val uid: Long,
    @SerialName("userName")
    val name: String,
    @SerialName("xRestrict")
    val age: AgeLimit,
) : WebWorkInfo




© 2015 - 2024 Weber Informatics LLC | Privacy Policy