NotificationThread expose Notification on API
Name | Type | Description | Notes |
---|---|---|---|
id | int | [optional] | |
pinned | bool | [optional] | |
repository | Repository | [optional] | |
subject | NotificationSubject | [optional] | |
unread | bool | [optional] | |
updated_at | datetime | [optional] | |
url | str | [optional] |
from clientapi_forgejo.models.notification_thread import NotificationThread
# TODO update the JSON string below
json = "{}"
# create an instance of NotificationThread from a JSON string
notification_thread_instance = NotificationThread.from_json(json)
# print the JSON string representation of the object
print(NotificationThread.to_json())
# convert the object into a dict
notification_thread_dict = notification_thread_instance.to_dict()
# create an instance of NotificationThread from a dict
notification_thread_from_dict = NotificationThread.from_dict(notification_thread_dict)