Skip to main content

Class: CompleteWorkflowExecutionCommandAttributes

command.v1.CompleteWorkflowExecutionCommandAttributes

Represents a CompleteWorkflowExecutionCommandAttributes.

Properties​

result​

• Optional result: null | $Properties

CompleteWorkflowExecutionCommandAttributes result.

Methods​

toJSON​

▸ toJSON(): Object

Converts this CompleteWorkflowExecutionCommandAttributes to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): CompleteWorkflowExecutionCommandAttributes & $Properties

Creates a new CompleteWorkflowExecutionCommandAttributes instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

CompleteWorkflowExecutionCommandAttributes & $Properties

CompleteWorkflowExecutionCommandAttributes instance

▸ create(properties?): CompleteWorkflowExecutionCommandAttributes

Parameters​

NameType
properties?$Properties

Returns​

CompleteWorkflowExecutionCommandAttributes


decode​

▸ decode(reader, length?): CompleteWorkflowExecutionCommandAttributes & $Properties

Decodes a CompleteWorkflowExecutionCommandAttributes message from the specified reader or buffer.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns​

CompleteWorkflowExecutionCommandAttributes & $Properties

CompleteWorkflowExecutionCommandAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): CompleteWorkflowExecutionCommandAttributes & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

CompleteWorkflowExecutionCommandAttributes & $Properties

CompleteWorkflowExecutionCommandAttributes

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 CompleteWorkflowExecutionCommandAttributes message. Does not implicitly temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.verify|verify messages.

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): CompleteWorkflowExecutionCommandAttributes

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

CompleteWorkflowExecutionCommandAttributes

CompleteWorkflowExecutionCommandAttributes


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageCompleteWorkflowExecutionCommandAttributesCompleteWorkflowExecutionCommandAttributes
options?IConversionOptionsConversion options

Returns​

Object

Plain object