Text

@JsonClass(generateAdapter = true)
data class Text(    val _id: String?,     val subtype: String?,     val channels: List<String>?,     val alignment: String?,     val block_properties: Text.BlockProperties?,     val additional_properties: Map<String, *>?,     val content: String?) : StoryElement

Text story element data class: A textual content element

Constructors

Link copied to clipboard
fun Text(    _id: String?,     subtype: String?,     channels: List<String>?,     alignment: String?,     block_properties: Text.BlockProperties?,     additional_properties: Map<String, *>?,     content: String?)

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class BlockProperties(val dropcap: String?)

Block properties for style formatting content elements

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 additional_properties: Map<String, *>?

A grab-bag object for non-validatable data.

Link copied to clipboard
val alignment: String?

Alignment: A property used to determine horizontal positioning of a content element relative to the elements that immediately follow it in the element sequence. could be 'left', 'right', or 'center'

Link copied to clipboard
val block_properties: Text.BlockProperties?

Block properties for style formatting content elements

Link copied to clipboard
val channels: List<String>?

Channel trait: An optional list of output types for which this element should be visible

Link copied to clipboard
val content: String?

The text of the paragraph.

Link copied to clipboard
val subtype: String?

A user-defined categorization method to supplement type. In Arc, this field is reserved for organization-defined purposes, such as selecting the PageBuilder template that should be used to render a document.

Link copied to clipboard
val type: String