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

#include <acl_rule.h>

Inheritance diagram for google_calendar_api::AclRule:

Classes

class  AclRuleScope
 

Public Member Functions

 AclRule (const Json::Value &storage)
 
 AclRule (Json::Value *storage)
 
virtual ~AclRule ()
 
const StringPiece GetTypeName () const
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (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)
 
bool has_role () const
 
void clear_role ()
 
const StringPiece get_role () const
 
void set_role (const StringPiece &value)
 
bool has_scope () const
 
void clear_scope ()
 
const AclRuleScope get_scope () const
 
AclRuleScope mutable_scope ()
 

Static Public Member Functions

static AclRuleNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ AclRule() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AclRule() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AclRule()

google_calendar_api::AclRule::~AclRule ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_etag()

void google_calendar_api::AclRule::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_id()

void google_calendar_api::AclRule::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_calendar_api::AclRule::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_role()

void google_calendar_api::AclRule::clear_role ( )
inline

Clears the 'role' attribute.

◆ clear_scope()

void google_calendar_api::AclRule::clear_scope ( )
inline

Clears the 'scope' attribute.

◆ get_etag()

const StringPiece google_calendar_api::AclRule::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_id()

const StringPiece google_calendar_api::AclRule::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_calendar_api::AclRule::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_role()

const StringPiece google_calendar_api::AclRule::get_role ( ) const
inline

Get the value of the 'role' attribute.

◆ get_scope()

const AclRuleScope google_calendar_api::AclRule::get_scope ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_calendar_api::AclRule

◆ has_etag()

bool google_calendar_api::AclRule::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_id()

bool google_calendar_api::AclRule::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_calendar_api::AclRule::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_role()

bool google_calendar_api::AclRule::has_role ( ) const
inline

Determine if the 'role' attribute was set.

Returns
true if the 'role' attribute was set.

◆ has_scope()

bool google_calendar_api::AclRule::has_scope ( ) const
inline

Determine if the 'scope' attribute was set.

Returns
true if the 'scope' attribute was set.

◆ mutable_scope()

AclRuleScope google_calendar_api::AclRule::mutable_scope ( )
inline

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

The scope of the rule.

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

◆ New()

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

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_calendar_api::AclRule::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

ETag of the resource.

Parameters
[in]valueThe new value.

◆ set_id()

void google_calendar_api::AclRule::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

Identifier of the ACL rule.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_calendar_api::AclRule::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Type of the resource ("calendar#aclRule").

Parameters
[in]valueThe new value.

◆ set_role()

void google_calendar_api::AclRule::set_role ( const StringPiece &  value)
inline

Change the 'role' attribute.

The role assigned to the scope. Possible values are:

"none"
Provides no access.
"freeBusyReader"
Provides read access to free/busy information.
"reader"
Provides read access to the calendar. Private events will appear to users with reader access, but event details will be hidden.
"writer"
Provides read and write access to the calendar. Private events will appear to users with writer access, and event details will be visible.
"owner"
Provides ownership of the calendar. This role has all of the permissions of the writer role with the additional ability to see and manipulate ACLs.
Parameters
[in]valueThe new value.

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