1.1 KiB
1.1 KiB
CreateAlertRequest
What the API accepts to create a subscription.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| token_address | str | ||
| alert_types | List[AlertType] | [optional] | |
| webhook_url | str | [optional] |
Example
from rugmunch.models.create_alert_request import CreateAlertRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CreateAlertRequest from a JSON string
create_alert_request_instance = CreateAlertRequest.from_json(json)
# print the JSON string representation of the object
print(CreateAlertRequest.to_json())
# convert the object into a dict
create_alert_request_dict = create_alert_request_instance.to_dict()
# create an instance of CreateAlertRequest from a dict
create_alert_request_from_dict = CreateAlertRequest.from_dict(create_alert_request_dict)