container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::TimeWindow Class Reference

#include <time_window.h>

Inheritance diagram for google_container_api::TimeWindow:

Public Member Functions

 TimeWindow (const Json::Value &storage)
 
 TimeWindow (Json::Value *storage)
 
virtual ~TimeWindow ()
 
const StringPiece GetTypeName () const
 
bool has_end_time () const
 
void clear_end_time ()
 
const StringPiece get_end_time () const
 
void set_end_time (const StringPiece &value)
 
bool has_start_time () const
 
void clear_start_time ()
 
const StringPiece get_start_time () const
 
void set_start_time (const StringPiece &value)
 

Static Public Member Functions

static TimeWindowNew ()
 

Detailed Description

Represents an arbitrary window of time.

Constructor & Destructor Documentation

◆ TimeWindow() [1/2]

google_container_api::TimeWindow::TimeWindow ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ TimeWindow() [2/2]

google_container_api::TimeWindow::TimeWindow ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~TimeWindow()

google_container_api::TimeWindow::~TimeWindow ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_end_time()

void google_container_api::TimeWindow::clear_end_time ( )
inline

Clears the 'endTime' attribute.

◆ clear_start_time()

void google_container_api::TimeWindow::clear_start_time ( )
inline

Clears the 'startTime' attribute.

◆ get_end_time()

const StringPiece google_container_api::TimeWindow::get_end_time ( ) const
inline

Get the value of the 'endTime' attribute.

◆ get_start_time()

const StringPiece google_container_api::TimeWindow::get_start_time ( ) const
inline

Get the value of the 'startTime' attribute.

◆ GetTypeName()

const StringPiece google_container_api::TimeWindow::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_container_api::TimeWindow

◆ has_end_time()

bool google_container_api::TimeWindow::has_end_time ( ) const
inline

Determine if the 'endTime' attribute was set.

Returns
true if the 'endTime' attribute was set.

◆ has_start_time()

bool google_container_api::TimeWindow::has_start_time ( ) const
inline

Determine if the 'startTime' attribute was set.

Returns
true if the 'startTime' attribute was set.

◆ New()

TimeWindow * google_container_api::TimeWindow::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_end_time()

void google_container_api::TimeWindow::set_end_time ( const StringPiece &  value)
inline

Change the 'endTime' attribute.

The time that the window ends. The end time should take place after the start time.

Parameters
[in]valueThe new value.

◆ set_start_time()

void google_container_api::TimeWindow::set_start_time ( const StringPiece &  value)
inline

Change the 'startTime' attribute.

The time that the window first starts.

Parameters
[in]valueThe new value.

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