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

#include <volume.h>

Inheritance diagram for google_books_api::Volume::VolumeRecommendedInfo:

Public Member Functions

 VolumeRecommendedInfo (const Json::Value &storage)
 
 VolumeRecommendedInfo (Json::Value *storage)
 
virtual ~VolumeRecommendedInfo ()
 
const StringPiece GetTypeName () const
 
bool has_explanation () const
 
void clear_explanation ()
 
const StringPiece get_explanation () const
 
void set_explanation (const StringPiece &value)
 

Static Public Member Functions

static VolumeRecommendedInfoNew ()
 

Detailed Description

Recommendation related information for this volume.

Constructor & Destructor Documentation

◆ VolumeRecommendedInfo() [1/2]

google_books_api::Volume::VolumeRecommendedInfo::VolumeRecommendedInfo ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ VolumeRecommendedInfo() [2/2]

google_books_api::Volume::VolumeRecommendedInfo::VolumeRecommendedInfo ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~VolumeRecommendedInfo()

google_books_api::Volume::VolumeRecommendedInfo::~VolumeRecommendedInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_explanation()

void google_books_api::Volume::VolumeRecommendedInfo::clear_explanation ( )
inline

Clears the 'explanation' attribute.

◆ get_explanation()

const StringPiece google_books_api::Volume::VolumeRecommendedInfo::get_explanation ( ) const
inline

Get the value of the 'explanation' attribute.

◆ GetTypeName()

const StringPiece google_books_api::Volume::VolumeRecommendedInfo::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::VolumeRecommendedInfo

◆ has_explanation()

bool google_books_api::Volume::VolumeRecommendedInfo::has_explanation ( ) const
inline

Determine if the 'explanation' attribute was set.

Returns
true if the 'explanation' attribute was set.

◆ New()

Volume::VolumeRecommendedInfo * google_books_api::Volume::VolumeRecommendedInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_explanation()

void google_books_api::Volume::VolumeRecommendedInfo::set_explanation ( const StringPiece &  value)
inline

Change the 'explanation' attribute.

A text explaining why this volume is recommended.

Parameters
[in]valueThe new value.

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