Edition

data class Edition(val id: UUID, val coverSize: IntSize, val title: String, val description: String?, val date: Date, val featuredUntil: Date?, val isFree: Boolean, val productTag: String, val productName: String, coverUrl: String, metadataVersion: Int, packageVersion: Int)

Data class that holds the display information for an edition, typically used decorate the UI.

Constructors

Link copied to clipboard
constructor(id: UUID, coverSize: IntSize, title: String, description: String?, date: Date, featuredUntil: Date?, isFree: Boolean, productTag: String, productName: String, coverUrl: String, metadataVersion: Int, packageVersion: Int)

Properties

Link copied to clipboard
val coverSize: IntSize

Original cover size in pixels.

Link copied to clipboard
val date: Date

The Edition's publication date.

Link copied to clipboard

The Edition's description, optional.

Link copied to clipboard

Indicates this Edition should be displayed in a featured list up to this point in time.

Link copied to clipboard
val id: UUID

Unique id of the Edition

Link copied to clipboard

Specifies if an edition can be read for free.

Link copied to clipboard

A tag that identifies the organization this edition comes from.

Link copied to clipboard

The product name this edition belongs to.

Link copied to clipboard

A tag that identifies the product this edition belongs to.

Link copied to clipboard

The Edition's title.