calendar  v3
Public Member Functions | Static Public Member Functions | List of all members
google_calendar_api::AclRule::AclRuleScope Class Reference

#include <acl_rule.h>

Inheritance diagram for google_calendar_api::AclRule::AclRuleScope:

Public Member Functions

 AclRuleScope (const Json::Value &storage)
 
 AclRuleScope (Json::Value *storage)
 
virtual ~AclRuleScope ()
 
const StringPiece GetTypeName () const
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const StringPiece get_value () const
 
void set_value (const StringPiece &value)
 

Static Public Member Functions

static AclRuleScopeNew ()
 

Detailed Description

The scope of the rule.

Constructor & Destructor Documentation

◆ AclRuleScope() [1/2]

google_calendar_api::AclRule::AclRuleScope::AclRuleScope ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AclRuleScope() [2/2]

google_calendar_api::AclRule::AclRuleScope::AclRuleScope ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AclRuleScope()

google_calendar_api::AclRule::AclRuleScope::~AclRuleScope ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_type()

void google_calendar_api::AclRule::AclRuleScope::clear_type ( )
inline

Clears the 'type' attribute.

◆ clear_value()

void google_calendar_api::AclRule::AclRuleScope::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_type()

const StringPiece google_calendar_api::AclRule::AclRuleScope::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ get_value()

const StringPiece google_calendar_api::AclRule::AclRuleScope::get_value ( ) const
inline

Get the value of the 'value' attribute.

◆ GetTypeName()

const StringPiece google_calendar_api::AclRule::AclRuleScope::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_calendar_api::AclRuleScope

◆ has_type()

bool google_calendar_api::AclRule::AclRuleScope::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ has_value()

bool google_calendar_api::AclRule::AclRuleScope::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ New()

AclRule::AclRuleScope * google_calendar_api::AclRule::AclRuleScope::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_type()

void google_calendar_api::AclRule::AclRuleScope::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

The type of the scope. Possible values are:

"default"
The public scope. This is the default value.
"user"
Limits the scope to a single user.
"group"
Limits the scope to a group.
"domain"
Limits the scope to a domain. Note: The permissions granted to the "default", or public, scope apply to any user, authenticated or not.
Parameters
[in]valueThe new value.

◆ set_value()

void google_calendar_api::AclRule::AclRuleScope::set_value ( const StringPiece &  value)
inline

Change the 'value' attribute.

The email address of a user or group, or the name of a domain, depending on the scope type. Omitted for type "default".

Parameters
[in]valueThe new value.

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