GeezerVison is showing github.com — unifapi-sdk-python/docs/RedditComment.md at main · unifapi-agent/unifapi-sdk-python
/
RedditComment.md
Copy path 34 lines (25 loc) · 1.02 KB
/
RedditComment.md
Copy pathFile metadata and controls
34 lines (25 loc) · 1.02 KB
Copy raw file
Download raw file
OutlineEdit and raw actions
| Name |
Type |
Description |
Notes |
| id |
str |
Comment id (`t1_*` fullname). |
|
| text |
str |
|
|
| created_at |
str |
|
|
| score |
float |
|
|
| author_name |
str |
|
|
| is_locked |
bool |
|
|
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]