Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.27 KB

File metadata and controls

31 lines (22 loc) · 1.27 KB

TopicNotificationCreateRequest

Properties

Name Type Description Notes
receiver_type str [optional] [default to 'topic']
message CreateNotificationMessageRequest The message of the notification
topic_codes List[str]

Example

from mosquito_alert.models.topic_notification_create_request import TopicNotificationCreateRequest

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

# convert the object into a dict
topic_notification_create_request_dict = topic_notification_create_request_instance.to_dict()
# create an instance of TopicNotificationCreateRequest from a dict
topic_notification_create_request_from_dict = TopicNotificationCreateRequest.from_dict(topic_notification_create_request_dict)

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