Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.26 KB

NotificationThread.md

File metadata and controls

36 lines (27 loc) · 1.26 KB

NotificationThread

NotificationThread expose Notification on API

Properties

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]

Example

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)

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