Constructs a new KalshiApiTask.
Optionalproperties: IKalshiApiTaskProperties to set
A string containing the API Key ID
A string containing the private key for authentication
Optional signature string field
Optional timestamp in milliseconds (used with signature)
A string containing the URL to direct this HTTP request to.
Converts this KalshiApiTask to JSON.
JSON object
StaticcreateCreates a new KalshiApiTask instance using the specified properties.
Optionalproperties: IKalshiApiTaskProperties to set
KalshiApiTask instance
StaticdecodeDecodes a KalshiApiTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
KalshiApiTask
StaticdecodeDecodes a KalshiApiTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
KalshiApiTask
StaticencodeEncodes the specified KalshiApiTask message. Does not implicitly {@apilink oracle_job.OracleJob.KalshiApiTask.verify|verify} messages.
KalshiApiTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified KalshiApiTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.KalshiApiTask.verify|verify} messages.
KalshiApiTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a KalshiApiTask message from a plain object. Also converts values to their respective internal types.
Plain object
KalshiApiTask
StaticgetGets the default type url for KalshiApiTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a KalshiApiTask message. Also converts values to other types if specified.
KalshiApiTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a KalshiApiTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
KalshiApiTask fetches a GET endpoint from the Kalshi API (with a token if supplied) and returns the JSON result