Comment represents a comment on a commit or issue
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] |
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)