#include <review.h>
◆ Review() [1/2]
| google_books_api::Review::Review |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Review()
| google_books_api::Review::~Review |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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()
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
-
◆ set_date()
| void google_books_api::Review::set_date |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'date' attribute.
Date of this review.
- Parameters
-
◆ 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
-
◆ set_kind()
| void google_books_api::Review::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Resource type for a review.
- Parameters
-
◆ 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
-
◆ set_title()
| void google_books_api::Review::set_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'title' attribute.
Title for this review.
- Parameters
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/books_api/review.h
- google/books_api/review.cc