books  v1
Public Member Functions | Static Public Member Functions | List of all members
google_books_api::Bookshelf Class Reference

#include <bookshelf.h>

Inheritance diagram for google_books_api::Bookshelf:

Public Member Functions

 Bookshelf (const Json::Value &storage)
 
 Bookshelf (Json::Value *storage)
 
virtual ~Bookshelf ()
 
const StringPiece GetTypeName () const
 
bool has_access () const
 
void clear_access ()
 
const StringPiece get_access () const
 
void set_access (const StringPiece &value)
 
bool has_created () const
 
void clear_created ()
 
client::DateTime get_created () const
 
void set_created (client::DateTime value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
int32 get_id () const
 
void set_id (int32 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 
bool has_updated () const
 
void clear_updated ()
 
client::DateTime get_updated () const
 
void set_updated (client::DateTime value)
 
bool has_volume_count () const
 
void clear_volume_count ()
 
int32 get_volume_count () const
 
void set_volume_count (int32 value)
 
bool has_volumes_last_updated () const
 
void clear_volumes_last_updated ()
 
client::DateTime get_volumes_last_updated () const
 
void set_volumes_last_updated (client::DateTime value)
 

Static Public Member Functions

static BookshelfNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Bookshelf() [1/2]

google_books_api::Bookshelf::Bookshelf ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Bookshelf() [2/2]

google_books_api::Bookshelf::Bookshelf ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Bookshelf()

google_books_api::Bookshelf::~Bookshelf ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_access()

void google_books_api::Bookshelf::clear_access ( )
inline

Clears the 'access' attribute.

◆ clear_created()

void google_books_api::Bookshelf::clear_created ( )
inline

Clears the 'created' attribute.

◆ clear_description()

void google_books_api::Bookshelf::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_id()

void google_books_api::Bookshelf::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_books_api::Bookshelf::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_self_link()

void google_books_api::Bookshelf::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_title()

void google_books_api::Bookshelf::clear_title ( )
inline

Clears the 'title' attribute.

◆ clear_updated()

void google_books_api::Bookshelf::clear_updated ( )
inline

Clears the 'updated' attribute.

◆ clear_volume_count()

void google_books_api::Bookshelf::clear_volume_count ( )
inline

Clears the 'volumeCount' attribute.

◆ clear_volumes_last_updated()

void google_books_api::Bookshelf::clear_volumes_last_updated ( )
inline

Clears the 'volumesLastUpdated' attribute.

◆ get_access()

const StringPiece google_books_api::Bookshelf::get_access ( ) const
inline

Get the value of the 'access' attribute.

◆ get_created()

client::DateTime google_books_api::Bookshelf::get_created ( ) const
inline

Get the value of the 'created' attribute.

◆ get_description()

const StringPiece google_books_api::Bookshelf::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_id()

int32 google_books_api::Bookshelf::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_books_api::Bookshelf::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_self_link()

const StringPiece google_books_api::Bookshelf::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_title()

const StringPiece google_books_api::Bookshelf::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ get_updated()

client::DateTime google_books_api::Bookshelf::get_updated ( ) const
inline

Get the value of the 'updated' attribute.

◆ get_volume_count()

int32 google_books_api::Bookshelf::get_volume_count ( ) const
inline

Get the value of the 'volumeCount' attribute.

◆ get_volumes_last_updated()

client::DateTime google_books_api::Bookshelf::get_volumes_last_updated ( ) const
inline

Get the value of the 'volumesLastUpdated' attribute.

◆ GetTypeName()

const StringPiece google_books_api::Bookshelf::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::Bookshelf

◆ has_access()

bool google_books_api::Bookshelf::has_access ( ) const
inline

Determine if the 'access' attribute was set.

Returns
true if the 'access' attribute was set.

◆ has_created()

bool google_books_api::Bookshelf::has_created ( ) const
inline

Determine if the 'created' attribute was set.

Returns
true if the 'created' attribute was set.

◆ has_description()

bool google_books_api::Bookshelf::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_id()

bool google_books_api::Bookshelf::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_books_api::Bookshelf::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_self_link()

bool google_books_api::Bookshelf::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_title()

bool google_books_api::Bookshelf::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ has_updated()

bool google_books_api::Bookshelf::has_updated ( ) const
inline

Determine if the 'updated' attribute was set.

Returns
true if the 'updated' attribute was set.

◆ has_volume_count()

bool google_books_api::Bookshelf::has_volume_count ( ) const
inline

Determine if the 'volumeCount' attribute was set.

Returns
true if the 'volumeCount' attribute was set.

◆ has_volumes_last_updated()

bool google_books_api::Bookshelf::has_volumes_last_updated ( ) const
inline

Determine if the 'volumesLastUpdated' attribute was set.

Returns
true if the 'volumesLastUpdated' attribute was set.

◆ New()

Bookshelf * google_books_api::Bookshelf::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_access()

void google_books_api::Bookshelf::set_access ( const StringPiece &  value)
inline

Change the 'access' attribute.

Whether this bookshelf is PUBLIC or PRIVATE.

Parameters
[in]valueThe new value.

◆ set_created()

void google_books_api::Bookshelf::set_created ( client::DateTime  value)
inline

Change the 'created' attribute.

Created time for this bookshelf (formatted UTC timestamp with millisecond resolution).

Parameters
[in]valueThe new value.

◆ set_description()

void google_books_api::Bookshelf::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

Description of this bookshelf.

Parameters
[in]valueThe new value.

◆ set_id()

void google_books_api::Bookshelf::set_id ( int32  value)
inline

Change the 'id' attribute.

Id of this bookshelf, only unique by user.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_books_api::Bookshelf::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Resource type for bookshelf metadata.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_books_api::Bookshelf::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

URL to this resource.

Parameters
[in]valueThe new value.

◆ set_title()

void google_books_api::Bookshelf::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

Title of this bookshelf.

Parameters
[in]valueThe new value.

◆ set_updated()

void google_books_api::Bookshelf::set_updated ( client::DateTime  value)
inline

Change the 'updated' attribute.

Last modified time of this bookshelf (formatted UTC timestamp with millisecond resolution).

Parameters
[in]valueThe new value.

◆ set_volume_count()

void google_books_api::Bookshelf::set_volume_count ( int32  value)
inline

Change the 'volumeCount' attribute.

Number of volumes in this bookshelf.

Parameters
[in]valueThe new value.

◆ set_volumes_last_updated()

void google_books_api::Bookshelf::set_volumes_last_updated ( client::DateTime  value)
inline

Change the 'volumesLastUpdated' attribute.

Last time a volume was added or removed from this bookshelf (formatted UTC timestamp with millisecond resolution).

Parameters
[in]valueThe new value.

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