Class: RequestCancelExternalWorkflowExecutionFailedEventAttributes
Represents a RequestCancelExternalWorkflowExecutionFailedEventAttributes.
Properties
cause
RequestCancelExternalWorkflowExecutionFailedEventAttributes cause.
control
control:
string
Deprecated.
initiatedEventId
initiatedEventId:
Long
id of the REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED event this failure
corresponds to
namespace
namespace:
string
Namespace of the workflow which failed to cancel.
SDKs and UI tools should use namespace field but server must use namespace_id only.
namespaceId
namespaceId:
string
RequestCancelExternalWorkflowExecutionFailedEventAttributes namespaceId.
workflowExecution?
optionalworkflowExecution?:$Properties|null
RequestCancelExternalWorkflowExecutionFailedEventAttributes workflowExecution.
workflowTaskCompletedEventId
workflowTaskCompletedEventId:
Long
The WORKFLOW_TASK_COMPLETED event which this command was reported with
Methods
toJSON()
toJSON():
object
Converts this RequestCancelExternalWorkflowExecutionFailedEventAttributes to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):RequestCancelExternalWorkflowExecutionFailedEventAttributes&$Properties
Creates a new RequestCancelExternalWorkflowExecutionFailedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
RequestCancelExternalWorkflowExecutionFailedEventAttributes & $Properties
RequestCancelExternalWorkflowExecutionFailedEventAttributes instance
Call Signature
staticcreate(properties?):RequestCancelExternalWorkflowExecutionFailedEventAttributes
Creates a new RequestCancelExternalWorkflowExecutionFailedEventAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
RequestCancelExternalWorkflowExecutionFailedEventAttributes
RequestCancelExternalWorkflowExecutionFailedEventAttributes instance
decode()
staticdecode(reader,length?):RequestCancelExternalWorkflowExecutionFailedEventAttributes&$Properties
Decodes a RequestCancelExternalWorkflowExecutionFailedEventAttributes 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
RequestCancelExternalWorkflowExecutionFailedEventAttributes & $Properties
RequestCancelExternalWorkflowExecutionFailedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):RequestCancelExternalWorkflowExecutionFailedEventAttributes&$Properties
Decodes a RequestCancelExternalWorkflowExecutionFailedEventAttributes message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
RequestCancelExternalWorkflowExecutionFailedEventAttributes & $Properties
RequestCancelExternalWorkflowExecutionFailedEventAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
staticencode(message,writer?):Writer
Encodes the specified RequestCancelExternalWorkflowExecutionFailedEventAttributes message. Does not implicitly temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.verify|verify messages.
Parameters
message
RequestCancelExternalWorkflowExecutionFailedEventAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified RequestCancelExternalWorkflowExecutionFailedEventAttributes message, length delimited. Does not implicitly temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.verify|verify messages.
Parameters
message
RequestCancelExternalWorkflowExecutionFailedEventAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):RequestCancelExternalWorkflowExecutionFailedEventAttributes
Creates a RequestCancelExternalWorkflowExecutionFailedEventAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
RequestCancelExternalWorkflowExecutionFailedEventAttributes
RequestCancelExternalWorkflowExecutionFailedEventAttributes
toObject()
statictoObject(message,options?):object
Creates a plain object from a RequestCancelExternalWorkflowExecutionFailedEventAttributes message. Also converts values to other types if specified.
Parameters
message
RequestCancelExternalWorkflowExecutionFailedEventAttributes
RequestCancelExternalWorkflowExecutionFailedEventAttributes
options?
IConversionOptions
Conversion options
Returns
object
Plain object