Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class Bookmark(val userReference: UserReference, val tags: List<String>, val collections: List<CollectionReference>, val date: LocalDate, val notes: Html, val bookmarkType: BookmarkType)
Link copied to clipboard
interface BookmarksBlurb
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.

Link copied to clipboard
data class CollectionBlurb(val id: String, val name: String, val dateCreated: LocalDate, val isOpen: Boolean, val isModerated: Boolean, val isRevealed: Boolean, val isAnonymous: Boolean, val challenge: ChallengeType, val summary: Html, val maintainers: List<UserReference>)
Link copied to clipboard
data class CollectionInfo(val id: String, val name: String, val dateCreated: LocalDate, val isOpen: Boolean, val isModerated: Boolean, val isUnrevealed: Boolean, val isAnonymous: Boolean, val challenge: ChallengeType, val summary: Html, val maintainers: List<UserReference>, val subcollectionCount: Int, val fandomCount: Int, val workCount: Int, val bookmarkedItemCount: Int)
Link copied to clipboard
data class CollectionReference(val id: String, val name: String)
Link copied to clipboard
data class Comment(val id: Long, val author: UserReference, val chapter: Int, val postedDateTime: LocalDateTime, val body: Html, val commentDepth: Int, val hasHiddenChildren: Boolean = false, val numHiddenChildren: Int = 0)
Link copied to clipboard
class Csrf(val value: String)

Represents a CSRF token.

Link copied to clipboard
value class Css(val data: String)

Represents a block of CSS code.

Link copied to clipboard
data class ExternalWorkBlurb(val id: Long, val title: String, val authors: List<UserReference>, val lastUpdatedDate: LocalDate, val rating: Rating, val categories: List<Category>, val fandoms: List<String>, val relationships: List<String>, val characters: List<String>, val freeforms: List<String>, val summary: Html, val bookmarkCount: Int)
Link copied to clipboard
data class ExternalWorkBookmarksBlurb(val externalWorkBlurb: ExternalWorkBlurb, val bookmarks: List<Bookmark>) : BookmarksBlurb
Link copied to clipboard
value class Html(val data: String)

Represents a block of HTML code.

Link copied to clipboard
Link copied to clipboard
data class MultiChapterWork(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 chapters: List<Chapter>) : Work

Note that MultiChapterWorks may be incomplete.

Link copied to clipboard
enum Rating : Enum<Rating>
Link copied to clipboard
data class SeriesBlurb(val id: Long, val title: String, val authors: List<UserReference>, val lastUpdatedDate: LocalDate, val ratings: List<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 wordCount: Int, val workCount: Int, val bookmarkCount: Int)
Link copied to clipboard
data class SeriesBookmarksBlurb(val seriesBlurb: SeriesBlurb, val bookmarks: List<Bookmark>) : BookmarksBlurb
Link copied to clipboard
data class SeriesInfo(val id: Long, val creators: List<UserReference>, val beginDate: LocalDate, val lastUpdatedDate: LocalDate, val description: Html, val notes: Html, val wordCount: Int, val worksCount: Int, val bookmarksCount: Int, val completionStatus: Boolean)

Represents the detailed information of a series. Should be paired with WorkBlurbs when converted from HTML.

Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
class Tag(val tag: String)
Link copied to clipboard
data class UserReference(val username: String, val pseudonym: String?, val isRegisteredUser: Boolean)

Represents a reference to a user in AO3.

Link copied to clipboard
Link copied to clipboard
interface Work
Link copied to clipboard
data class WorkBlurb(val id: Long, val title: String, val authors: List<UserReference>, val giftees: List<UserReference>, 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)
Link copied to clipboard
data class WorkBookmarksBlurb(val workBlurb: WorkBlurb, val bookmarks: List<Bookmark>) : BookmarksBlurb
Link copied to clipboard