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

#include <volume.h>

Inheritance diagram for google_books_api::Volume::VolumeSearchInfo:

Public Member Functions

 VolumeSearchInfo (const Json::Value &storage)
 
 VolumeSearchInfo (Json::Value *storage)
 
virtual ~VolumeSearchInfo ()
 
const StringPiece GetTypeName () const
 
bool has_text_snippet () const
 
void clear_text_snippet ()
 
const StringPiece get_text_snippet () const
 
void set_text_snippet (const StringPiece &value)
 

Static Public Member Functions

static VolumeSearchInfoNew ()
 

Detailed Description

Search result information related to this volume.

Constructor & Destructor Documentation

◆ VolumeSearchInfo() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ VolumeSearchInfo() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~VolumeSearchInfo()

google_books_api::Volume::VolumeSearchInfo::~VolumeSearchInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_text_snippet()

void google_books_api::Volume::VolumeSearchInfo::clear_text_snippet ( )
inline

Clears the 'textSnippet' attribute.

◆ get_text_snippet()

const StringPiece google_books_api::Volume::VolumeSearchInfo::get_text_snippet ( ) const
inline

Get the value of the 'textSnippet' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_books_api::VolumeSearchInfo

◆ has_text_snippet()

bool google_books_api::Volume::VolumeSearchInfo::has_text_snippet ( ) const
inline

Determine if the 'textSnippet' attribute was set.

Returns
true if the 'textSnippet' attribute was set.

◆ New()

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

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_text_snippet()

void google_books_api::Volume::VolumeSearchInfo::set_text_snippet ( const StringPiece &  value)
inline

Change the 'textSnippet' attribute.

A text snippet containing the search query.

Parameters
[in]valueThe new value.

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