Universe

@Serializable
data class Universe(val description: String? = null, val designation: String? = null, val grandComicsDatabaseId: Long? = null, val id: Long, val image: String? = null, val modified: Instant, val name: String, val publisher: GenericItem, val resourceUrl: String)

A data model representing a universe.

Constructors

Link copied to clipboard
constructor(description: String? = null, designation: String? = null, grandComicsDatabaseId: Long? = null, id: Long, image: String? = null, modified: Instant, name: String, publisher: GenericItem, resourceUrl: String)

Properties

Link copied to clipboard
@Serializable(with = NullableStringSerializer::class)
val description: String? = null

The description of the universe.

Link copied to clipboard
@Serializable(with = NullableStringSerializer::class)
val designation: String? = null

The designation fo the universe.

Link copied to clipboard

The Grand Comics Database ID of the universe.

Link copied to clipboard
val id: Long

The unique identifier of the resource.

Link copied to clipboard
@Serializable(with = NullableStringSerializer::class)
val image: String? = null

The image URL of the universe.

Link copied to clipboard
val modified: Instant

The date and time when the resource was last modified.

Link copied to clipboard

The name of the resource.

Link copied to clipboard

The publisher of the universe.

Link copied to clipboard

The URL of the universe.