Info

public final class Info

Information about a novel.

Parameters

title

Title of the novel, should not be empty.

alternativeTitles

Alternative titles of a given novel. Useful for translated novels.

imageURL

Image URL of the novel, can be empty.

language

ISO 639-2/T language code of the novel, should not be empty.

description

Description of the novel, should not be empty.

status

Status of the novel, defaulted as Novel.Status.UNKNOWN

tags

Tags that the novel has.

genres

Genres the novel applies too.

authors

Authors of the novel.

artists

Artists of the novel.

chapters

Chapters of the novel.

chapterCount

Chapter count of the novel.

wordCount

Word count of the novel.

commentCount

Comment count of the novel.

viewCount

View count of the novel.

favoriteCount

Favorite count of the novel.

See also

Constructors

Link copied to clipboard
public Novel.Info Novel.Info(String title, Array<String> alternativeTitles, String link, String imageURL, String language, String description, Novel.Status status, Array<String> tags, Array<String> genres, Array<String> authors, Array<String> artists, Array<Novel.Chapter> chapters, Integer chapterCount, Integer wordCount, Integer commentCount, Integer viewCount, Integer favoriteCount)

Properties

Link copied to clipboard
Link copied to clipboard
private Array<String> artists
Link copied to clipboard
private Array<String> authors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
private Array<String> genres
Link copied to clipboard
private String imageURL
Link copied to clipboard
private String language
Link copied to clipboard
private String link
Link copied to clipboard
Link copied to clipboard
private Array<String> tags
Link copied to clipboard
private String title
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
public final Array<String> getArtists()
Link copied to clipboard
public final Array<String> getAuthors()
Link copied to clipboard
public final Integer getChapterCount()
Link copied to clipboard
Link copied to clipboard
public final Integer getCommentCount()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final Integer getFavoriteCount()
Link copied to clipboard
public final Array<String> getGenres()
Link copied to clipboard
public final String getImageURL()
Link copied to clipboard
public final String getLanguage()
Link copied to clipboard
public final String getLink()
Link copied to clipboard
public final Novel.Status getStatus()
Link copied to clipboard
public final Array<String> getTags()
Link copied to clipboard
public final String getTitle()
Link copied to clipboard
public final Integer getViewCount()
Link copied to clipboard
public final Integer getWordCount()
Link copied to clipboard
public final Unit setAlternativeTitles(Array<String> alternativeTitles)
Link copied to clipboard
public final Unit setArtists(Array<String> artists)
Link copied to clipboard
public final Unit setAuthors(Array<String> authors)
Link copied to clipboard
public final Unit setChapterCount(Integer chapterCount)
Link copied to clipboard
public final Unit setChapters(Array<Novel.Chapter> chapters)
Link copied to clipboard
public final Unit setCommentCount(Integer commentCount)
Link copied to clipboard
public final Unit setDescription(String description)
Link copied to clipboard
public final Unit setFavoriteCount(Integer favoriteCount)
Link copied to clipboard
public final Unit setGenres(Array<String> genres)
Link copied to clipboard
public final Unit setImageURL(String imageURL)
Link copied to clipboard
public final Unit setLanguage(String language)
Link copied to clipboard
public final Unit setLink(String link)
Link copied to clipboard
public final Unit setStatus(Novel.Status status)
Link copied to clipboard
public final Unit setTags(Array<String> tags)
Link copied to clipboard
public final Unit setTitle(String title)
Link copied to clipboard
public final Unit setViewCount(Integer viewCount)
Link copied to clipboard
public final Unit setWordCount(Integer wordCount)