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

#include <entity_user_link.h>

Inheritance diagram for google_analytics_api::EntityUserLink:

Classes

class  EntityUserLinkEntity
 
class  EntityUserLinkPermissions
 

Public Member Functions

 EntityUserLink (const Json::Value &storage)
 
 EntityUserLink (Json::Value *storage)
 
virtual ~EntityUserLink ()
 
const StringPiece GetTypeName () const
 
bool has_entity () const
 
void clear_entity ()
 
const EntityUserLinkEntity get_entity () const
 
EntityUserLinkEntity mutable_entity ()
 
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_permissions () const
 
void clear_permissions ()
 
const EntityUserLinkPermissions get_permissions () const
 
EntityUserLinkPermissions mutable_permissions ()
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_user_ref () const
 
void clear_user_ref ()
 
const UserRef get_user_ref () const
 
UserRef mutable_userRef ()
 

Static Public Member Functions

static EntityUserLinkNew ()
 

Detailed Description

JSON template for an Analytics Entity-User Link. Returns permissions that a user has for an entity.

Constructor & Destructor Documentation

◆ EntityUserLink() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EntityUserLink() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EntityUserLink()

google_analytics_api::EntityUserLink::~EntityUserLink ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_entity()

void google_analytics_api::EntityUserLink::clear_entity ( )
inline

Clears the 'entity' attribute.

◆ clear_id()

void google_analytics_api::EntityUserLink::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_analytics_api::EntityUserLink::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_permissions()

void google_analytics_api::EntityUserLink::clear_permissions ( )
inline

Clears the 'permissions' attribute.

◆ clear_self_link()

void google_analytics_api::EntityUserLink::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_user_ref()

void google_analytics_api::EntityUserLink::clear_user_ref ( )
inline

Clears the 'userRef' attribute.

◆ get_entity()

const EntityUserLinkEntity google_analytics_api::EntityUserLink::get_entity ( ) const
inline

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

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_permissions()

const EntityUserLinkPermissions google_analytics_api::EntityUserLink::get_permissions ( ) const
inline

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

◆ get_self_link()

const StringPiece google_analytics_api::EntityUserLink::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_user_ref()

const UserRef google_analytics_api::EntityUserLink::get_user_ref ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_analytics_api::EntityUserLink

◆ has_entity()

bool google_analytics_api::EntityUserLink::has_entity ( ) const
inline

Determine if the 'entity' attribute was set.

Returns
true if the 'entity' attribute was set.

◆ has_id()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_permissions()

bool google_analytics_api::EntityUserLink::has_permissions ( ) const
inline

Determine if the 'permissions' attribute was set.

Returns
true if the 'permissions' attribute was set.

◆ has_self_link()

bool google_analytics_api::EntityUserLink::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_user_ref()

bool google_analytics_api::EntityUserLink::has_user_ref ( ) const
inline

Determine if the 'userRef' attribute was set.

Returns
true if the 'userRef' attribute was set.

◆ mutable_entity()

EntityUserLinkEntity google_analytics_api::EntityUserLink::mutable_entity ( )
inline

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

Entity for this link. It can be an account, a web property, or a view (profile).

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

◆ mutable_permissions()

EntityUserLinkPermissions google_analytics_api::EntityUserLink::mutable_permissions ( )
inline

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

Permissions the user has for this entity.

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

◆ mutable_userRef()

UserRef google_analytics_api::EntityUserLink::mutable_userRef ( )

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

User reference.

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

◆ New()

EntityUserLink * google_analytics_api::EntityUserLink::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_id()

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

Change the 'id' attribute.

Entity user link ID.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for entity user link.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_analytics_api::EntityUserLink::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

Self link for this resource.

Parameters
[in]valueThe new value.

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