Skip to main content

Class: CancelWorkflowExecutionCommandAttributes

command.v1.CancelWorkflowExecutionCommandAttributes

Represents a CancelWorkflowExecutionCommandAttributes.

Implements#

Constructors#

constructor#

new CancelWorkflowExecutionCommandAttributes(properties?)

Constructs a new CancelWorkflowExecutionCommandAttributes.

Parameters#

NameType
properties?ICancelWorkflowExecutionCommandAttributes

Properties#

details#

Optional details: null | IPayloads

CancelWorkflowExecutionCommandAttributes details.

Implementation of#

ICancelWorkflowExecutionCommandAttributes.details

Methods#

toJSON#

toJSON(): Object

Converts this CancelWorkflowExecutionCommandAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): CancelWorkflowExecutionCommandAttributes

Decodes a CancelWorkflowExecutionCommandAttributes message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

CancelWorkflowExecutionCommandAttributes

CancelWorkflowExecutionCommandAttributes


decodeDelimited#

Static decodeDelimited(reader): CancelWorkflowExecutionCommandAttributes

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

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

CancelWorkflowExecutionCommandAttributes

CancelWorkflowExecutionCommandAttributes


encode#

Static encode(message, writer?): Writer

Encodes the specified CancelWorkflowExecutionCommandAttributes message. Does not implicitly {@link temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.verify|verify} messages.

Parameters#

NameTypeDescription
messageICancelWorkflowExecutionCommandAttributesCancelWorkflowExecutionCommandAttributes message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified CancelWorkflowExecutionCommandAttributes message, length delimited. Does not implicitly {@link temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.verify|verify} messages.

Parameters#

NameTypeDescription
messageICancelWorkflowExecutionCommandAttributesCancelWorkflowExecutionCommandAttributes message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): CancelWorkflowExecutionCommandAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

CancelWorkflowExecutionCommandAttributes

CancelWorkflowExecutionCommandAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageCancelWorkflowExecutionCommandAttributesCancelWorkflowExecutionCommandAttributes
options?IConversionOptions-

Returns#

Object

Plain object