Recombee API Client
Public Member Functions | Properties | List of all members
Recombee.ApiClient.Bindings.Rating Class Reference

Rating Binding More...

Inheritance diagram for Recombee.ApiClient.Bindings.Rating:
Inheritance graph
[legend]
Collaboration diagram for Recombee.ApiClient.Bindings.Rating:
Collaboration graph
[legend]

Public Member Functions

 Rating (string userId, string itemId, double rating, DateTime?timestamp=null, string recommId=null)
 
override bool Equals (Object obj)
 Determines whether the specified object is equal to the current object More...
 
override int GetHashCode ()
 Hash function More...
 

Properties

string UserId [get]
 User who submitted the rating More...
 
string ItemId [get]
 Rated item More...
 
DateTime Timestamp [get]
 UTC timestamp of the rating as ISO8601-1 pattern or UTC epoch time. The default value is the current time. More...
 
double RatingValue [get]
 Rating rescaled to interval [-1.0,1.0], where -1.0 means the worst rating possible, 0.0 means neutral, and 1.0 means absolutely positive rating. For example, in the case of 5-star evaluations, rating = (numStars-3)/2 formula may be used for the conversion. More...
 
string RecommId [get]
 If this rating is based on a recommendation request, recommId is the id of the clicked recommendation. More...
 

Detailed Description

Rating Binding

Constructor & Destructor Documentation

Recombee.ApiClient.Bindings.Rating.Rating ( string  userId,
string  itemId,
double  rating,
DateTime?  timestamp = null,
string  recommId = null 
)
inline

Member Function Documentation

override bool Recombee.ApiClient.Bindings.Rating.Equals ( Object  obj)
inline

Determines whether the specified object is equal to the current object

Parameters
objThe object to compare with the current object
Returns
true if the specified object is equal to the current object; otherwise, false
override int Recombee.ApiClient.Bindings.Rating.GetHashCode ( )
inline

Hash function

Returns
A hash code for the current object

Property Documentation

string Recombee.ApiClient.Bindings.Rating.ItemId
get

Rated item

double Recombee.ApiClient.Bindings.Rating.RatingValue
get

Rating rescaled to interval [-1.0,1.0], where -1.0 means the worst rating possible, 0.0 means neutral, and 1.0 means absolutely positive rating. For example, in the case of 5-star evaluations, rating = (numStars-3)/2 formula may be used for the conversion.

string Recombee.ApiClient.Bindings.Rating.RecommId
get

If this rating is based on a recommendation request, recommId is the id of the clicked recommendation.

DateTime Recombee.ApiClient.Bindings.Rating.Timestamp
get

UTC timestamp of the rating as ISO8601-1 pattern or UTC epoch time. The default value is the current time.

string Recombee.ApiClient.Bindings.Rating.UserId
get

User who submitted the rating


The documentation for this class was generated from the following file: