Class: StartNexusOperationExecutionResponse
Represents a StartNexusOperationExecutionResponse.
Properties
runId
runId:
string
The run ID of the operation that was started - or used (via NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING).
started
started:
boolean
If true, a new operation was started.
Methods
toJSON()
toJSON():
object
Converts this StartNexusOperationExecutionResponse to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):StartNexusOperationExecutionResponse&$Properties
Creates a new StartNexusOperationExecutionResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
StartNexusOperationExecutionResponse & $Properties
StartNexusOperationExecutionResponse instance
Call Signature
staticcreate(properties?):StartNexusOperationExecutionResponse
Creates a new StartNexusOperationExecutionResponse instance using the specified properties.
Parameters
properties?
Properties to set
Returns
StartNexusOperationExecutionResponse
StartNexusOperationExecutionResponse instance
decode()
staticdecode(reader,length?):StartNexusOperationExecutionResponse&$Properties
Decodes a StartNexusOperationExecutionResponse 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
StartNexusOperationExecutionResponse & $Properties
StartNexusOperationExecutionResponse
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):StartNexusOperationExecutionResponse&$Properties
Decodes a StartNexusOperationExecutionResponse message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
StartNexusOperationExecutionResponse & $Properties
StartNexusOperationExecutionResponse
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 StartNexusOperationExecutionResponse message. Does not implicitly temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse.verify|verify messages.
Parameters
message
StartNexusOperationExecutionResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified StartNexusOperationExecutionResponse message, length delimited. Does not implicitly temporal.api.workflowservice.v1.StartNexusOperationExecutionResponse.verify|verify messages.
Parameters
message
StartNexusOperationExecutionResponse message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):StartNexusOperationExecutionResponse
Creates a StartNexusOperationExecutionResponse message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
StartNexusOperationExecutionResponse
StartNexusOperationExecutionResponse
toObject()
statictoObject(message,options?):object
Creates a plain object from a StartNexusOperationExecutionResponse message. Also converts values to other types if specified.
Parameters
message
StartNexusOperationExecutionResponse
StartNexusOperationExecutionResponse
options?
IConversionOptions
Conversion options
Returns
object
Plain object