Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.02 KB

File metadata and controls

34 lines (25 loc) · 1.02 KB

RedditComment

Properties

Name Type Description Notes
id str Comment id (`t1_*` fullname).
text str
created_at str
score float
author_name str
is_locked bool

Example

from unifapi.models.reddit_comment import RedditComment

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

# convert the object into a dict
reddit_comment_dict = reddit_comment_instance.to_dict()
# create an instance of RedditComment from a dict
reddit_comment_from_dict = RedditComment.from_dict(reddit_comment_dict)

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