Constructs a new CorexTask.
Optional
properties: ICorexTaskProperties to set
CorexTask inToken.
CorexTask outToken.
CorexTask slippage.
Converts this CorexTask to JSON.
JSON object
Static
createCreates a new CorexTask instance using the specified properties.
Optional
properties: ICorexTaskProperties to set
CorexTask instance
Static
decodeDecodes a CorexTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
CorexTask
Static
decodeDecodes a CorexTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
CorexTask
Static
encodeEncodes the specified CorexTask message. Does not implicitly verify messages.
CorexTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified CorexTask message, length delimited. Does not implicitly verify messages.
CorexTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a CorexTask message from a plain object. Also converts values to their respective internal types.
Plain object
CorexTask
Static
getGets the default type url for CorexTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a CorexTask message. Also converts values to other types if specified.
CorexTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a CorexTask message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Represents a CorexTask.