Class: WorkflowSlotInfo
Info about workflow task slot usage
Properties
isSticky
isSticky:
boolean
WorkflowSlotInfo isSticky.
workflowType
workflowType:
string
WorkflowSlotInfo workflowType.
Methods
toJSON()
toJSON():
object
Converts this WorkflowSlotInfo to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):WorkflowSlotInfo&$Properties
Creates a new WorkflowSlotInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowSlotInfo & $Properties
WorkflowSlotInfo instance
Call Signature
staticcreate(properties?):WorkflowSlotInfo
Creates a new WorkflowSlotInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkflowSlotInfo
WorkflowSlotInfo instance
decode()
staticdecode(reader,length?):WorkflowSlotInfo&$Properties
Decodes a WorkflowSlotInfo 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
WorkflowSlotInfo & $Properties
WorkflowSlotInfo
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):WorkflowSlotInfo&$Properties
Decodes a WorkflowSlotInfo message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
WorkflowSlotInfo & $Properties
WorkflowSlotInfo
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 WorkflowSlotInfo message. Does not implicitly coresdk.WorkflowSlotInfo.verify|verify messages.
Parameters
message
WorkflowSlotInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified WorkflowSlotInfo message, length delimited. Does not implicitly coresdk.WorkflowSlotInfo.verify|verify messages.
Parameters
message
WorkflowSlotInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):WorkflowSlotInfo
Creates a WorkflowSlotInfo message from a plain object. Also converts values to their respective internal types.
Parameters
object
{[k: string]: any; }
Plain object
Returns
WorkflowSlotInfo
WorkflowSlotInfo
toObject()
statictoObject(message,options?):object
Creates a plain object from a WorkflowSlotInfo message. Also converts values to other types if specified.
Parameters
message
WorkflowSlotInfo
WorkflowSlotInfo
options?
IConversionOptions
Conversion options
Returns
object
Plain object