blogger  v2
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_blogger_api::Comment Class Reference

#include <comment.h>

Inheritance diagram for google_blogger_api::Comment:

Classes

class  CommentAuthor
 
class  CommentBlog
 
class  CommentInReplyTo
 
class  CommentPost
 

Public Member Functions

 Comment (const Json::Value &storage)
 
 Comment (Json::Value *storage)
 
virtual ~Comment ()
 
const StringPiece GetTypeName () const
 
bool has_author () const
 
void clear_author ()
 
const CommentAuthor get_author () const
 
CommentAuthor mutable_author ()
 
bool has_blog () const
 
void clear_blog ()
 
const CommentBlog get_blog () const
 
CommentBlog mutable_blog ()
 
bool has_content () const
 
void clear_content ()
 
const StringPiece get_content () const
 
void set_content (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_in_reply_to () const
 
void clear_in_reply_to ()
 
const CommentInReplyTo get_in_reply_to () const
 
CommentInReplyTo mutable_inReplyTo ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_post () const
 
void clear_post ()
 
const CommentPost get_post () const
 
CommentPost mutable_post ()
 
bool has_published () const
 
void clear_published ()
 
const StringPiece get_published () const
 
void set_published (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 
bool has_updated () const
 
void clear_updated ()
 
const StringPiece get_updated () const
 
void set_updated (const StringPiece &value)
 

Static Public Member Functions

static CommentNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Comment() [1/2]

google_blogger_api::Comment::Comment ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Comment() [2/2]

google_blogger_api::Comment::Comment ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Comment()

google_blogger_api::Comment::~Comment ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_author()

void google_blogger_api::Comment::clear_author ( )
inline

Clears the 'author' attribute.

◆ clear_blog()

void google_blogger_api::Comment::clear_blog ( )
inline

Clears the 'blog' attribute.

◆ clear_content()

void google_blogger_api::Comment::clear_content ( )
inline

Clears the 'content' attribute.

◆ clear_id()

void google_blogger_api::Comment::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_in_reply_to()

void google_blogger_api::Comment::clear_in_reply_to ( )
inline

Clears the 'inReplyTo' attribute.

◆ clear_kind()

void google_blogger_api::Comment::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_post()

void google_blogger_api::Comment::clear_post ( )
inline

Clears the 'post' attribute.

◆ clear_published()

void google_blogger_api::Comment::clear_published ( )
inline

Clears the 'published' attribute.

◆ clear_self_link()

void google_blogger_api::Comment::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_status()

void google_blogger_api::Comment::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_updated()

void google_blogger_api::Comment::clear_updated ( )
inline

Clears the 'updated' attribute.

◆ get_author()

const CommentAuthor google_blogger_api::Comment::get_author ( ) const
inline

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

◆ get_blog()

const CommentBlog google_blogger_api::Comment::get_blog ( ) const
inline

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

◆ get_content()

const StringPiece google_blogger_api::Comment::get_content ( ) const
inline

Get the value of the 'content' attribute.

◆ get_id()

const StringPiece google_blogger_api::Comment::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_in_reply_to()

const CommentInReplyTo google_blogger_api::Comment::get_in_reply_to ( ) const
inline

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

◆ get_kind()

const StringPiece google_blogger_api::Comment::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_post()

const CommentPost google_blogger_api::Comment::get_post ( ) const
inline

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

◆ get_published()

const StringPiece google_blogger_api::Comment::get_published ( ) const
inline

Get the value of the 'published' attribute.

◆ get_self_link()

const StringPiece google_blogger_api::Comment::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_status()

const StringPiece google_blogger_api::Comment::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ get_updated()

const StringPiece google_blogger_api::Comment::get_updated ( ) const
inline

Get the value of the 'updated' attribute.

◆ GetTypeName()

const StringPiece google_blogger_api::Comment::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_blogger_api::Comment

◆ has_author()

bool google_blogger_api::Comment::has_author ( ) const
inline

Determine if the 'author' attribute was set.

Returns
true if the 'author' attribute was set.

◆ has_blog()

bool google_blogger_api::Comment::has_blog ( ) const
inline

Determine if the 'blog' attribute was set.

Returns
true if the 'blog' attribute was set.

◆ has_content()

bool google_blogger_api::Comment::has_content ( ) const
inline

Determine if the 'content' attribute was set.

Returns
true if the 'content' attribute was set.

◆ has_id()

bool google_blogger_api::Comment::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_in_reply_to()

bool google_blogger_api::Comment::has_in_reply_to ( ) const
inline

Determine if the 'inReplyTo' attribute was set.

Returns
true if the 'inReplyTo' attribute was set.

◆ has_kind()

bool google_blogger_api::Comment::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_post()

bool google_blogger_api::Comment::has_post ( ) const
inline

Determine if the 'post' attribute was set.

Returns
true if the 'post' attribute was set.

◆ has_published()

bool google_blogger_api::Comment::has_published ( ) const
inline

Determine if the 'published' attribute was set.

Returns
true if the 'published' attribute was set.

◆ has_self_link()

bool google_blogger_api::Comment::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_status()

bool google_blogger_api::Comment::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_updated()

bool google_blogger_api::Comment::has_updated ( ) const
inline

Determine if the 'updated' attribute was set.

Returns
true if the 'updated' attribute was set.

◆ mutable_author()

CommentAuthor google_blogger_api::Comment::mutable_author ( )
inline

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

The author of this Comment.

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

◆ mutable_blog()

CommentBlog google_blogger_api::Comment::mutable_blog ( )
inline

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

Data about the blog containing this comment.

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

◆ mutable_inReplyTo()

CommentInReplyTo google_blogger_api::Comment::mutable_inReplyTo ( )
inline

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

Data about the comment this is in reply to.

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

◆ mutable_post()

CommentPost google_blogger_api::Comment::mutable_post ( )
inline

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

Data about the post containing this comment.

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

◆ New()

Comment * google_blogger_api::Comment::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_content()

void google_blogger_api::Comment::set_content ( const StringPiece &  value)
inline

Change the 'content' attribute.

The actual content of the comment. May include HTML markup.

Parameters
[in]valueThe new value.

◆ set_id()

void google_blogger_api::Comment::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

The identifier for this resource.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_blogger_api::Comment::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

The kind of this entry. Always blogger::comment.

Parameters
[in]valueThe new value.

◆ set_published()

void google_blogger_api::Comment::set_published ( const StringPiece &  value)
inline

Change the 'published' attribute.

RFC 3339 date-time when this comment was published.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_blogger_api::Comment::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

The API REST URL to fetch this resource from.

Parameters
[in]valueThe new value.

◆ set_status()

void google_blogger_api::Comment::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

The status of the comment (only populated for admin users).

Parameters
[in]valueThe new value.

◆ set_updated()

void google_blogger_api::Comment::set_updated ( const StringPiece &  value)
inline

Change the 'updated' attribute.

RFC 3339 date-time when this comment was last updated.

Parameters
[in]valueThe new value.

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