Skip to main content

Class: WorkflowExecutionUnpausedEventAttributes

Attributes for an event marking that a workflow execution was unpaused.

Properties​

identity​

identity: string

The identity of the client who unpaused the workflow execution.


reason​

reason: string

The reason for unpausing the workflow execution.


requestId​

requestId: string

The request ID of the request that unpaused the workflow execution.

Methods​

toJSON()​

toJSON(): object

Converts this WorkflowExecutionUnpausedEventAttributes to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): WorkflowExecutionUnpausedEventAttributes & $Properties

Creates a new WorkflowExecutionUnpausedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

WorkflowExecutionUnpausedEventAttributes & $Properties

WorkflowExecutionUnpausedEventAttributes instance

Call Signature​

static create(properties?): WorkflowExecutionUnpausedEventAttributes

Creates a new WorkflowExecutionUnpausedEventAttributes instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

WorkflowExecutionUnpausedEventAttributes

WorkflowExecutionUnpausedEventAttributes instance


decode()​

static decode(reader, length?): WorkflowExecutionUnpausedEventAttributes & $Properties

Decodes a WorkflowExecutionUnpausedEventAttributes 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​

WorkflowExecutionUnpausedEventAttributes & $Properties

WorkflowExecutionUnpausedEventAttributes

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): WorkflowExecutionUnpausedEventAttributes & $Properties

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

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

WorkflowExecutionUnpausedEventAttributes & $Properties

WorkflowExecutionUnpausedEventAttributes

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 WorkflowExecutionUnpausedEventAttributes message. Does not implicitly temporal.api.history.v1.WorkflowExecutionUnpausedEventAttributes.verify|verify messages.

Parameters​

message​

$Properties

WorkflowExecutionUnpausedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

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

Parameters​

message​

$Properties

WorkflowExecutionUnpausedEventAttributes message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): WorkflowExecutionUnpausedEventAttributes

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

Parameters​

object​

Plain object

Returns​

WorkflowExecutionUnpausedEventAttributes

WorkflowExecutionUnpausedEventAttributes


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

WorkflowExecutionUnpausedEventAttributes

WorkflowExecutionUnpausedEventAttributes

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object