#include <comment_thread_snippet.h>
Basic details about a comment thread.
◆ CommentThreadSnippet() [1/2]
google_youtube_api::CommentThreadSnippet::CommentThreadSnippet |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ CommentThreadSnippet() [2/2]
google_youtube_api::CommentThreadSnippet::CommentThreadSnippet |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~CommentThreadSnippet()
google_youtube_api::CommentThreadSnippet::~CommentThreadSnippet |
( |
| ) |
|
|
virtual |
◆ clear_can_reply()
void google_youtube_api::CommentThreadSnippet::clear_can_reply |
( |
| ) |
|
|
inline |
Clears the 'canReply
' attribute.
◆ clear_channel_id()
void google_youtube_api::CommentThreadSnippet::clear_channel_id |
( |
| ) |
|
|
inline |
Clears the 'channelId
' attribute.
◆ clear_is_public()
void google_youtube_api::CommentThreadSnippet::clear_is_public |
( |
| ) |
|
|
inline |
Clears the 'isPublic
' attribute.
◆ clear_top_level_comment()
void google_youtube_api::CommentThreadSnippet::clear_top_level_comment |
( |
| ) |
|
|
inline |
Clears the 'topLevelComment
' attribute.
◆ clear_total_reply_count()
void google_youtube_api::CommentThreadSnippet::clear_total_reply_count |
( |
| ) |
|
|
inline |
Clears the 'totalReplyCount
' attribute.
◆ clear_video_id()
void google_youtube_api::CommentThreadSnippet::clear_video_id |
( |
| ) |
|
|
inline |
Clears the 'videoId
' attribute.
◆ get_can_reply()
bool google_youtube_api::CommentThreadSnippet::get_can_reply |
( |
| ) |
const |
|
inline |
Get the value of the 'canReply
' attribute.
◆ get_channel_id()
const StringPiece google_youtube_api::CommentThreadSnippet::get_channel_id |
( |
| ) |
const |
|
inline |
Get the value of the 'channelId
' attribute.
◆ get_is_public()
bool google_youtube_api::CommentThreadSnippet::get_is_public |
( |
| ) |
const |
|
inline |
Get the value of the 'isPublic
' attribute.
◆ get_top_level_comment()
const Comment google_youtube_api::CommentThreadSnippet::get_top_level_comment |
( |
| ) |
const |
Get a reference to the value of the 'topLevelComment
' attribute.
◆ get_total_reply_count()
uint32 google_youtube_api::CommentThreadSnippet::get_total_reply_count |
( |
| ) |
const |
|
inline |
Get the value of the 'totalReplyCount
' attribute.
◆ get_video_id()
const StringPiece google_youtube_api::CommentThreadSnippet::get_video_id |
( |
| ) |
const |
|
inline |
Get the value of the 'videoId
' attribute.
◆ GetTypeName()
const StringPiece google_youtube_api::CommentThreadSnippet::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_can_reply()
bool google_youtube_api::CommentThreadSnippet::has_can_reply |
( |
| ) |
const |
|
inline |
Determine if the 'canReply
' attribute was set.
- Returns
- true if the '
canReply
' attribute was set.
◆ has_channel_id()
bool google_youtube_api::CommentThreadSnippet::has_channel_id |
( |
| ) |
const |
|
inline |
Determine if the 'channelId
' attribute was set.
- Returns
- true if the '
channelId
' attribute was set.
◆ has_is_public()
bool google_youtube_api::CommentThreadSnippet::has_is_public |
( |
| ) |
const |
|
inline |
Determine if the 'isPublic
' attribute was set.
- Returns
- true if the '
isPublic
' attribute was set.
◆ has_top_level_comment()
bool google_youtube_api::CommentThreadSnippet::has_top_level_comment |
( |
| ) |
const |
|
inline |
Determine if the 'topLevelComment
' attribute was set.
- Returns
- true if the '
topLevelComment
' attribute was set.
◆ has_total_reply_count()
bool google_youtube_api::CommentThreadSnippet::has_total_reply_count |
( |
| ) |
const |
|
inline |
Determine if the 'totalReplyCount
' attribute was set.
- Returns
- true if the '
totalReplyCount
' attribute was set.
◆ has_video_id()
bool google_youtube_api::CommentThreadSnippet::has_video_id |
( |
| ) |
const |
|
inline |
Determine if the 'videoId
' attribute was set.
- Returns
- true if the '
videoId
' attribute was set.
◆ mutable_topLevelComment()
Comment google_youtube_api::CommentThreadSnippet::mutable_topLevelComment |
( |
| ) |
|
Gets a reference to a mutable value of the 'topLevelComment
' property.
The top level comment of this thread.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_can_reply()
void google_youtube_api::CommentThreadSnippet::set_can_reply |
( |
bool |
value | ) |
|
|
inline |
Change the 'canReply
' attribute.
Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
- Parameters
-
◆ set_channel_id()
void google_youtube_api::CommentThreadSnippet::set_channel_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'channelId
' attribute.
The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself.
- Parameters
-
◆ set_is_public()
void google_youtube_api::CommentThreadSnippet::set_is_public |
( |
bool |
value | ) |
|
|
inline |
Change the 'isPublic
' attribute.
Whether the thread (and therefore all its comments) is visible to all YouTube users.
- Parameters
-
◆ set_total_reply_count()
void google_youtube_api::CommentThreadSnippet::set_total_reply_count |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'totalReplyCount
' attribute.
The total number of replies (not including the top level comment).
- Parameters
-
◆ set_video_id()
void google_youtube_api::CommentThreadSnippet::set_video_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'videoId
' attribute.
The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
- Parameters
-
The documentation for this class was generated from the following files: