A person can rate an item of content by liking it. They can also remove their like of an item of content. API methods exist to get a list of ratings and to add a new rating.
Name | Type | Description | Notes |
---|---|---|---|
id | str | ||
aggregate | RatingAggregate | ||
rated_at | datetime | [optional] | |
my_rating | str | The rating. The type is specific to the rating scheme, boolean for the likes and an integer for the fiveStar. | [optional] |
from alfresco_core_api_client.models.rating import Rating
# TODO update the JSON string below
json = "{}"
# create an instance of Rating from a JSON string
rating_instance = Rating.from_json(json)
# print the JSON string representation of the object
print Rating.to_json()
# convert the object into a dict
rating_dict = rating_instance.to_dict()
# create an instance of Rating from a dict
rating_form_dict = rating.from_dict(rating_dict)