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

#include <profile_summary.h>

Inheritance diagram for google_analytics_api::ProfileSummary:

Public Member Functions

 ProfileSummary (const Json::Value &storage)
 
 ProfileSummary (Json::Value *storage)
 
virtual ~ProfileSummary ()
 
const StringPiece GetTypeName () const
 
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_starred () const
 
void clear_starred ()
 
bool get_starred () const
 
void set_starred (bool value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static ProfileSummaryNew ()
 

Detailed Description

JSON template for an Analytics ProfileSummary. ProfileSummary returns basic information (i.e., summary) for a profile.

Constructor & Destructor Documentation

◆ ProfileSummary() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ProfileSummary() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ProfileSummary()

google_analytics_api::ProfileSummary::~ProfileSummary ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_id()

void google_analytics_api::ProfileSummary::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::ProfileSummary::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_analytics_api::ProfileSummary::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_starred()

void google_analytics_api::ProfileSummary::clear_starred ( )
inline

Clears the 'starred' attribute.

◆ clear_type()

void google_analytics_api::ProfileSummary::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_starred()

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

Get the value of the 'starred' attribute.

◆ get_type()

const StringPiece google_analytics_api::ProfileSummary::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::ProfileSummary

◆ has_id()

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

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_starred()

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

Determine if the 'starred' attribute was set.

Returns
true if the 'starred' attribute was set.

◆ has_type()

bool google_analytics_api::ProfileSummary::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

ProfileSummary * google_analytics_api::ProfileSummary::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

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

Change the 'id' attribute.

View (profile) ID.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for Analytics ProfileSummary.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

View (profile) name.

Parameters
[in]valueThe new value.

◆ set_starred()

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

Change the 'starred' attribute.

Indicates whether this view (profile) is starred or not.

Parameters
[in]valueThe new value.

◆ set_type()

void google_analytics_api::ProfileSummary::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

View (Profile) type. Supported types: WEB or APP.

Parameters
[in]valueThe new value.

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