Update

class Update : ActionBehavior


Trait attribute update used in automation action.

Summary

Public constructors

Update(trait: TraitFactory<Trait>, updatedAttributes: Map<FieldAny?>)

Create an Update instance.

Public properties

TraitFactory<Trait>

The trait to update.

String
Map<FieldAny?>

Key-value pairs representing the attributes to update, where the key is the attribute field ID, and the value is the new attribute value.

Public constructors

Update

Update(
    trait: TraitFactory<Trait>,
    updatedAttributes: Map<FieldAny?> = emptyMap()
)

Create an Update instance.

Public properties

trait

val traitTraitFactory<Trait>

The trait to update.

traitId

val traitIdString

updatedAttributes

val updatedAttributesMap<FieldAny?>

Key-value pairs representing the attributes to update, where the key is the attribute field ID, and the value is the new attribute value.