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

#include <account_ticket.h>

Inheritance diagram for google_analytics_api::AccountTicket:

Public Member Functions

 AccountTicket (const Json::Value &storage)
 
 AccountTicket (Json::Value *storage)
 
virtual ~AccountTicket ()
 
const StringPiece GetTypeName () const
 
bool has_account () const
 
void clear_account ()
 
const Account get_account () const
 
Account mutable_account ()
 
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_profile () const
 
void clear_profile ()
 
const Profile get_profile () const
 
Profile mutable_profile ()
 
bool has_redirect_uri () const
 
void clear_redirect_uri ()
 
const StringPiece get_redirect_uri () const
 
void set_redirect_uri (const StringPiece &value)
 
bool has_webproperty () const
 
void clear_webproperty ()
 
const Webproperty get_webproperty () const
 
Webproperty mutable_webproperty ()
 

Static Public Member Functions

static AccountTicketNew ()
 

Detailed Description

JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.

Constructor & Destructor Documentation

◆ AccountTicket() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AccountTicket() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AccountTicket()

google_analytics_api::AccountTicket::~AccountTicket ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_account()

void google_analytics_api::AccountTicket::clear_account ( )
inline

Clears the 'account' attribute.

◆ clear_id()

void google_analytics_api::AccountTicket::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::AccountTicket::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_profile()

void google_analytics_api::AccountTicket::clear_profile ( )
inline

Clears the 'profile' attribute.

◆ clear_redirect_uri()

void google_analytics_api::AccountTicket::clear_redirect_uri ( )
inline

Clears the 'redirectUri' attribute.

◆ clear_webproperty()

void google_analytics_api::AccountTicket::clear_webproperty ( )
inline

Clears the 'webproperty' attribute.

◆ get_account()

const Account google_analytics_api::AccountTicket::get_account ( ) const

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

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_profile()

const Profile google_analytics_api::AccountTicket::get_profile ( ) const

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

◆ get_redirect_uri()

const StringPiece google_analytics_api::AccountTicket::get_redirect_uri ( ) const
inline

Get the value of the 'redirectUri' attribute.

◆ get_webproperty()

const Webproperty google_analytics_api::AccountTicket::get_webproperty ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::AccountTicket

◆ has_account()

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

Determine if the 'account' attribute was set.

Returns
true if the 'account' attribute was set.

◆ has_id()

bool google_analytics_api::AccountTicket::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::AccountTicket::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::AccountTicket::has_profile ( ) const
inline

Determine if the 'profile' attribute was set.

Returns
true if the 'profile' attribute was set.

◆ has_redirect_uri()

bool google_analytics_api::AccountTicket::has_redirect_uri ( ) const
inline

Determine if the 'redirectUri' attribute was set.

Returns
true if the 'redirectUri' attribute was set.

◆ has_webproperty()

bool google_analytics_api::AccountTicket::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::AccountTicket::mutable_account ( )

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

Account for this ticket.

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

◆ mutable_profile()

Profile google_analytics_api::AccountTicket::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::AccountTicket::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()

AccountTicket * google_analytics_api::AccountTicket::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

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

Change the 'id' attribute.

Account ticket ID used to access the account ticket.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for account ticket.

Parameters
[in]valueThe new value.

◆ set_redirect_uri()

void google_analytics_api::AccountTicket::set_redirect_uri ( const StringPiece &  value)
inline

Change the 'redirectUri' attribute.

Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.

Parameters
[in]valueThe new value.

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