Skip to main content

Class: WorkflowExecutionUnpausedEventAttributes

history.v1.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

create(properties?): WorkflowExecutionUnpausedEventAttributes & $Properties

Creates a new WorkflowExecutionUnpausedEventAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

WorkflowExecutionUnpausedEventAttributes & $Properties

WorkflowExecutionUnpausedEventAttributes instance

create(properties?): WorkflowExecutionUnpausedEventAttributes

Parameters

NameType
properties?$Properties

Returns

WorkflowExecutionUnpausedEventAttributes


decode

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

Decodes a WorkflowExecutionUnpausedEventAttributes message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage 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

decodeDelimited(reader): WorkflowExecutionUnpausedEventAttributes & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader 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

encode(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesWorkflowExecutionUnpausedEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesWorkflowExecutionUnpausedEventAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): WorkflowExecutionUnpausedEventAttributes

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

WorkflowExecutionUnpausedEventAttributes

WorkflowExecutionUnpausedEventAttributes


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageWorkflowExecutionUnpausedEventAttributesWorkflowExecutionUnpausedEventAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object