Update of a comment
Name | Type | Description | Notes |
---|---|---|---|
revision | str | The unique indentifier of the revision of the score where the comment was added. If this property is unspecified or contains "last", the API will automatically take the last revision created. | [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 the mentions. If you use mentions, this property must be set. | [optional] |
context | ScoreCommentContext | [optional] |
from flat_api.models.score_comment_update import ScoreCommentUpdate
# TODO update the JSON string below
json = "{}"
# create an instance of ScoreCommentUpdate from a JSON string
score_comment_update_instance = ScoreCommentUpdate.from_json(json)
# print the JSON string representation of the object
print ScoreCommentUpdate.to_json()
# convert the object into a dict
score_comment_update_dict = score_comment_update_instance.to_dict()
# create an instance of ScoreCommentUpdate from a dict
score_comment_update_form_dict = score_comment_update.from_dict(score_comment_update_dict)