|
Result Data Object
Description
The container for the response code, response message and any other information returned in this response.
Supported Attributes
This data object supports the following attributes:
|
code
|
An integer specifying a code number for the response. This code number will typically be 1 for success and 0 for failure.
Usage syntax:
myVar = TVS.Result.code;
|
|
message
|
A string containing a text message describing the response.
Usage syntax:
myVar = TVS.Result.message;
|
|
videoId
|
An integer containing the unique id of the video for which the user rating was submitted.
Usage syntax:
myVar = TVS.Result.videoId;
|
|
userRating
|
A decimal value between 0 and 5 representing the average user rating for the video identified by the videoId.
Usage syntax:
myVar = TVS.Result.userRating;
|
|
userRatingCount
|
An integer representing the total number of times the video identified by the videoId has been rated.
Usage syntax:
myVar = TVS.Result.userRatingCount;
|
|