analytics  v3
Public Member Functions | Static Public Member Functions | List of all members
google_analytics_api::AccountSummary Class Reference

#include <account_summary.h>

Inheritance diagram for google_analytics_api::AccountSummary:

Public Member Functions

 AccountSummary (const Json::Value &storage)
 
 AccountSummary (Json::Value *storage)
 
virtual ~AccountSummary ()
 
const StringPiece GetTypeName () const
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_starred () const
 
void clear_starred ()
 
bool get_starred () const
 
void set_starred (bool value)
 
bool has_web_properties () const
 
void clear_web_properties ()
 
const client::JsonCppArray< WebPropertySummaryget_web_properties () const
 
client::JsonCppArray< WebPropertySummarymutable_webProperties ()
 

Static Public Member Functions

static AccountSummaryNew ()
 

Detailed Description

JSON template for an Analytics AccountSummary. An AccountSummary is a lightweight tree comprised of properties/profiles.

Constructor & Destructor Documentation

◆ AccountSummary() [1/2]

google_analytics_api::AccountSummary::AccountSummary ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AccountSummary() [2/2]

google_analytics_api::AccountSummary::AccountSummary ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AccountSummary()

google_analytics_api::AccountSummary::~AccountSummary ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_id()

void google_analytics_api::AccountSummary::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::AccountSummary::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_analytics_api::AccountSummary::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_starred()

void google_analytics_api::AccountSummary::clear_starred ( )
inline

Clears the 'starred' attribute.

◆ clear_web_properties()

void google_analytics_api::AccountSummary::clear_web_properties ( )
inline

Clears the 'webProperties' attribute.

◆ get_id()

const StringPiece google_analytics_api::AccountSummary::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_analytics_api::AccountSummary::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_analytics_api::AccountSummary::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_starred()

bool google_analytics_api::AccountSummary::get_starred ( ) const
inline

Get the value of the 'starred' attribute.

◆ get_web_properties()

const client::JsonCppArray<WebPropertySummary > google_analytics_api::AccountSummary::get_web_properties ( ) const

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

◆ GetTypeName()

const StringPiece google_analytics_api::AccountSummary::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_analytics_api::AccountSummary

◆ has_id()

bool google_analytics_api::AccountSummary::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_analytics_api::AccountSummary::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_analytics_api::AccountSummary::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_starred()

bool google_analytics_api::AccountSummary::has_starred ( ) const
inline

Determine if the 'starred' attribute was set.

Returns
true if the 'starred' attribute was set.

◆ has_web_properties()

bool google_analytics_api::AccountSummary::has_web_properties ( ) const
inline

Determine if the 'webProperties' attribute was set.

Returns
true if the 'webProperties' attribute was set.

◆ mutable_webProperties()

client::JsonCppArray<WebPropertySummary > google_analytics_api::AccountSummary::mutable_webProperties ( )

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

List of web properties under this account.

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

◆ New()

AccountSummary * google_analytics_api::AccountSummary::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

void google_analytics_api::AccountSummary::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

Account ID.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_analytics_api::AccountSummary::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Resource type for Analytics AccountSummary.

Parameters
[in]valueThe new value.

◆ set_name()

void google_analytics_api::AccountSummary::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Account name.

Parameters
[in]valueThe new value.

◆ set_starred()

void google_analytics_api::AccountSummary::set_starred ( bool  value)
inline

Change the 'starred' attribute.

Indicates whether this account is starred or not.

Parameters
[in]valueThe new value.

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