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

#include <volumes.h>

Inheritance diagram for google_books_api::Volumes:

Public Member Functions

 Volumes (const Json::Value &storage)
 
 Volumes (Json::Value *storage)
 
virtual ~Volumes ()
 
const StringPiece GetTypeName () const
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Volumeget_items () const
 
client::JsonCppArray< Volumemutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_total_items () const
 
void clear_total_items ()
 
int32 get_total_items () const
 
void set_total_items (int32 value)
 

Static Public Member Functions

static VolumesNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Volumes() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Volumes() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Volumes()

google_books_api::Volumes::~Volumes ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_items()

void google_books_api::Volumes::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_books_api::Volumes::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_total_items()

void google_books_api::Volumes::clear_total_items ( )
inline

Clears the 'totalItems' attribute.

◆ get_items()

const client::JsonCppArray<Volume > google_books_api::Volumes::get_items ( ) const

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

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_total_items()

int32 google_books_api::Volumes::get_total_items ( ) const
inline

Get the value of the 'totalItems' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_books_api::Volumes

◆ has_items()

bool google_books_api::Volumes::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_total_items()

bool google_books_api::Volumes::has_total_items ( ) const
inline

Determine if the 'totalItems' attribute was set.

Returns
true if the 'totalItems' attribute was set.

◆ mutable_items()

client::JsonCppArray<Volume > google_books_api::Volumes::mutable_items ( )

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

A list of volumes.

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

◆ New()

Volumes * google_books_api::Volumes::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type.

Parameters
[in]valueThe new value.

◆ set_total_items()

void google_books_api::Volumes::set_total_items ( int32  value)
inline

Change the 'totalItems' attribute.

Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated.

Parameters
[in]valueThe new value.

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