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

#include <time_period.h>

Inheritance diagram for google_calendar_api::TimePeriod:

Public Member Functions

 TimePeriod (const Json::Value &storage)
 
 TimePeriod (Json::Value *storage)
 
virtual ~TimePeriod ()
 
const StringPiece GetTypeName () const
 
bool has_end () const
 
void clear_end ()
 
client::DateTime get_end () const
 
void set_end (client::DateTime value)
 
bool has_start () const
 
void clear_start ()
 
client::DateTime get_start () const
 
void set_start (client::DateTime value)
 

Static Public Member Functions

static TimePeriodNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ TimePeriod() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ TimePeriod() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~TimePeriod()

google_calendar_api::TimePeriod::~TimePeriod ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_end()

void google_calendar_api::TimePeriod::clear_end ( )
inline

Clears the 'end' attribute.

◆ clear_start()

void google_calendar_api::TimePeriod::clear_start ( )
inline

Clears the 'start' attribute.

◆ get_end()

client::DateTime google_calendar_api::TimePeriod::get_end ( ) const
inline

Get the value of the 'end' attribute.

◆ get_start()

client::DateTime google_calendar_api::TimePeriod::get_start ( ) const
inline

Get the value of the 'start' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_calendar_api::TimePeriod

◆ has_end()

bool google_calendar_api::TimePeriod::has_end ( ) const
inline

Determine if the 'end' attribute was set.

Returns
true if the 'end' attribute was set.

◆ has_start()

bool google_calendar_api::TimePeriod::has_start ( ) const
inline

Determine if the 'start' attribute was set.

Returns
true if the 'start' attribute was set.

◆ New()

TimePeriod * google_calendar_api::TimePeriod::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_end()

void google_calendar_api::TimePeriod::set_end ( client::DateTime  value)
inline

Change the 'end' attribute.

The (exclusive) end of the time period.

Parameters
[in]valueThe new value.

◆ set_start()

void google_calendar_api::TimePeriod::set_start ( client::DateTime  value)
inline

Change the 'start' attribute.

The (inclusive) start of the time period.

Parameters
[in]valueThe new value.

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