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

#include <review.h>

Inheritance diagram for google_books_api::Review:

Classes

class  ReviewAuthor
 
class  ReviewSource
 

Public Member Functions

 Review (const Json::Value &storage)
 
 Review (Json::Value *storage)
 
virtual ~Review ()
 
const StringPiece GetTypeName () const
 
bool has_author () const
 
void clear_author ()
 
const ReviewAuthor get_author () const
 
ReviewAuthor mutable_author ()
 
bool has_content () const
 
void clear_content ()
 
const StringPiece get_content () const
 
void set_content (const StringPiece &value)
 
bool has_date () const
 
void clear_date ()
 
const StringPiece get_date () const
 
void set_date (const StringPiece &value)
 
bool has_full_text_url () const
 
void clear_full_text_url ()
 
const StringPiece get_full_text_url () const
 
void set_full_text_url (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_rating () const
 
void clear_rating ()
 
const StringPiece get_rating () const
 
void set_rating (const StringPiece &value)
 
bool has_source () const
 
void clear_source ()
 
const ReviewSource get_source () const
 
ReviewSource mutable_source ()
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 
bool has_volume_id () const
 
void clear_volume_id ()
 
const StringPiece get_volume_id () const
 
void set_volume_id (const StringPiece &value)
 

Static Public Member Functions

static ReviewNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Review() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Review() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Review()

google_books_api::Review::~Review ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_author()

void google_books_api::Review::clear_author ( )
inline

Clears the 'author' attribute.

◆ clear_content()

void google_books_api::Review::clear_content ( )
inline

Clears the 'content' attribute.

◆ clear_date()

void google_books_api::Review::clear_date ( )
inline

Clears the 'date' attribute.

◆ clear_full_text_url()

void google_books_api::Review::clear_full_text_url ( )
inline

Clears the 'fullTextUrl' attribute.

◆ clear_kind()

void google_books_api::Review::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_rating()

void google_books_api::Review::clear_rating ( )
inline

Clears the 'rating' attribute.

◆ clear_source()

void google_books_api::Review::clear_source ( )
inline

Clears the 'source' attribute.

◆ clear_title()

void google_books_api::Review::clear_title ( )
inline

Clears the 'title' attribute.

◆ clear_type()

void google_books_api::Review::clear_type ( )
inline

Clears the 'type' attribute.

◆ clear_volume_id()

void google_books_api::Review::clear_volume_id ( )
inline

Clears the 'volumeId' attribute.

◆ get_author()

const ReviewAuthor google_books_api::Review::get_author ( ) const
inline

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

◆ get_content()

const StringPiece google_books_api::Review::get_content ( ) const
inline

Get the value of the 'content' attribute.

◆ get_date()

const StringPiece google_books_api::Review::get_date ( ) const
inline

Get the value of the 'date' attribute.

◆ get_full_text_url()

const StringPiece google_books_api::Review::get_full_text_url ( ) const
inline

Get the value of the 'fullTextUrl' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_rating()

const StringPiece google_books_api::Review::get_rating ( ) const
inline

Get the value of the 'rating' attribute.

◆ get_source()

const ReviewSource google_books_api::Review::get_source ( ) const
inline

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

◆ get_title()

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

Get the value of the 'title' attribute.

◆ get_type()

const StringPiece google_books_api::Review::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ get_volume_id()

const StringPiece google_books_api::Review::get_volume_id ( ) const
inline

Get the value of the 'volumeId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_books_api::Review

◆ has_author()

bool google_books_api::Review::has_author ( ) const
inline

Determine if the 'author' attribute was set.

Returns
true if the 'author' attribute was set.

◆ has_content()

bool google_books_api::Review::has_content ( ) const
inline

Determine if the 'content' attribute was set.

Returns
true if the 'content' attribute was set.

◆ has_date()

bool google_books_api::Review::has_date ( ) const
inline

Determine if the 'date' attribute was set.

Returns
true if the 'date' attribute was set.

◆ has_full_text_url()

bool google_books_api::Review::has_full_text_url ( ) const
inline

Determine if the 'fullTextUrl' attribute was set.

Returns
true if the 'fullTextUrl' attribute was set.

◆ has_kind()

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

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_rating()

bool google_books_api::Review::has_rating ( ) const
inline

Determine if the 'rating' attribute was set.

Returns
true if the 'rating' attribute was set.

◆ has_source()

bool google_books_api::Review::has_source ( ) const
inline

Determine if the 'source' attribute was set.

Returns
true if the 'source' attribute was set.

◆ has_title()

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

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ has_type()

bool google_books_api::Review::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ has_volume_id()

bool google_books_api::Review::has_volume_id ( ) const
inline

Determine if the 'volumeId' attribute was set.

Returns
true if the 'volumeId' attribute was set.

◆ mutable_author()

ReviewAuthor google_books_api::Review::mutable_author ( )
inline

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

Author of this review.

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

◆ mutable_source()

ReviewSource google_books_api::Review::mutable_source ( )
inline

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

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

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

◆ New()

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

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_content()

void google_books_api::Review::set_content ( const StringPiece &  value)
inline

Change the 'content' attribute.

Review text.

Parameters
[in]valueThe new value.

◆ set_date()

void google_books_api::Review::set_date ( const StringPiece &  value)
inline

Change the 'date' attribute.

Date of this review.

Parameters
[in]valueThe new value.

◆ set_full_text_url()

void google_books_api::Review::set_full_text_url ( const StringPiece &  value)
inline

Change the 'fullTextUrl' attribute.

URL for the full review text, for reviews gathered from the web.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

Resource type for a review.

Parameters
[in]valueThe new value.

◆ set_rating()

void google_books_api::Review::set_rating ( const StringPiece &  value)
inline

Change the 'rating' attribute.

Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.

Parameters
[in]valueThe new value.

◆ set_title()

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

Change the 'title' attribute.

Title for this review.

Parameters
[in]valueThe new value.

◆ set_type()

void google_books_api::Review::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.

Parameters
[in]valueThe new value.

◆ set_volume_id()

void google_books_api::Review::set_volume_id ( const StringPiece &  value)
inline

Change the 'volumeId' attribute.

Volume that this review is for.

Parameters
[in]valueThe new value.

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