blogger  v2
Public Member Functions | Static Public Member Functions | List of all members
google_blogger_api::Blog::BlogPosts Class Reference

#include <blog.h>

Inheritance diagram for google_blogger_api::Blog::BlogPosts:

Public Member Functions

 BlogPosts (const Json::Value &storage)
 
 BlogPosts (Json::Value *storage)
 
virtual ~BlogPosts ()
 
const StringPiece GetTypeName () const
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Postget_items () const
 
client::JsonCppArray< Postmutable_items ()
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_total_items () const
 
void clear_total_items ()
 
int32 get_total_items () const
 
void set_total_items (int32 value)
 

Static Public Member Functions

static BlogPostsNew ()
 

Detailed Description

The container of posts in this blog.

Constructor & Destructor Documentation

◆ BlogPosts() [1/2]

google_blogger_api::Blog::BlogPosts::BlogPosts ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ BlogPosts() [2/2]

google_blogger_api::Blog::BlogPosts::BlogPosts ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~BlogPosts()

google_blogger_api::Blog::BlogPosts::~BlogPosts ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_items()

void google_blogger_api::Blog::BlogPosts::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_self_link()

void google_blogger_api::Blog::BlogPosts::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_total_items()

void google_blogger_api::Blog::BlogPosts::clear_total_items ( )
inline

Clears the 'totalItems' attribute.

◆ get_items()

const client::JsonCppArray<Post > google_blogger_api::Blog::BlogPosts::get_items ( ) const

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

◆ get_self_link()

const StringPiece google_blogger_api::Blog::BlogPosts::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_total_items()

int32 google_blogger_api::Blog::BlogPosts::get_total_items ( ) const
inline

Get the value of the 'totalItems' attribute.

◆ GetTypeName()

const StringPiece google_blogger_api::Blog::BlogPosts::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_blogger_api::BlogPosts

◆ has_items()

bool google_blogger_api::Blog::BlogPosts::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_self_link()

bool google_blogger_api::Blog::BlogPosts::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_total_items()

bool google_blogger_api::Blog::BlogPosts::has_total_items ( ) const
inline

Determine if the 'totalItems' attribute was set.

Returns
true if the 'totalItems' attribute was set.

◆ mutable_items()

client::JsonCppArray<Post > google_blogger_api::Blog::BlogPosts::mutable_items ( )

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

The List of Posts for this Blog.

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

◆ New()

Blog::BlogPosts * google_blogger_api::Blog::BlogPosts::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_self_link()

void google_blogger_api::Blog::BlogPosts::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

The URL of the container for posts in this blog.

Parameters
[in]valueThe new value.

◆ set_total_items()

void google_blogger_api::Blog::BlogPosts::set_total_items ( int32  value)
inline

Change the 'totalItems' attribute.

The count of posts in this blog.

Parameters
[in]valueThe new value.

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