Section

@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

Constructors

Link copied to clipboard
fun Section(    _id: String?,     _website: String?,     version: String?,     name: String?,     description: String?,     path: String?,     parent_id: String?,     parent: Parent?,     primary: Boolean?,     additional_properties: Map<String, Any?>?)

Properties

Link copied to clipboard
val _id: String?

Globally Unique ID trait: A globally unique identifier of the content in the ANS repository.

Link copied to clipboard
val _website: String?

The _id of the website on which this document exists. This field is only available in Content API. If different from canonical_website, then this document was originally sourced from the canonical_website. Generated at fetch time by Content API.

Link copied to clipboard
val additional_properties: Map<String, Any?>?

A grab-bag object for non-validatable data.

Link copied to clipboard
val description: String?

A short description or tagline about this site

Link copied to clipboard
val name: String?

The name of this site

Link copied to clipboard
val parent: Parent?

The id of this section's parent section in various commonly-used hierarchies, where available

Link copied to clipboard
val parent_id: String?

The id of this section's parent section in the default hierarchy, if any.

Link copied to clipboard
val path: String?

The url path to this site

Link copied to clipboard
val primary: Boolean?

Is this the primary site?

Link copied to clipboard
val type: String

"section" or "reference"

Link copied to clipboard
val version: String?

Describes the ANS version of this object: The version of ANS that this object was serialized as, in major.minor.patch format. For top-level content objects, this is a required trait.