youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::CommentThreadSnippet Class Reference

#include <comment_thread_snippet.h>

Inheritance diagram for google_youtube_api::CommentThreadSnippet:

Public Member Functions

 CommentThreadSnippet (const Json::Value &storage)
 
 CommentThreadSnippet (Json::Value *storage)
 
virtual ~CommentThreadSnippet ()
 
const StringPiece GetTypeName () const
 
bool has_can_reply () const
 
void clear_can_reply ()
 
bool get_can_reply () const
 
void set_can_reply (bool value)
 
bool has_channel_id () const
 
void clear_channel_id ()
 
const StringPiece get_channel_id () const
 
void set_channel_id (const StringPiece &value)
 
bool has_is_public () const
 
void clear_is_public ()
 
bool get_is_public () const
 
void set_is_public (bool value)
 
bool has_top_level_comment () const
 
void clear_top_level_comment ()
 
const Comment get_top_level_comment () const
 
Comment mutable_topLevelComment ()
 
bool has_total_reply_count () const
 
void clear_total_reply_count ()
 
uint32 get_total_reply_count () const
 
void set_total_reply_count (uint32 value)
 
bool has_video_id () const
 
void clear_video_id ()
 
const StringPiece get_video_id () const
 
void set_video_id (const StringPiece &value)
 

Static Public Member Functions

static CommentThreadSnippetNew ()
 

Detailed Description

Basic details about a comment thread.

Constructor & Destructor Documentation

◆ CommentThreadSnippet() [1/2]

google_youtube_api::CommentThreadSnippet::CommentThreadSnippet ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~CommentThreadSnippet()

google_youtube_api::CommentThreadSnippet::~CommentThreadSnippet ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::CommentThreadSnippet

◆ 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()

CommentThreadSnippet * google_youtube_api::CommentThreadSnippet::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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