RepoStyle

@Serializable()
public final class RepoStyle

17 / 10 / 2020

Represents a style listed in styles within the repository index

Parameters

id

Primary key, should be completely unique

name

Name of style sheet, this is shown to users

fileName

Filename of the css file, used internally by shosetsu

description

Description of the style

changeLog

Description of recent changes

authors

Authors who created this

supported

List of explicitly supported extensions

hasExample

States if this has an example HTML to show the user

hasJavaScript

Does this style have custom javascript that can be loaded

Constructors

Link copied to clipboard
public RepoStyle RepoStyle(Integer id, String name, String fileName, Version version, String description, String changeLog, List<Integer> authors, List<Integer> supported, Boolean hasExample, Boolean hasJavaScript)

Properties

Link copied to clipboard
@SerialName(value = "authors")
private final List<Integer> authors
Link copied to clipboard
@SerialName(value = "changes")
private final String changeLog
Link copied to clipboard
@SerialName(value = "desc")
private final String description
Link copied to clipboard
@SerialName(value = "fileName")
private final String fileName
Link copied to clipboard
@SerialName(value = "example")
private final Boolean hasExample
Link copied to clipboard
@SerialName(value = "js")
private final Boolean hasJavaScript
Link copied to clipboard
@SerialName(value = "id")
private final Integer id
Link copied to clipboard
@SerialName(value = "name")
private final String name
Link copied to clipboard
@SerialName(value = "supported")
private final List<Integer> supported
Link copied to clipboard
@SerialName(value = "ver")
private final Version version

Functions

Link copied to clipboard
public final List<Integer> getAuthors()
Link copied to clipboard
public final String getChangeLog()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final String getFileName()
Link copied to clipboard
public final Boolean getHasExample()
Link copied to clipboard
public final Boolean getHasJavaScript()
Link copied to clipboard
public final Integer getId()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final List<Integer> getSupported()
Link copied to clipboard
public final Version getVersion()