Class: BatchOperationUnpauseActivities
BatchOperationUnpauseActivities sends unpause requests to batch workflows.
Properties
activity?
optionalactivity?:"type"|"matchAll"
The activity to unpause. If match_all is set to true, all activities will be unpaused.
identity
identity:
string
The identity of the worker/client.
jitter?
optionaljitter?:$Properties|null
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
matchAll?
optionalmatchAll?:boolean|null
BatchOperationUnpauseActivities matchAll.
resetAttempts
resetAttempts:
boolean
Setting this flag will also reset the number of attempts.
resetHeartbeat
resetHeartbeat:
boolean
Setting this flag will also reset the heartbeat details.
type?
optionaltype?:string|null
BatchOperationUnpauseActivities type.
Methods
toJSON()
toJSON():
object
Converts this BatchOperationUnpauseActivities to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):BatchOperationUnpauseActivities&$Shape
Creates a new BatchOperationUnpauseActivities instance using the specified properties.
Parameters
properties?
Properties to set
Returns
BatchOperationUnpauseActivities & $Shape
BatchOperationUnpauseActivities instance
Call Signature
staticcreate(properties?):BatchOperationUnpauseActivities
Creates a new BatchOperationUnpauseActivities instance using the specified properties.
Parameters
properties?
Properties to set
Returns
BatchOperationUnpauseActivities
BatchOperationUnpauseActivities instance
decode()
staticdecode(reader,length?):BatchOperationUnpauseActivities&$Shape
Decodes a BatchOperationUnpauseActivities 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
BatchOperationUnpauseActivities & $Shape
BatchOperationUnpauseActivities
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):BatchOperationUnpauseActivities&$Shape
Decodes a BatchOperationUnpauseActivities message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
BatchOperationUnpauseActivities & $Shape
BatchOperationUnpauseActivities
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 BatchOperationUnpauseActivities message. Does not implicitly temporal.api.batch.v1.BatchOperationUnpauseActivities.verify|verify messages.
Parameters
message
BatchOperationUnpauseActivities message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified BatchOperationUnpauseActivities message, length delimited. Does not implicitly temporal.api.batch.v1.BatchOperationUnpauseActivities.verify|verify messages.
Parameters
message
BatchOperationUnpauseActivities message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):BatchOperationUnpauseActivities
Creates a BatchOperationUnpauseActivities message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
BatchOperationUnpauseActivities
BatchOperationUnpauseActivities
toObject()
statictoObject(message,options?):object
Creates a plain object from a BatchOperationUnpauseActivities message. Also converts values to other types if specified.
Parameters
message
BatchOperationUnpauseActivities
BatchOperationUnpauseActivities
options?
IConversionOptions
Conversion options
Returns
object
Plain object