LikeStatusResponse

@Serializable
data class LikeStatusResponse(val success: Boolean, val likeCount: Long? = null, val isLiked: Boolean? = null, val daysUntilCanLike: Int? = null, val requestId: String? = null)

用户点赞状态响应。

Constructors

Link copied to clipboard
constructor(success: Boolean, likeCount: Long? = null, isLiked: Boolean? = null, daysUntilCanLike: Int? = null, requestId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "days_until_can_like")
val daysUntilCanLike: Int?
Link copied to clipboard
@SerialName(value = "is_liked")
@Serializable(with = BooleanAsIntSerializer::class)
val isLiked: Boolean?
Link copied to clipboard
@SerialName(value = "like_count")
val likeCount: Long?
Link copied to clipboard
@SerialName(value = "requestId")
val requestId: String?
Link copied to clipboard
@SerialName(value = "success")
val success: Boolean