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

#include <post.h>

Inheritance diagram for google_blogger_api::Post:

Classes

class  PostAuthor
 
class  PostBlog
 
class  PostImages
 
class  PostLocation
 
class  PostReplies
 

Public Member Functions

 Post (const Json::Value &storage)
 
 Post (Json::Value *storage)
 
virtual ~Post ()
 
const StringPiece GetTypeName () const
 
bool has_author () const
 
void clear_author ()
 
const PostAuthor get_author () const
 
PostAuthor mutable_author ()
 
bool has_blog () const
 
void clear_blog ()
 
const PostBlog get_blog () const
 
PostBlog mutable_blog ()
 
bool has_content () const
 
void clear_content ()
 
const StringPiece get_content () const
 
void set_content (const StringPiece &value)
 
bool has_custom_meta_data () const
 
void clear_custom_meta_data ()
 
const StringPiece get_custom_meta_data () const
 
void set_custom_meta_data (const StringPiece &value)
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_images () const
 
void clear_images ()
 
const client::JsonCppArray< PostImagesget_images () const
 
client::JsonCppArray< PostImagesmutable_images ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_labels () const
 
void clear_labels ()
 
const client::JsonCppArray< string > get_labels () const
 
client::JsonCppArray< string > mutable_labels ()
 
bool has_location () const
 
void clear_location ()
 
const PostLocation get_location () const
 
PostLocation mutable_location ()
 
bool has_published () const
 
void clear_published ()
 
const StringPiece get_published () const
 
void set_published (const StringPiece &value)
 
bool has_reader_comments () const
 
void clear_reader_comments ()
 
const StringPiece get_reader_comments () const
 
void set_reader_comments (const StringPiece &value)
 
bool has_replies () const
 
void clear_replies ()
 
const PostReplies get_replies () const
 
PostReplies mutable_replies ()
 
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_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 
bool has_title_link () const
 
void clear_title_link ()
 
const StringPiece get_title_link () const
 
void set_title_link (const StringPiece &value)
 
bool has_updated () const
 
void clear_updated ()
 
const StringPiece get_updated () const
 
void set_updated (const StringPiece &value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 

Static Public Member Functions

static PostNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Post() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Post() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Post()

google_blogger_api::Post::~Post ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_author()

void google_blogger_api::Post::clear_author ( )
inline

Clears the 'author' attribute.

◆ clear_blog()

void google_blogger_api::Post::clear_blog ( )
inline

Clears the 'blog' attribute.

◆ clear_content()

void google_blogger_api::Post::clear_content ( )
inline

Clears the 'content' attribute.

◆ clear_custom_meta_data()

void google_blogger_api::Post::clear_custom_meta_data ( )
inline

Clears the 'customMetaData' attribute.

◆ clear_etag()

void google_blogger_api::Post::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_id()

void google_blogger_api::Post::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_images()

void google_blogger_api::Post::clear_images ( )
inline

Clears the 'images' attribute.

◆ clear_kind()

void google_blogger_api::Post::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_labels()

void google_blogger_api::Post::clear_labels ( )
inline

Clears the 'labels' attribute.

◆ clear_location()

void google_blogger_api::Post::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_published()

void google_blogger_api::Post::clear_published ( )
inline

Clears the 'published' attribute.

◆ clear_reader_comments()

void google_blogger_api::Post::clear_reader_comments ( )
inline

Clears the 'readerComments' attribute.

◆ clear_replies()

void google_blogger_api::Post::clear_replies ( )
inline

Clears the 'replies' attribute.

◆ clear_self_link()

void google_blogger_api::Post::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_status()

void google_blogger_api::Post::clear_status ( )
inline

Clears the 'status' attribute.

◆ clear_title()

void google_blogger_api::Post::clear_title ( )
inline

Clears the 'title' attribute.

◆ clear_title_link()

void google_blogger_api::Post::clear_title_link ( )
inline

Clears the 'titleLink' attribute.

◆ clear_updated()

void google_blogger_api::Post::clear_updated ( )
inline

Clears the 'updated' attribute.

◆ clear_url()

void google_blogger_api::Post::clear_url ( )
inline

Clears the 'url' attribute.

◆ get_author()

const PostAuthor google_blogger_api::Post::get_author ( ) const
inline

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

◆ get_blog()

const PostBlog google_blogger_api::Post::get_blog ( ) const
inline

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

◆ get_content()

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

Get the value of the 'content' attribute.

◆ get_custom_meta_data()

const StringPiece google_blogger_api::Post::get_custom_meta_data ( ) const
inline

Get the value of the 'customMetaData' attribute.

◆ get_etag()

const StringPiece google_blogger_api::Post::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_images()

const client::JsonCppArray<PostImages > google_blogger_api::Post::get_images ( ) const
inline

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_labels()

const client::JsonCppArray<string > google_blogger_api::Post::get_labels ( ) const
inline

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

◆ get_location()

const PostLocation google_blogger_api::Post::get_location ( ) const
inline

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

◆ get_published()

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

Get the value of the 'published' attribute.

◆ get_reader_comments()

const StringPiece google_blogger_api::Post::get_reader_comments ( ) const
inline

Get the value of the 'readerComments' attribute.

◆ get_replies()

const PostReplies google_blogger_api::Post::get_replies ( ) const
inline

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

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ get_status()

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

Get the value of the 'status' attribute.

◆ get_title()

const StringPiece google_blogger_api::Post::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ get_title_link()

const StringPiece google_blogger_api::Post::get_title_link ( ) const
inline

Get the value of the 'titleLink' attribute.

◆ get_updated()

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

Get the value of the 'updated' attribute.

◆ get_url()

const StringPiece google_blogger_api::Post::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_blogger_api::Post

◆ has_author()

bool google_blogger_api::Post::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::Post::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::Post::has_content ( ) const
inline

Determine if the 'content' attribute was set.

Returns
true if the 'content' attribute was set.

◆ has_custom_meta_data()

bool google_blogger_api::Post::has_custom_meta_data ( ) const
inline

Determine if the 'customMetaData' attribute was set.

Returns
true if the 'customMetaData' attribute was set.

◆ has_etag()

bool google_blogger_api::Post::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_id()

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

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_images()

bool google_blogger_api::Post::has_images ( ) const
inline

Determine if the 'images' attribute was set.

Returns
true if the 'images' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_labels()

bool google_blogger_api::Post::has_labels ( ) const
inline

Determine if the 'labels' attribute was set.

Returns
true if the 'labels' attribute was set.

◆ has_location()

bool google_blogger_api::Post::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_published()

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

Determine if the 'published' attribute was set.

Returns
true if the 'published' attribute was set.

◆ has_reader_comments()

bool google_blogger_api::Post::has_reader_comments ( ) const
inline

Determine if the 'readerComments' attribute was set.

Returns
true if the 'readerComments' attribute was set.

◆ has_replies()

bool google_blogger_api::Post::has_replies ( ) const
inline

Determine if the 'replies' attribute was set.

Returns
true if the 'replies' attribute was set.

◆ has_self_link()

bool google_blogger_api::Post::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::Post::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ has_title()

bool google_blogger_api::Post::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ has_title_link()

bool google_blogger_api::Post::has_title_link ( ) const
inline

Determine if the 'titleLink' attribute was set.

Returns
true if the 'titleLink' attribute was set.

◆ has_updated()

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

Determine if the 'updated' attribute was set.

Returns
true if the 'updated' attribute was set.

◆ has_url()

bool google_blogger_api::Post::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ mutable_author()

PostAuthor google_blogger_api::Post::mutable_author ( )
inline

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

The author of this Post.

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

◆ mutable_blog()

PostBlog google_blogger_api::Post::mutable_blog ( )
inline

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

Data about the blog containing this Post.

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

◆ mutable_images()

client::JsonCppArray<PostImages > google_blogger_api::Post::mutable_images ( )
inline

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

Display image for the Post.

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

◆ mutable_labels()

client::JsonCppArray<string > google_blogger_api::Post::mutable_labels ( )
inline

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

The list of labels this Post was tagged with.

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

◆ mutable_location()

PostLocation google_blogger_api::Post::mutable_location ( )
inline

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

The location for geotagged posts.

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

◆ mutable_replies()

PostReplies google_blogger_api::Post::mutable_replies ( )
inline

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

The container of comments on this Post.

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

◆ New()

Post * google_blogger_api::Post::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_content()

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

Change the 'content' attribute.

The content of the Post. May contain HTML markup.

Parameters
[in]valueThe new value.

◆ set_custom_meta_data()

void google_blogger_api::Post::set_custom_meta_data ( const StringPiece &  value)
inline

Change the 'customMetaData' attribute.

The JSON meta-data for the Post.

Parameters
[in]valueThe new value.

◆ set_etag()

void google_blogger_api::Post::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

Etag of the resource.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

The identifier of this Post.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

The kind of this entity. Always blogger::post.

Parameters
[in]valueThe new value.

◆ set_published()

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

Change the 'published' attribute.

RFC 3339 date-time when this Post was published.

Parameters
[in]valueThe new value.

◆ set_reader_comments()

void google_blogger_api::Post::set_reader_comments ( const StringPiece &  value)
inline

Change the 'readerComments' attribute.

Comment control and display setting for readers of this post.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_blogger_api::Post::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::Post::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

Status of the post. Only set for admin-level requests.

Parameters
[in]valueThe new value.

◆ set_title()

void google_blogger_api::Post::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

The title of the Post.

Parameters
[in]valueThe new value.

◆ set_title_link()

void google_blogger_api::Post::set_title_link ( const StringPiece &  value)
inline

Change the 'titleLink' attribute.

The title link URL, similar to atom's related link.

Parameters
[in]valueThe new value.

◆ set_updated()

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

Change the 'updated' attribute.

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

Parameters
[in]valueThe new value.

◆ set_url()

void google_blogger_api::Post::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

The URL where this Post is displayed.

Parameters
[in]valueThe new value.

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