youtube
v3
|
#include <comment_thread.h>
Public Member Functions | |
CommentThread (const Json::Value &storage) | |
CommentThread (Json::Value *storage) | |
virtual | ~CommentThread () |
const StringPiece | GetTypeName () const |
bool | has_etag () const |
void | clear_etag () |
const StringPiece | get_etag () const |
void | set_etag (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_replies () const |
void | clear_replies () |
const CommentThreadReplies | get_replies () const |
CommentThreadReplies | mutable_replies () |
bool | has_snippet () const |
void | clear_snippet () |
const CommentThreadSnippet | get_snippet () const |
CommentThreadSnippet | mutable_snippet () |
Static Public Member Functions | |
static CommentThread * | New () |
A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
|
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 'etag
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'replies
' attribute.
|
inline |
Clears the 'snippet
' attribute.
|
inline |
Get the value of the 'etag
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
const CommentThreadReplies google_youtube_api::CommentThread::get_replies | ( | ) | const |
Get a reference to the value of the 'replies
' attribute.
const CommentThreadSnippet google_youtube_api::CommentThread::get_snippet | ( | ) | const |
Get a reference to the value of the 'snippet
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'etag
' attribute was set.
etag
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'replies
' attribute was set.
replies
' attribute was set.
|
inline |
Determine if the 'snippet
' attribute was set.
snippet
' attribute was set. CommentThreadReplies google_youtube_api::CommentThread::mutable_replies | ( | ) |
Gets a reference to a mutable value of the 'replies
' property.
The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.
CommentThreadSnippet google_youtube_api::CommentThread::mutable_snippet | ( | ) |
Gets a reference to a mutable value of the 'snippet
' property.
The snippet object contains basic details about the comment thread and also the top level comment.
|
static |
Creates a new default instance.
|
inline |
Change the 'etag
' attribute.
Etag of this resource.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
The ID that YouTube uses to uniquely identify the comment thread.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
Identifies what kind of resource this is. Value: the fixed string "youtube#commentThread".
[in] | value | The new value. |