Skip to main content

Class: RequestCancelNexusOperation

coresdk.workflow_commands.RequestCancelNexusOperation

Request cancellation of a nexus operation started via ScheduleNexusOperation

Properties

seq

seq: number

Lang's incremental sequence number as passed to ScheduleNexusOperation

Methods

toJSON

toJSON(): Object

Converts this RequestCancelNexusOperation to JSON.

Returns

Object

JSON object


create

create(properties?): RequestCancelNexusOperation & $Properties

Creates a new RequestCancelNexusOperation instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

RequestCancelNexusOperation & $Properties

RequestCancelNexusOperation instance

create(properties?): RequestCancelNexusOperation

Parameters

NameType
properties?$Properties

Returns

RequestCancelNexusOperation


decode

decode(reader, length?): RequestCancelNexusOperation & $Properties

Decodes a RequestCancelNexusOperation message from the specified reader or buffer.

Parameters

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

Returns

RequestCancelNexusOperation & $Properties

RequestCancelNexusOperation

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): RequestCancelNexusOperation & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

RequestCancelNexusOperation & $Properties

RequestCancelNexusOperation

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 RequestCancelNexusOperation message. Does not implicitly coresdk.workflow_commands.RequestCancelNexusOperation.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified RequestCancelNexusOperation message, length delimited. Does not implicitly coresdk.workflow_commands.RequestCancelNexusOperation.verify|verify messages.

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): RequestCancelNexusOperation

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

RequestCancelNexusOperation

RequestCancelNexusOperation


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageRequestCancelNexusOperationRequestCancelNexusOperation
options?IConversionOptionsConversion options

Returns

Object

Plain object