Class: UnpauseActivityRequest
Deprecated. Use UnpauseActivityExecutionRequest.
Properties
activity?
optionalactivity?:"id"|"type"|"unpauseAll"
either activity id or activity type must be provided
execution?
optionalexecution?:$Properties|null
Execution info of the workflow which scheduled this activity
id?
optionalid?:string|null
Only the activity with this ID will be unpaused.
identity
identity:
string
The identity of the client who initiated this request.
jitter?
optionaljitter?:$Properties|null
If set, the activity will start at a random time within the specified jitter duration.
namespace
namespace:
string
Namespace of the workflow which scheduled this activity.
resetAttempts
resetAttempts:
boolean
Providing this flag will also reset the number of attempts.
resetHeartbeat
resetHeartbeat:
boolean
Providing this flag will also reset the heartbeat details.
type?
optionaltype?:string|null
Unpause all running activities with of this type.
unpauseAll?
optionalunpauseAll?:boolean|null
Unpause all running activities.
Methods
toJSON()
toJSON():
object
Converts this UnpauseActivityRequest to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):UnpauseActivityRequest&$Shape
Creates a new UnpauseActivityRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UnpauseActivityRequest & $Shape
UnpauseActivityRequest instance
Call Signature
staticcreate(properties?):UnpauseActivityRequest
Creates a new UnpauseActivityRequest instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UnpauseActivityRequest
UnpauseActivityRequest instance
decode()
staticdecode(reader,length?):UnpauseActivityRequest&$Shape
Decodes an UnpauseActivityRequest 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
UnpauseActivityRequest & $Shape
UnpauseActivityRequest
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):UnpauseActivityRequest&$Shape
Decodes an UnpauseActivityRequest message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
UnpauseActivityRequest & $Shape
UnpauseActivityRequest
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 UnpauseActivityRequest message. Does not implicitly temporal.api.workflowservice.v1.UnpauseActivityRequest.verify|verify messages.
Parameters
message
UnpauseActivityRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified UnpauseActivityRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.UnpauseActivityRequest.verify|verify messages.
Parameters
message
UnpauseActivityRequest message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):UnpauseActivityRequest
Creates an UnpauseActivityRequest message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
UnpauseActivityRequest
UnpauseActivityRequest
toObject()
statictoObject(message,options?):object
Creates a plain object from an UnpauseActivityRequest message. Also converts values to other types if specified.
Parameters
message
UnpauseActivityRequest
UnpauseActivityRequest
options?
IConversionOptions
Conversion options
Returns
object
Plain object