HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


In the Optimizely Community API, a rating is represented with the `Rating` class.

An instance of the `Rating` class is constructed with

  • a reference to the user submitting the rating (represented by the `Reference` class)

  • a reference to the target being rated (represented by the `Reference` class)

  • a rating value (represented by the `RatingValue` class)

You can construct an instance of the `Rating` class as shown below: