Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.66 KB

File metadata and controls

37 lines (28 loc) · 1.66 KB

AutoSweepTask

Auto-sweep task information.

Properties

Name Type Description Notes
task_id str Auto-sweep task ID.
wallet_id str Wallet ID.
token_id str Token ID of the swept token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens.
status AutoSweepTaskStatus
transaction_ids List[str] IDs of the transactions triggered by the task. [optional]
failed_reasons List[str] Reasons why the task creation failed. [optional]
created_timestamp int The time when the task was created, in Unix timestamp format, measured in milliseconds.
updated_timestamp int The time when the task was updated, in Unix timestamp format, measured in milliseconds. [optional]

Example

from cobo_waas2.models.auto_sweep_task import AutoSweepTask

# TODO update the JSON string below
json = "{}"
# create an instance of AutoSweepTask from a JSON string
auto_sweep_task_instance = AutoSweepTask.from_json(json)
# print the JSON string representation of the object
print(AutoSweepTask.to_json())

# convert the object into a dict
auto_sweep_task_dict = auto_sweep_task_instance.to_dict()
# create an instance of AutoSweepTask from a dict
auto_sweep_task_from_dict = AutoSweepTask.from_dict(auto_sweep_task_dict)

[Back to Model list] [Back to API list] [Back to README]