Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.25 KB

SubscriptionConfig.md

File metadata and controls

35 lines (26 loc) · 1.25 KB

SubscriptionConfig

Specification of a notification subscription that forwards to a given channel.

Properties

Name Type Description Notes
links Dict[str, LinksValue] [optional]
id str [optional]
title str [optional]
description str [optional]
channel Channel
filters List[EventFilter]

Example

from waylay.services.storage.models.subscription_config import SubscriptionConfig

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

# convert the object into a dict
subscription_config_dict = subscription_config_instance.to_dict()
# create an instance of SubscriptionConfig from a dict
subscription_config_form_dict = subscription_config.from_dict(subscription_config_dict)

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