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

#include <custom_metric.h>

Inheritance diagram for google_analytics_api::CustomMetric::CustomMetricParentLink:

Public Member Functions

 CustomMetricParentLink (const Json::Value &storage)
 
 CustomMetricParentLink (Json::Value *storage)
 
virtual ~CustomMetricParentLink ()
 
const StringPiece GetTypeName () const
 
bool has_href () const
 
void clear_href ()
 
const StringPiece get_href () const
 
void set_href (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static CustomMetricParentLinkNew ()
 

Detailed Description

Parent link for the custom metric. Points to the property to which the custom metric belongs.

Constructor & Destructor Documentation

◆ CustomMetricParentLink() [1/2]

google_analytics_api::CustomMetric::CustomMetricParentLink::CustomMetricParentLink ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ CustomMetricParentLink() [2/2]

google_analytics_api::CustomMetric::CustomMetricParentLink::CustomMetricParentLink ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~CustomMetricParentLink()

google_analytics_api::CustomMetric::CustomMetricParentLink::~CustomMetricParentLink ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_href()

void google_analytics_api::CustomMetric::CustomMetricParentLink::clear_href ( )
inline

Clears the 'href' attribute.

◆ clear_type()

void google_analytics_api::CustomMetric::CustomMetricParentLink::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_href()

const StringPiece google_analytics_api::CustomMetric::CustomMetricParentLink::get_href ( ) const
inline

Get the value of the 'href' attribute.

◆ get_type()

const StringPiece google_analytics_api::CustomMetric::CustomMetricParentLink::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

const StringPiece google_analytics_api::CustomMetric::CustomMetricParentLink::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_analytics_api::CustomMetricParentLink

◆ has_href()

bool google_analytics_api::CustomMetric::CustomMetricParentLink::has_href ( ) const
inline

Determine if the 'href' attribute was set.

Returns
true if the 'href' attribute was set.

◆ has_type()

bool google_analytics_api::CustomMetric::CustomMetricParentLink::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

CustomMetric::CustomMetricParentLink * google_analytics_api::CustomMetric::CustomMetricParentLink::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_href()

void google_analytics_api::CustomMetric::CustomMetricParentLink::set_href ( const StringPiece &  value)
inline

Change the 'href' attribute.

Link to the property to which the custom metric belongs.

Parameters
[in]valueThe new value.

◆ set_type()

void google_analytics_api::CustomMetric::CustomMetricParentLink::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

Type of the parent link. Set to "analytics#webproperty".

Parameters
[in]valueThe new value.

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