ChapterContent

data class ChapterContent(val id: String, val title: String, val content: JsonObject, val prevChapter: String? = null, val nextChapter: String? = null)

章节内容接口

Since

Api 4

Constructors

Link copied to clipboard
constructor(id: String, title: String, content: JsonObject, prevChapter: String? = null, nextChapter: String? = null)

Properties

Link copied to clipboard
val content: JsonObject

章节内容的JSON对象,内含组件列表

Link copied to clipboard
val id: String

章节id

Link copied to clipboard

下一章的章节id,如果没有下一章则为null

Link copied to clipboard

上一章的章节id,如果没有上一章则为null

Link copied to clipboard

章节标题

Functions

Link copied to clipboard

判断是否存在下一章

Link copied to clipboard

判断是否存在上一章