SingleChapterWork

data class SingleChapterWork(val id: Long, val title: String, val authors: List<UserReference>, val giftees: List<UserReference>, val publishedDate: LocalDate, val lastUpdatedDate: LocalDate, val rating: Rating, val warnings: List<Warning>, val categories: List<Category>, val fandoms: List<String>, val relationships: List<String>, val characters: List<String>, val freeforms: List<String>, val summary: Html, val language: Language, val wordCount: Int, val chapterCount: Int, val maxChapterCount: Int, val commentCount: Int, val kudosCount: Int, val bookmarkCount: Int, val hitCount: Int, val preWorkNotes: Html, val postWorkNotes: Html, val workskin: Css, val body: Html) : Work

Constructors

Link copied to clipboard
constructor(id: Long, title: String, authors: List<UserReference>, giftees: List<UserReference>, publishedDate: LocalDate, lastUpdatedDate: LocalDate, rating: Rating, warnings: List<Warning>, categories: List<Category>, fandoms: List<String>, relationships: List<String>, characters: List<String>, freeforms: List<String>, summary: Html, language: Language, wordCount: Int, chapterCount: Int, maxChapterCount: Int, commentCount: Int, kudosCount: Int, bookmarkCount: Int, hitCount: Int, preWorkNotes: Html, postWorkNotes: Html, workskin: Css, body: Html)

Properties

Link copied to clipboard
open override val authors: List<UserReference>

The list of authors of the work.

Link copied to clipboard
val body: Html

The raw HTML of the body of the work.

Link copied to clipboard
open override val bookmarkCount: Int

The number of bookmarks that this work has received.

Link copied to clipboard
open override val categories: List<Category>

The categories of the relationships featured in this work.

Link copied to clipboard
open override val chapterCount: Int

The current number of chapters for the work.

Link copied to clipboard
open override val characters: List<String>

The character tags associated with this work.

Link copied to clipboard
open override val commentCount: Int

The number of comments left on the work.

Link copied to clipboard
open override val fandoms: List<String>

The fandom tags associated with this work.

Link copied to clipboard
open override val freeforms: List<String>

The freeform tags associated with the work.

Link copied to clipboard
open override val giftees: List<UserReference>

The list of giftees for the work.

Link copied to clipboard
open override val hitCount: Int

The number of hits that this work has received.

Link copied to clipboard
open override val id: Long

The unique ID of the entire work.

Link copied to clipboard
open override val isComplete: Boolean

Indicates whether the work is complete. A completed work has the same chapterCount and maxChapterCount.

Link copied to clipboard
open override val kudosCount: Int

The number of kudos that this work has received.

Link copied to clipboard
open override val language: Language

The language in which the work was written in.

Link copied to clipboard
open override val lastUpdatedDate: LocalDate

The date of the most recent update to this work.

Link copied to clipboard
open override val maxChapterCount: Int

The projected number of chapters for the work. If the number is unknown (represented as a "?" on AO3), then maxChapterCount is 0.

Link copied to clipboard
open override val postWorkNotes: Html

The raw HTML of the post-work notes.

Link copied to clipboard
open override val preWorkNotes: Html

The raw HTML of the pre-work notes.

Link copied to clipboard
open override val publishedDate: LocalDate

The date of publication of this work.

Link copied to clipboard
open override val rating: Rating

The content rating of this work (e.g. General).

Link copied to clipboard
open override val relationships: List<String>

The relationship tags associated with this work.

Link copied to clipboard
open override val summary: Html

The raw HTML of the summary.

Link copied to clipboard
open override val title: String

The title of the work.

Link copied to clipboard
open override val warnings: List<Warning>

The content warnings for the work (e.g. Graphic Depictions of Violence).

Link copied to clipboard
open override val wordCount: Int

The total number of words in the entire work.

Link copied to clipboard
open override val workskin: Css

The raw HTML of the workskin.