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

#include <account_ref.h>

Inheritance diagram for google_analytics_api::AccountRef:

Public Member Functions

 AccountRef (const Json::Value &storage)
 
 AccountRef (Json::Value *storage)
 
virtual ~AccountRef ()
 
const StringPiece GetTypeName () const
 
bool has_href () const
 
void clear_href ()
 
const StringPiece get_href () const
 
void set_href (const StringPiece &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)
 

Static Public Member Functions

static AccountRefNew ()
 

Detailed Description

JSON template for a linked account.

Constructor & Destructor Documentation

◆ AccountRef() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AccountRef() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AccountRef()

google_analytics_api::AccountRef::~AccountRef ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_href()

void google_analytics_api::AccountRef::clear_href ( )
inline

Clears the 'href' attribute.

◆ clear_id()

void google_analytics_api::AccountRef::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::AccountRef::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_analytics_api::AccountRef::clear_name ( )
inline

Clears the 'name' attribute.

◆ get_href()

const StringPiece google_analytics_api::AccountRef::get_href ( ) const
inline

Get the value of the 'href' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::AccountRef

◆ has_href()

bool google_analytics_api::AccountRef::has_href ( ) const
inline

Determine if the 'href' attribute was set.

Returns
true if the 'href' attribute was set.

◆ has_id()

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

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ New()

AccountRef * google_analytics_api::AccountRef::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_href()

void google_analytics_api::AccountRef::set_href ( const StringPiece &  value)
inline

Change the 'href' attribute.

Link for this account.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

Account ID.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Analytics account reference.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

Account name.

Parameters
[in]valueThe new value.

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