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

#include <account.h>

Inheritance diagram for google_analytics_api::Account:

Classes

class  AccountChildLink
 
class  AccountPermissions
 

Public Member Functions

 Account (const Json::Value &storage)
 
 Account (Json::Value *storage)
 
virtual ~Account ()
 
const StringPiece GetTypeName () const
 
bool has_child_link () const
 
void clear_child_link ()
 
const AccountChildLink get_child_link () const
 
AccountChildLink mutable_childLink ()
 
bool has_created () const
 
void clear_created ()
 
client::DateTime get_created () const
 
void set_created (client::DateTime value)
 
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_permissions () const
 
void clear_permissions ()
 
const AccountPermissions get_permissions () const
 
AccountPermissions mutable_permissions ()
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_starred () const
 
void clear_starred ()
 
bool get_starred () const
 
void set_starred (bool value)
 
bool has_updated () const
 
void clear_updated ()
 
client::DateTime get_updated () const
 
void set_updated (client::DateTime value)
 

Static Public Member Functions

static AccountNew ()
 

Detailed Description

JSON template for Analytics account entry.

Constructor & Destructor Documentation

◆ Account() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Account() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Account()

google_analytics_api::Account::~Account ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_child_link()

void google_analytics_api::Account::clear_child_link ( )
inline

Clears the 'childLink' attribute.

◆ clear_created()

void google_analytics_api::Account::clear_created ( )
inline

Clears the 'created' attribute.

◆ clear_id()

void google_analytics_api::Account::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::Account::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_analytics_api::Account::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_permissions()

void google_analytics_api::Account::clear_permissions ( )
inline

Clears the 'permissions' attribute.

◆ clear_self_link()

void google_analytics_api::Account::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_starred()

void google_analytics_api::Account::clear_starred ( )
inline

Clears the 'starred' attribute.

◆ clear_updated()

void google_analytics_api::Account::clear_updated ( )
inline

Clears the 'updated' attribute.

◆ get_child_link()

const AccountChildLink google_analytics_api::Account::get_child_link ( ) const
inline

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

◆ get_created()

client::DateTime google_analytics_api::Account::get_created ( ) const
inline

Get the value of the 'created' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_permissions()

const AccountPermissions google_analytics_api::Account::get_permissions ( ) const
inline

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

◆ get_self_link()

const StringPiece google_analytics_api::Account::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_starred()

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

Get the value of the 'starred' attribute.

◆ get_updated()

client::DateTime google_analytics_api::Account::get_updated ( ) const
inline

Get the value of the 'updated' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::Account

◆ has_child_link()

bool google_analytics_api::Account::has_child_link ( ) const
inline

Determine if the 'childLink' attribute was set.

Returns
true if the 'childLink' attribute was set.

◆ has_created()

bool google_analytics_api::Account::has_created ( ) const
inline

Determine if the 'created' attribute was set.

Returns
true if the 'created' attribute was set.

◆ has_id()

bool google_analytics_api::Account::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::Account::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::Account::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_permissions()

bool google_analytics_api::Account::has_permissions ( ) const
inline

Determine if the 'permissions' attribute was set.

Returns
true if the 'permissions' attribute was set.

◆ has_self_link()

bool google_analytics_api::Account::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_starred()

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

Determine if the 'starred' attribute was set.

Returns
true if the 'starred' attribute was set.

◆ has_updated()

bool google_analytics_api::Account::has_updated ( ) const
inline

Determine if the 'updated' attribute was set.

Returns
true if the 'updated' attribute was set.

◆ mutable_childLink()

AccountChildLink google_analytics_api::Account::mutable_childLink ( )
inline

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

Child link for an account entry. Points to the list of web properties for this account.

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

◆ mutable_permissions()

AccountPermissions google_analytics_api::Account::mutable_permissions ( )
inline

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

Permissions the user has for this account.

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

◆ New()

Account * google_analytics_api::Account::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_created()

void google_analytics_api::Account::set_created ( client::DateTime  value)
inline

Change the 'created' attribute.

Time the account was created.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

Account ID.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for Analytics account.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

Account name.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_analytics_api::Account::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

Link for this account.

Parameters
[in]valueThe new value.

◆ set_starred()

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

Change the 'starred' attribute.

Indicates whether this account is starred or not.

Parameters
[in]valueThe new value.

◆ set_updated()

void google_analytics_api::Account::set_updated ( client::DateTime  value)
inline

Change the 'updated' attribute.

Time the account was last modified.

Parameters
[in]valueThe new value.

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