emo / me.eater.emo.emo.dto.repository / Modpack

Modpack

open class Modpack

A definition of a modpack, excluding versions for serialisation

Constructors

<init>

Modpack(id: String, : String? = null, links: Links = Links(), name: String, description: String = "", authors: List<Author> = listOf())

A definition of a modpack, excluding versions for serialisation

Properties

authors

val authors: List<Author>

Authors of this modpack

description

val description: String

Description of this modpack

id

val id: String

Id of this modpack, should be author-handle/modpack-name

links

val links: Links

Links related to modpack

logo

val logo: String?

URL to logo of this modpack

name

val name: String

Display name of this modpack

Functions

withoutVersions

open fun withoutVersions(): Modpack

Inheritors

ModpackWithVersions

class ModpackWithVersions : Modpack

Modpack with versions, used in repository