Skip to content

Latest commit

History

History
36 lines (27 loc) · 1.13 KB

File metadata and controls

36 lines (27 loc) · 1.13 KB

CommentResponse

Properties

NameTypeDescriptionNotes
contentstrComment text content
idint
user_idint
resource_typestr
resource_idstr
contextContext[optional]
created_atdatetime
updated_atdatetime

Example

fromrevengai.models.comment_responseimportCommentResponse# TODO update the JSON string belowjson="{}"# create an instance of CommentResponse from a JSON stringcomment_response_instance=CommentResponse.from_json(json)
# print the JSON string representation of the objectprint(CommentResponse.to_json())
# convert the object into a dictcomment_response_dict=comment_response_instance.to_dict()
# create an instance of CommentResponse from a dictcomment_response_from_dict=CommentResponse.from_dict(comment_response_dict)

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