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

#include <account_tree_response.h>

Inheritance diagram for google_analytics_api::AccountTreeResponse:

Public Member Functions

 AccountTreeResponse (const Json::Value &storage)
 
 AccountTreeResponse (Json::Value *storage)
 
virtual ~AccountTreeResponse ()
 
const StringPiece GetTypeName () const
 
bool has_account () const
 
void clear_account ()
 
const Account get_account () const
 
Account mutable_account ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_profile () const
 
void clear_profile ()
 
const Profile get_profile () const
 
Profile mutable_profile ()
 
bool has_webproperty () const
 
void clear_webproperty ()
 
const Webproperty get_webproperty () const
 
Webproperty mutable_webproperty ()
 

Static Public Member Functions

static AccountTreeResponseNew ()
 

Detailed Description

JSON template for an Analytics account tree response. The account tree response is used in the provisioning api to return the result of creating an account, property, and view (profile).

Constructor & Destructor Documentation

◆ AccountTreeResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AccountTreeResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AccountTreeResponse()

google_analytics_api::AccountTreeResponse::~AccountTreeResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_account()

void google_analytics_api::AccountTreeResponse::clear_account ( )
inline

Clears the 'account' attribute.

◆ clear_kind()

void google_analytics_api::AccountTreeResponse::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_profile()

void google_analytics_api::AccountTreeResponse::clear_profile ( )
inline

Clears the 'profile' attribute.

◆ clear_webproperty()

void google_analytics_api::AccountTreeResponse::clear_webproperty ( )
inline

Clears the 'webproperty' attribute.

◆ get_account()

const Account google_analytics_api::AccountTreeResponse::get_account ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_profile()

const Profile google_analytics_api::AccountTreeResponse::get_profile ( ) const

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

◆ get_webproperty()

const Webproperty google_analytics_api::AccountTreeResponse::get_webproperty ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::AccountTreeResponse

◆ has_account()

bool google_analytics_api::AccountTreeResponse::has_account ( ) const
inline

Determine if the 'account' attribute was set.

Returns
true if the 'account' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_profile()

bool google_analytics_api::AccountTreeResponse::has_profile ( ) const
inline

Determine if the 'profile' attribute was set.

Returns
true if the 'profile' attribute was set.

◆ has_webproperty()

bool google_analytics_api::AccountTreeResponse::has_webproperty ( ) const
inline

Determine if the 'webproperty' attribute was set.

Returns
true if the 'webproperty' attribute was set.

◆ mutable_account()

Account google_analytics_api::AccountTreeResponse::mutable_account ( )

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

The account created.

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

◆ mutable_profile()

Profile google_analytics_api::AccountTreeResponse::mutable_profile ( )

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

View (Profile) for the account.

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

◆ mutable_webproperty()

Webproperty google_analytics_api::AccountTreeResponse::mutable_webproperty ( )

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

Web property for the account.

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

◆ New()

AccountTreeResponse * google_analytics_api::AccountTreeResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for account ticket.

Parameters
[in]valueThe new value.

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