Properties
| Name |
Type |
Description |
Notes |
| id |
str |
|
|
| author_id |
str |
stable unique id of the comment author; use this to identify ownership |
|
| author |
str |
display name of the comment author; may change over time |
|
| body |
str |
|
|
| parent_id |
str |
id of the parent comment this comment replies to; absent on top-level comments |
[optional] |
| creation_date |
datetime |
|
|
| updated_date |
datetime |
|
|
| deleted |
bool |
true when the comment was soft-deleted; body is cleared but the comment is kept to preserve thread structure |
|
| resolved |
bool |
true when the comment's thread has been marked resolved |
|
| resolved_by_id |
str |
stable unique id of the user who resolved the thread; absent when unresolved |
[optional] |
| resolved_by |
str |
display name of the user who resolved the thread; may change over time; absent when unresolved |
[optional] |
Example
from lakefs_enterprise_sdk.models.pull_request_comment import PullRequestComment
# TODO update the JSON string below
json = "{}"
# create an instance of PullRequestComment from a JSON string
pull_request_comment_instance = PullRequestComment.from_json(json)
# print the JSON string representation of the object
print PullRequestComment.to_json()
# convert the object into a dict
pull_request_comment_dict = pull_request_comment_instance.to_dict()
# create an instance of PullRequestComment from a dict
pull_request_comment_form_dict = pull_request_comment.from_dict(pull_request_comment_dict)