Chapter

data class Chapter(val id: Long, val title: String, val summary: Html, val preChapterNotes: Html, val body: Html, val postChapterNotes: Html)

Represents a chapter of a work.

Constructors

Link copied to clipboard
constructor(id: Long, title: String, summary: Html, preChapterNotes: Html, body: Html, postChapterNotes: Html)

Properties

Link copied to clipboard
val body: Html

The raw HTML of the chapter body.

Link copied to clipboard
val id: Long

The unique ID of the chapter.

Link copied to clipboard

The raw HTML of the post-chapter notes.

Link copied to clipboard

The raw HTML of the pre-chapter notes.

Link copied to clipboard

The raw HTML of the summary.

Link copied to clipboard

The title of the chapter.