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

#include <event.h>

Inheritance diagram for google_calendar_api::Event::EventSource:

Public Member Functions

 EventSource (const Json::Value &storage)
 
 EventSource (Json::Value *storage)
 
virtual ~EventSource ()
 
const StringPiece GetTypeName () const
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 

Static Public Member Functions

static EventSourceNew ()
 

Detailed Description

Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event.

Constructor & Destructor Documentation

◆ EventSource() [1/2]

google_calendar_api::Event::EventSource::EventSource ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ EventSource() [2/2]

google_calendar_api::Event::EventSource::EventSource ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~EventSource()

google_calendar_api::Event::EventSource::~EventSource ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_title()

void google_calendar_api::Event::EventSource::clear_title ( )
inline

Clears the 'title' attribute.

◆ clear_url()

void google_calendar_api::Event::EventSource::clear_url ( )
inline

Clears the 'url' attribute.

◆ get_title()

const StringPiece google_calendar_api::Event::EventSource::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ get_url()

const StringPiece google_calendar_api::Event::EventSource::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ GetTypeName()

const StringPiece google_calendar_api::Event::EventSource::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_calendar_api::EventSource

◆ has_title()

bool google_calendar_api::Event::EventSource::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ has_url()

bool google_calendar_api::Event::EventSource::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ New()

Event::EventSource * google_calendar_api::Event::EventSource::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_title()

void google_calendar_api::Event::EventSource::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

Title of the source; for example a title of a web page or an email subject.

Parameters
[in]valueThe new value.

◆ set_url()

void google_calendar_api::Event::EventSource::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.

Parameters
[in]valueThe new value.

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