Comment added on a sheet music
Name | Type | Description | Notes |
---|---|---|---|
id | str | The comment unique identifier | [optional] |
type | str | The type of the comment | [optional] |
user | str | The author unique identifier | [optional] |
score | str | The unique identifier of the score where the comment was posted | [optional] |
revision | str | The unique identifier of revision the comment was posted | [optional] |
reply_to | str | When the comment is a reply to another comment, the unique identifier of the parent comment | [optional] |
var_date | datetime | The date when the comment was posted | [optional] |
modification_date | datetime | The date of the last comment modification | [optional] |
comment | str | The comment text that can includes mentions using the following format: `@[id:username]`. | [optional] |
raw_comment | str | A raw version of the comment, that can be displayed without parsing the mentions. | [optional] |
context | ScoreCommentContext | [optional] | |
mentions | List[str] | The list of user identifier mentioned on the score | [optional] |
resolved | bool | For inline comments, the comment can be marked as resolved and will be hidden in the future responses | [optional] |
resolved_by | str | If the user is marked as resolved, this will contain the unique identifier of the User who marked this comment as resolved | [optional] |
moderation | ScoreCommentModeration | [optional] | |
spam | bool | `true if the message has been detected as spam and hidden from other users | [optional] |
from flat_api.models.score_comment import ScoreComment
# TODO update the JSON string below
json = "{}"
# create an instance of ScoreComment from a JSON string
score_comment_instance = ScoreComment.from_json(json)
# print the JSON string representation of the object
print ScoreComment.to_json()
# convert the object into a dict
score_comment_dict = score_comment_instance.to_dict()
# create an instance of ScoreComment from a dict
score_comment_form_dict = score_comment.from_dict(score_comment_dict)