File size: 1,357 Bytes
bde2f3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# AlertSubscription

A token alert subscription record (what we store in Redis).

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Unique subscription id, e.g. alert:1700000000 | 
**token_address** | **str** |  | 
**alert_types** | [**List[AlertType]**](AlertType.md) |  | [optional] 
**webhook_url** | **str** |  | [optional] 
**created_at** | **datetime** |  | [optional] 
**active** | **bool** |  | [optional] [default to True]
**owner_id** | **str** | User id of subscription owner, None = anonymous | [optional] 

## Example

```python
from rugmunch.models.alert_subscription import AlertSubscription

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

# convert the object into a dict
alert_subscription_dict = alert_subscription_instance.to_dict()
# create an instance of AlertSubscription from a dict
alert_subscription_from_dict = AlertSubscription.from_dict(alert_subscription_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)