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

#include <free_busy_calendar.h>

Inheritance diagram for google_calendar_api::FreeBusyCalendar:

Public Member Functions

 FreeBusyCalendar (const Json::Value &storage)
 
 FreeBusyCalendar (Json::Value *storage)
 
virtual ~FreeBusyCalendar ()
 
const StringPiece GetTypeName () const
 
bool has_busy () const
 
void clear_busy ()
 
const client::JsonCppArray< TimePeriodget_busy () const
 
client::JsonCppArray< TimePeriodmutable_busy ()
 
bool has_errors () const
 
void clear_errors ()
 
const client::JsonCppArray< Errorget_errors () const
 
client::JsonCppArray< Errormutable_errors ()
 

Static Public Member Functions

static FreeBusyCalendarNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ FreeBusyCalendar() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ FreeBusyCalendar() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~FreeBusyCalendar()

google_calendar_api::FreeBusyCalendar::~FreeBusyCalendar ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_busy()

void google_calendar_api::FreeBusyCalendar::clear_busy ( )
inline

Clears the 'busy' attribute.

◆ clear_errors()

void google_calendar_api::FreeBusyCalendar::clear_errors ( )
inline

Clears the 'errors' attribute.

◆ get_busy()

const client::JsonCppArray<TimePeriod > google_calendar_api::FreeBusyCalendar::get_busy ( ) const

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

◆ get_errors()

const client::JsonCppArray<Error > google_calendar_api::FreeBusyCalendar::get_errors ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_calendar_api::FreeBusyCalendar

◆ has_busy()

bool google_calendar_api::FreeBusyCalendar::has_busy ( ) const
inline

Determine if the 'busy' attribute was set.

Returns
true if the 'busy' attribute was set.

◆ has_errors()

bool google_calendar_api::FreeBusyCalendar::has_errors ( ) const
inline

Determine if the 'errors' attribute was set.

Returns
true if the 'errors' attribute was set.

◆ mutable_busy()

client::JsonCppArray<TimePeriod > google_calendar_api::FreeBusyCalendar::mutable_busy ( )

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

List of time ranges during which this calendar should be regarded as busy.

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

◆ mutable_errors()

client::JsonCppArray<Error > google_calendar_api::FreeBusyCalendar::mutable_errors ( )

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

Optional error(s) (if computation for the calendar failed).

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

◆ New()

FreeBusyCalendar * google_calendar_api::FreeBusyCalendar::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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