Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.24 KB

File metadata and controls

32 lines (23 loc) · 1.24 KB

NotificationSubscription

Properties

Name Type Description Notes
id str ID of the notification subscription. [readonly]
user_id str User ID to be notified. [readonly]
topic str Topic of the subscription. [readonly]
options Dict[str, object] Options data for the topic. [optional] [readonly]

Example

from saturn_api.models.notification_subscription import NotificationSubscription

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

# convert the object into a dict
notification_subscription_dict = notification_subscription_instance.to_dict()
# create an instance of NotificationSubscription from a dict
notification_subscription_from_dict = NotificationSubscription.from_dict(notification_subscription_dict)

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