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

#include <review.h>

Inheritance diagram for google_books_api::Review::ReviewSource:

Public Member Functions

 ReviewSource (const Json::Value &storage)
 
 ReviewSource (Json::Value *storage)
 
virtual ~ReviewSource ()
 
const StringPiece GetTypeName () const
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_extra_description () const
 
void clear_extra_description ()
 
const StringPiece get_extra_description () const
 
void set_extra_description (const StringPiece &value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 

Static Public Member Functions

static ReviewSourceNew ()
 

Detailed Description

Information regarding the source of this review, when the review is not from a Google Books user.

Constructor & Destructor Documentation

◆ ReviewSource() [1/2]

google_books_api::Review::ReviewSource::ReviewSource ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ReviewSource() [2/2]

google_books_api::Review::ReviewSource::ReviewSource ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ReviewSource()

google_books_api::Review::ReviewSource::~ReviewSource ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_description()

void google_books_api::Review::ReviewSource::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_extra_description()

void google_books_api::Review::ReviewSource::clear_extra_description ( )
inline

Clears the 'extraDescription' attribute.

◆ clear_url()

void google_books_api::Review::ReviewSource::clear_url ( )
inline

Clears the 'url' attribute.

◆ get_description()

const StringPiece google_books_api::Review::ReviewSource::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_extra_description()

const StringPiece google_books_api::Review::ReviewSource::get_extra_description ( ) const
inline

Get the value of the 'extraDescription' attribute.

◆ get_url()

const StringPiece google_books_api::Review::ReviewSource::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ GetTypeName()

const StringPiece google_books_api::Review::ReviewSource::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::ReviewSource

◆ has_description()

bool google_books_api::Review::ReviewSource::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_extra_description()

bool google_books_api::Review::ReviewSource::has_extra_description ( ) const
inline

Determine if the 'extraDescription' attribute was set.

Returns
true if the 'extraDescription' attribute was set.

◆ has_url()

bool google_books_api::Review::ReviewSource::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ New()

Review::ReviewSource * google_books_api::Review::ReviewSource::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_description()

void google_books_api::Review::ReviewSource::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

Name of the source.

Parameters
[in]valueThe new value.

◆ set_extra_description()

void google_books_api::Review::ReviewSource::set_extra_description ( const StringPiece &  value)
inline

Change the 'extraDescription' attribute.

Extra text about the source of the review.

Parameters
[in]valueThe new value.

◆ set_url()

void google_books_api::Review::ReviewSource::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

URL of the source of the review.

Parameters
[in]valueThe new value.

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