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

Name Type Description Notes
content str Comment text content
id int
user_id int
resource_type str
resource_id str
context Context [optional]
created_at datetime
updated_at datetime

Example

from revengai.models.comment_response import CommentResponse

# TODO update the JSON string below
json = "{}"
# create an instance of CommentResponse from a JSON string
comment_response_instance = CommentResponse.from_json(json)
# print the JSON string representation of the object
print(CommentResponse.to_json())

# convert the object into a dict
comment_response_dict = comment_response_instance.to_dict()
# create an instance of CommentResponse from a dict
comment_response_from_dict = CommentResponse.from_dict(comment_response_dict)

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