|
youtube
v3
|
#include <video_statistics.h>
Public Member Functions | |
| VideoStatistics (const Json::Value &storage) | |
| VideoStatistics (Json::Value *storage) | |
| virtual | ~VideoStatistics () |
| const StringPiece | GetTypeName () const |
| bool | has_comment_count () const |
| void | clear_comment_count () |
| uint64 | get_comment_count () const |
| void | set_comment_count (uint64 value) |
| bool | has_dislike_count () const |
| void | clear_dislike_count () |
| uint64 | get_dislike_count () const |
| void | set_dislike_count (uint64 value) |
| bool | has_favorite_count () const |
| void | clear_favorite_count () |
| uint64 | get_favorite_count () const |
| void | set_favorite_count (uint64 value) |
| bool | has_like_count () const |
| void | clear_like_count () |
| uint64 | get_like_count () const |
| void | set_like_count (uint64 value) |
| bool | has_view_count () const |
| void | clear_view_count () |
| uint64 | get_view_count () const |
| void | set_view_count (uint64 value) |
Static Public Member Functions | |
| static VideoStatistics * | New () |
Statistics about the video, such as the number of times the video was viewed or liked.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'commentCount' attribute.
|
inline |
Clears the 'dislikeCount' attribute.
|
inline |
Clears the 'favoriteCount' attribute.
|
inline |
Clears the 'likeCount' attribute.
|
inline |
Clears the 'viewCount' attribute.
|
inline |
Get the value of the 'commentCount' attribute.
|
inline |
Get the value of the 'dislikeCount' attribute.
|
inline |
Get the value of the 'favoriteCount' attribute.
|
inline |
Get the value of the 'likeCount' attribute.
|
inline |
Get the value of the 'viewCount' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'commentCount' attribute was set.
commentCount' attribute was set.
|
inline |
Determine if the 'dislikeCount' attribute was set.
dislikeCount' attribute was set.
|
inline |
Determine if the 'favoriteCount' attribute was set.
favoriteCount' attribute was set.
|
inline |
Determine if the 'likeCount' attribute was set.
likeCount' attribute was set.
|
inline |
Determine if the 'viewCount' attribute was set.
viewCount' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'commentCount' attribute.
The number of comments for the video.
| [in] | value | The new value. |
|
inline |
Change the 'dislikeCount' attribute.
The number of users who have indicated that they disliked the video by giving it a negative rating.
| [in] | value | The new value. |
|
inline |
Change the 'favoriteCount' attribute.
The number of users who currently have the video marked as a favorite video.
| [in] | value | The new value. |
|
inline |
Change the 'likeCount' attribute.
The number of users who have indicated that they liked the video by giving it a positive rating.
| [in] | value | The new value. |
|
inline |
Change the 'viewCount' attribute.
The number of times the video has been viewed.
| [in] | value | The new value. |