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

#include <user_ref.h>

Inheritance diagram for google_analytics_api::UserRef:

Public Member Functions

 UserRef (const Json::Value &storage)
 
 UserRef (Json::Value *storage)
 
virtual ~UserRef ()
 
const StringPiece GetTypeName () const
 
bool has_email () const
 
void clear_email ()
 
const StringPiece get_email () const
 
void set_email (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)
 

Static Public Member Functions

static UserRefNew ()
 

Detailed Description

JSON template for a user reference.

Constructor & Destructor Documentation

◆ UserRef() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ UserRef() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~UserRef()

google_analytics_api::UserRef::~UserRef ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_email()

void google_analytics_api::UserRef::clear_email ( )
inline

Clears the 'email' attribute.

◆ clear_id()

void google_analytics_api::UserRef::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::UserRef::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ get_email()

const StringPiece google_analytics_api::UserRef::get_email ( ) const
inline

Get the value of the 'email' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::UserRef

◆ has_email()

bool google_analytics_api::UserRef::has_email ( ) const
inline

Determine if the 'email' attribute was set.

Returns
true if the 'email' attribute was set.

◆ has_id()

bool google_analytics_api::UserRef::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::UserRef::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ New()

UserRef * google_analytics_api::UserRef::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_email()

void google_analytics_api::UserRef::set_email ( const StringPiece &  value)
inline

Change the 'email' attribute.

Email ID of this user.

Parameters
[in]valueThe new value.

◆ set_id()

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

Change the 'id' attribute.

User ID.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Parameters
[in]valueThe new value.

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