#include <pageviews.h>
◆ PageviewsCounts() [1/2]
google_blogger_api::Pageviews::PageviewsCounts::PageviewsCounts |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ PageviewsCounts() [2/2]
google_blogger_api::Pageviews::PageviewsCounts::PageviewsCounts |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~PageviewsCounts()
google_blogger_api::Pageviews::PageviewsCounts::~PageviewsCounts |
( |
| ) |
|
|
virtual |
◆ clear_count()
void google_blogger_api::Pageviews::PageviewsCounts::clear_count |
( |
| ) |
|
|
inline |
Clears the 'count
' attribute.
◆ clear_time_range()
void google_blogger_api::Pageviews::PageviewsCounts::clear_time_range |
( |
| ) |
|
|
inline |
Clears the 'timeRange
' attribute.
◆ get_count()
int64 google_blogger_api::Pageviews::PageviewsCounts::get_count |
( |
| ) |
const |
|
inline |
Get the value of the 'count
' attribute.
◆ get_time_range()
const StringPiece google_blogger_api::Pageviews::PageviewsCounts::get_time_range |
( |
| ) |
const |
|
inline |
Get the value of the 'timeRange
' attribute.
◆ GetTypeName()
const StringPiece google_blogger_api::Pageviews::PageviewsCounts::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_blogger_api::PageviewsCounts
◆ has_count()
bool google_blogger_api::Pageviews::PageviewsCounts::has_count |
( |
| ) |
const |
|
inline |
Determine if the 'count
' attribute was set.
- Returns
- true if the '
count
' attribute was set.
◆ has_time_range()
bool google_blogger_api::Pageviews::PageviewsCounts::has_time_range |
( |
| ) |
const |
|
inline |
Determine if the 'timeRange
' attribute was set.
- Returns
- true if the '
timeRange
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_count()
void google_blogger_api::Pageviews::PageviewsCounts::set_count |
( |
int64 |
value | ) |
|
|
inline |
Change the 'count
' attribute.
Count of page views for the given time range.
- Parameters
-
◆ set_time_range()
void google_blogger_api::Pageviews::PageviewsCounts::set_time_range |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'timeRange
' attribute.
Time range the given count applies to.
- Parameters
-
The documentation for this class was generated from the following files:
- google/blogger_api/pageviews.h
- google/blogger_api/pageviews.cc