Class: WorkflowExecutionTimedOutEventAttributes
history.v1.WorkflowExecutionTimedOutEventAttributes
Represents a WorkflowExecutionTimedOutEventAttributes.
Implements
Constructors
constructor
• new WorkflowExecutionTimedOutEventAttributes(properties?): WorkflowExecutionTimedOutEventAttributes
Constructs a new WorkflowExecutionTimedOutEventAttributes.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowExecutionTimedOutEventAttributes | Properties to set |
Returns
WorkflowExecutionTimedOutEventAttributes
Properties
newExecutionRunId
• newExecutionRunId: string
If another run is started by cron or retry, this contains the new run id.
Implementation of
IWorkflowExecutionTimedOutEventAttributes.newExecutionRunId
retryState
• retryState: RetryState
WorkflowExecutionTimedOutEventAttributes retryState.
Implementation of
IWorkflowExecutionTimedOutEventAttributes.retryState
Methods
toJSON
▸ toJSON(): Object
Converts this WorkflowExecutionTimedOutEventAttributes to JSON.
Returns
Object
JSON object
create
▸ create(properties?): WorkflowExecutionTimedOutEventAttributes
Creates a new WorkflowExecutionTimedOutEventAttributes instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IWorkflowExecutionTimedOutEventAttributes | Properties to set |
Returns
WorkflowExecutionTimedOutEventAttributes
WorkflowExecutionTimedOutEventAttributes instance
decode
▸ decode(reader, length?): WorkflowExecutionTimedOutEventAttributes
Decodes a WorkflowExecutionTimedOutEventAttributes message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
WorkflowExecutionTimedOutEventAttributes
WorkflowExecutionTimedOutEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): WorkflowExecutionTimedOutEventAttributes
Decodes a WorkflowExecutionTimedOutEventAttributes message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
WorkflowExecutionTimedOutEventAttributes
WorkflowExecutionTimedOutEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing