com.hiczp.picacomic.api.service.user.model.Notification.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of picacomic-api Show documentation
Show all versions of picacomic-api Show documentation
Call PicaComic API in Kotlin
The newest version!
package com.hiczp.picacomic.api.service.user.model
import com.google.gson.annotations.SerializedName
import com.hiczp.picacomic.api.service.Thumbnail
data class Notification(
@field:SerializedName("_id")
val notificationId: String,
val system: Boolean,
@field:SerializedName("_sender")
val sender: User?,
val title: String,
val cover: Thumbnail,
val content: String,
val redirectType: String?,
/**
* 对应具体类型的 ID, 例如 comicId, commentId, 由 redirectType 赋予含义
*/
@field:SerializedName("_redirectId")
val redirectId: String,
/**
* redirectType 为 app 和 web 时会有此字段
*/
val link: String?,
@field:SerializedName("created_at")
val createdAt: String
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy