Section

@JsonClass(generateAdapter = true)
data class Section(    val type: String?,     val _id: String?,     val _website: String?,     val version: String?,     val name: String?,     val description: String?,     val path: String?,     val parent_id: String?,     val primary: Boolean?)

A primary section object or reference to one. In the Arc ecosystem, a reference here is denormalized into a site from the arc-site-service.

Constructors

Link copied to clipboard
fun Section(    type: String?,     _id: String?,     _website: String?,     version: String?,     name: String?,     description: String?,     path: String?,     parent_id: String?,     primary: Boolean?)

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 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_id: String?

The id of this section's parent site, 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?

will be type 'section'

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.