#include <post.h>
◆ Post() [1/2]
google_blogger_api::Post::Post |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Post()
google_blogger_api::Post::~Post |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ set_etag()
void google_blogger_api::Post::set_etag |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'etag
' attribute.
Etag of the resource.
- Parameters
-
◆ set_id()
void google_blogger_api::Post::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
The identifier of this Post.
- Parameters
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ set_title()
void google_blogger_api::Post::set_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'title
' attribute.
The title of the Post.
- Parameters
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/blogger_api/post.h
- google/blogger_api/post.cc