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

#include <comment_thread_replies.h>

Inheritance diagram for google_youtube_api::CommentThreadReplies:

Public Member Functions

 CommentThreadReplies (const Json::Value &storage)
 
 CommentThreadReplies (Json::Value *storage)
 
virtual ~CommentThreadReplies ()
 
const StringPiece GetTypeName () const
 
bool has_comments () const
 
void clear_comments ()
 
const client::JsonCppArray< Commentget_comments () const
 
client::JsonCppArray< Commentmutable_comments ()
 

Static Public Member Functions

static CommentThreadRepliesNew ()
 

Detailed Description

Comments written in (direct or indirect) reply to the top level comment.

Constructor & Destructor Documentation

◆ CommentThreadReplies() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ CommentThreadReplies() [2/2]

google_youtube_api::CommentThreadReplies::CommentThreadReplies ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~CommentThreadReplies()

google_youtube_api::CommentThreadReplies::~CommentThreadReplies ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_comments()

void google_youtube_api::CommentThreadReplies::clear_comments ( )
inline

Clears the 'comments' attribute.

◆ get_comments()

const client::JsonCppArray<Comment > google_youtube_api::CommentThreadReplies::get_comments ( ) const

Get a reference to the value of the 'comments' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::CommentThreadReplies::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::CommentThreadReplies

◆ has_comments()

bool google_youtube_api::CommentThreadReplies::has_comments ( ) const
inline

Determine if the 'comments' attribute was set.

Returns
true if the 'comments' attribute was set.

◆ mutable_comments()

client::JsonCppArray<Comment > google_youtube_api::CommentThreadReplies::mutable_comments ( )

Gets a reference to a mutable value of the 'comments' property.

A limited number of replies. Unless the number of replies returned equals total_reply_count in the snippet the returned replies are only a subset of the total number of replies.

Returns
The result can be modified to change the attribute value.

◆ New()

CommentThreadReplies * google_youtube_api::CommentThreadReplies::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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