FanboxPostDetail

@Serializable
data class FanboxPostDetail(val id: FanboxPostId, val title: String, val body: FanboxPostDetail.Body, val coverImageUrl: String?, val commentCount: Int, val excerpt: String, val feeRequired: Int, val hasAdultContent: Boolean, val imageForShare: String, val isLiked: Boolean, var isBookmarked: Boolean, val isRestricted: Boolean, val likeCount: Int, val tags: List<String>, val updatedDatetime: Instant, val publishedDatetime: Instant, val nextPost: FanboxPostDetail.OtherPost?, val prevPost: FanboxPostDetail.OtherPost?, val user: FanboxUser?)

Constructors

Link copied to clipboard
constructor(id: FanboxPostId, title: String, body: FanboxPostDetail.Body, coverImageUrl: String?, commentCount: Int, excerpt: String, feeRequired: Int, hasAdultContent: Boolean, imageForShare: String, isLiked: Boolean, isBookmarked: Boolean, isRestricted: Boolean, likeCount: Int, tags: List<String>, updatedDatetime: Instant, publishedDatetime: Instant, nextPost: FanboxPostDetail.OtherPost?, prevPost: FanboxPostDetail.OtherPost?, user: FanboxUser?)

Types

Link copied to clipboard
@Serializable
sealed interface Body
Link copied to clipboard
@Serializable
data class FileItem(val id: FanboxPostItemId, val postId: FanboxPostId, val name: String, val extension: String, val size: Long, val url: String)
Link copied to clipboard
@Serializable
data class ImageItem(val id: FanboxPostItemId, val postId: FanboxPostId, val extension: String, val originalUrl: String, val thumbnailUrl: String, val aspectRatio: Float)
Link copied to clipboard
@Serializable
data class OtherPost(val id: FanboxPostId, val title: String, val publishedDatetime: Instant)
Link copied to clipboard
@Serializable
data class VideoItem(val id: FanboxPostItemId, val postId: FanboxPostId, val extension: String, val url: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val publishedDatetime: Instant
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val updatedDatetime: Instant
Link copied to clipboard