Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.28 KB

Comment.md

File metadata and controls

40 lines (31 loc) · 1.28 KB

Comment

Comment represents a comment on a commit or issue

Properties

Name Type Description Notes
assets List[Attachment] [optional]
body str [optional]
created_at datetime [optional]
html_url str [optional]
id int [optional]
issue_url str [optional]
original_author str [optional]
original_author_id int [optional]
pull_request_url str [optional]
updated_at datetime [optional]
user User [optional]

Example

from clientapi_forgejo.models.comment import Comment

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

# convert the object into a dict
comment_dict = comment_instance.to_dict()
# create an instance of Comment from a dict
comment_from_dict = Comment.from_dict(comment_dict)

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