Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.18 KB

Rating.md

File metadata and controls

32 lines (24 loc) · 1.18 KB

Rating

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.

Properties

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]

Example

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)

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