Class: WorkflowExecutionPausedEventAttributes
history.v1.WorkflowExecutionPausedEventAttributes
Attributes for an event marking that a workflow execution was paused.
Implements
Constructors
constructor
• new WorkflowExecutionPausedEventAttributes(properties?): WorkflowExecutionPausedEventAttributes
Constructs a new WorkflowExecutionPausedEventAttributes.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowExecutionPausedEventAttributes | Properties to set |
Returns
WorkflowExecutionPausedEventAttributes
Properties
identity
• identity: string
The identity of the client who paused the workflow execution.
Implementation of
IWorkflowExecutionPausedEventAttributes.identity
reason
• reason: string
The reason for pausing the workflow execution.
Implementation of
IWorkflowExecutionPausedEventAttributes.reason
requestId
• requestId: string
The request ID of the request that paused the workflow execution.
Implementation of
IWorkflowExecutionPausedEventAttributes.requestId
Methods
toJSON
▸ toJSON(): Object
Converts this WorkflowExecutionPausedEventAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?): WorkflowExecutionPausedEventAttributes
Creates a new WorkflowExecutionPausedEventAttributes instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowExecutionPausedEventAttributes | Properties to set |
Returns
WorkflowExecutionPausedEventAttributes
WorkflowExecutionPausedEventAttributes instance
decode
▸ decode(reader, length?): WorkflowExecutionPausedEventAttributes
Decodes a WorkflowExecutionPausedEventAttributes message from the specified reader or buffer.