WebsiteSection

sealed class WebsiteSection

sealed class: could be either Section or Reference based on type

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Reference(    val _id: String?,     val subtype: String?,     val channels: List<String>?,     val referent: Referent?,     val alignment: String?,     val additional_properties: Map<*, *>?) : WebsiteSection

Reference data class

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Section(    val _id: String?,     val _website: String?,     val version: String?,     val name: String?,     val description: String?,     val path: String?,     val parent_id: String?,     val parent: Parent?,     val primary: Boolean?,     val additional_properties: Map<String, Any?>?) : WebsiteSection

Section data class

Properties

Link copied to clipboard
val type: String

"section" or "reference"

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard