Categories

data class Categories(val id: String, val title: String, val list: List<Shelf.Category>, val subtitle: String? = null, val type: Shelf.Lists.Type = Type.Linear, val more: Feed<Shelf>? = null, val extras: Map<String, String> = mapOf()) : Shelf.Lists<Shelf.Category>

Represents a list of Category.

Constructors

Link copied to clipboard
constructor(id: String, title: String, list: List<Shelf.Category>, subtitle: String? = null, type: Shelf.Lists.Type = Type.Linear, more: Feed<Shelf>? = null, extras: Map<String, String> = mapOf())

Properties

Link copied to clipboard
open override val extras: Map<String, String>
Link copied to clipboard
open override val id: String

the unique identifier of the list.

Link copied to clipboard
open override val list: List<Shelf.Category>

the list of categories.

Link copied to clipboard
open override val more: Feed<Shelf>? = null

the more data of the list.

Link copied to clipboard
open override val subtitle: String? = null

the subtitle of the list.

Link copied to clipboard
open override val title: String

the title of the list.

Link copied to clipboard
open override val type: Shelf.Lists.Type

the type of the list.