SingleEntityTemplateData

class SingleEntityTemplateData


The semantic data required to build Single Entity Template layouts. The template allows for a header, text section with up to three text items, main image, and single action button.

Summary

Public constructors

SingleEntityTemplateData(
    headerBlock: HeaderBlock?,
    textBlock: TextBlock?,
    imageBlock: ImageBlock?,
    actionBlock: ActionBlock?
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

ActionBlock?

The entity single action button by ActionBlock.

HeaderBlock?

The header block of the entity by HeaderBlock.

ImageBlock?

The image block for the entity main image by ImageBlock.

TextBlock?

The text block for up to three types of texts for the entity.

Public constructors

SingleEntityTemplateData

Added in 1.0.0-alpha06
SingleEntityTemplateData(
    headerBlock: HeaderBlock? = null,
    textBlock: TextBlock? = null,
    imageBlock: ImageBlock? = null,
    actionBlock: ActionBlock? = null
)
Parameters
headerBlock: HeaderBlock? = null

The header block of the entity by HeaderBlock.

textBlock: TextBlock? = null

The text block for up to three types of texts for the entity.

imageBlock: ImageBlock? = null

The image block for the entity main image by ImageBlock.

actionBlock: ActionBlock? = null

The entity single action button by ActionBlock.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

actionBlock

Added in 1.0.0-alpha06
val actionBlockActionBlock?

The entity single action button by ActionBlock.

headerBlock

Added in 1.0.0-alpha06
val headerBlockHeaderBlock?

The header block of the entity by HeaderBlock.

imageBlock

Added in 1.0.0-alpha06
val imageBlockImageBlock?

The image block for the entity main image by ImageBlock.

textBlock

Added in 1.0.0-alpha06
val textBlockTextBlock?

The text block for up to three types of texts for the entity.