Skip to main content

Class: ResolveNexusOperationStart

Represents a ResolveNexusOperationStart.

Properties​

failed?​

optional failed?: $Properties | null

The operation either failed to start, was cancelled before it started, timed out, or failed synchronously. Details are included inside the message. In this case, the subsequent ResolveNexusOperation will never be sent.


operationToken?​

optional operationToken?: string | null

The operation started asynchronously. Contains a token that can be used to perform operations on the started operation by, ex, clients. A ResolveNexusOperation job will follow at some point.


seq​

seq: number

Sequence number as provided by lang in the corresponding ScheduleNexusOperation command


startedSync?​

optional startedSync?: boolean | null

If true the operation "started" but only because it's also already resolved. A ResolveNexusOperation job will be in the same activation.


status?​

optional status?: "failed" | "operationToken" | "startedSync"

ResolveNexusOperationStart status.

Methods​

toJSON()​

toJSON(): object

Converts this ResolveNexusOperationStart to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): ResolveNexusOperationStart & $Shape

Creates a new ResolveNexusOperationStart instance using the specified properties.

Parameters​
properties?​

$Shape

Properties to set

Returns​

ResolveNexusOperationStart & $Shape

ResolveNexusOperationStart instance

Call Signature​

static create(properties?): ResolveNexusOperationStart

Creates a new ResolveNexusOperationStart instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ResolveNexusOperationStart

ResolveNexusOperationStart instance


decode()​

static decode(reader, length?): ResolveNexusOperationStart & $Shape

Decodes a ResolveNexusOperationStart 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​

ResolveNexusOperationStart & $Shape

ResolveNexusOperationStart

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): ResolveNexusOperationStart & $Shape

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

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

ResolveNexusOperationStart & $Shape

ResolveNexusOperationStart

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified ResolveNexusOperationStart message. Does not implicitly coresdk.workflow_activation.ResolveNexusOperationStart.verify|verify messages.

Parameters​

message​

$Properties

ResolveNexusOperationStart message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified ResolveNexusOperationStart message, length delimited. Does not implicitly coresdk.workflow_activation.ResolveNexusOperationStart.verify|verify messages.

Parameters​

message​

$Properties

ResolveNexusOperationStart message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): ResolveNexusOperationStart

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

Parameters​

object​

{[k: string]: any; }

Plain object

Returns​

ResolveNexusOperationStart

ResolveNexusOperationStart


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

ResolveNexusOperationStart

ResolveNexusOperationStart

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object