AutomationExecutionTrait.Attributes

interface AutomationExecutionTrait.Attributes


Attributes for the AutomationExecution Trait.

Summary

Public properties

Int?

The number of times the automation has been executed.

Boolean

Whether the automation is currently running or not.

Public companion functions

encode

open fun encode(payload: AutomationExecutionTrait.Attributes): ByteArray

parseFrom

open fun parseFrom(byteArray: ByteArray): AutomationExecutionTrait.Attributes

Public properties

executionCount

val executionCount: Int?

The number of times the automation has been executed. Only set when AutomationEntityTrait.Attributes.maxExecutionCount is present.

running

val running: Boolean

Whether the automation is currently running or not.