Skip to main content

Class: WorkflowExecutionOptionsUpdatedEventAttributes

Represents a WorkflowExecutionOptionsUpdatedEventAttributes.

Properties​

attachedCompletionCallbacks​

attachedCompletionCallbacks: $Properties[]

Completion callbacks attached to the running workflow execution.


attachedRequestId​

attachedRequestId: string

Request ID attached to the running workflow execution so that subsequent requests with same request ID will be deduped.


identity​

identity: string

Optional. The identity of the client who initiated the request that created this event.


priority?​

optional priority?: $Properties | null

Priority override upserted in this event. Represents the full priority; not just partial fields. Ignored if nil.


timeSkippingConfig?​

optional timeSkippingConfig?: $Properties | null

TimeSkippingConfig override upserted in this event. Represents the full config.


timeSkippingConfigUpdated​

timeSkippingConfigUpdated: boolean

Indicates the time skipping config was updated by the recent call to update workflow execution options.


unsetVersioningOverride​

unsetVersioningOverride: boolean

Versioning override removed in this event.


versioningOverride?​

optional versioningOverride?: $Properties | null

Versioning override upserted in this event. Ignored if nil or if unset_versioning_override is true.


workflowUpdateOptions​

workflowUpdateOptions: $Properties[]

Updates to workflow updates options.

Methods​

toJSON()​

toJSON(): object

Converts this WorkflowExecutionOptionsUpdatedEventAttributes to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): WorkflowExecutionOptionsUpdatedEventAttributes & $Shape

Creates a new WorkflowExecutionOptionsUpdatedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Shape

Properties to set

Returns​

WorkflowExecutionOptionsUpdatedEventAttributes & $Shape

WorkflowExecutionOptionsUpdatedEventAttributes instance

Call Signature​

static create(properties?): WorkflowExecutionOptionsUpdatedEventAttributes

Creates a new WorkflowExecutionOptionsUpdatedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

WorkflowExecutionOptionsUpdatedEventAttributes

WorkflowExecutionOptionsUpdatedEventAttributes instance


decode()​

static decode(reader, length?): WorkflowExecutionOptionsUpdatedEventAttributes & $Shape

Decodes a WorkflowExecutionOptionsUpdatedEventAttributes message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

WorkflowExecutionOptionsUpdatedEventAttributes & $Shape

WorkflowExecutionOptionsUpdatedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): WorkflowExecutionOptionsUpdatedEventAttributes & $Shape

Decodes a WorkflowExecutionOptionsUpdatedEventAttributes message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

WorkflowExecutionOptionsUpdatedEventAttributes & $Shape

WorkflowExecutionOptionsUpdatedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified WorkflowExecutionOptionsUpdatedEventAttributes message. Does not implicitly temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.verify|verify messages.

Parameters​

message​

$Properties

WorkflowExecutionOptionsUpdatedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified WorkflowExecutionOptionsUpdatedEventAttributes message, length delimited. Does not implicitly temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes.verify|verify messages.

Parameters​

message​

$Properties

WorkflowExecutionOptionsUpdatedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): WorkflowExecutionOptionsUpdatedEventAttributes

Creates a WorkflowExecutionOptionsUpdatedEventAttributes message from a plain object. Also converts values to their respective internal types.

Parameters​

object​

Plain object

Returns​

WorkflowExecutionOptionsUpdatedEventAttributes

WorkflowExecutionOptionsUpdatedEventAttributes


toObject()​

static toObject(message, options?): object

Creates a plain object from a WorkflowExecutionOptionsUpdatedEventAttributes message. Also converts values to other types if specified.

Parameters​

message​

WorkflowExecutionOptionsUpdatedEventAttributes

WorkflowExecutionOptionsUpdatedEventAttributes

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object