public final class Review
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Books API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
| Modifier and Type | Class and Description |
|---|---|
static class |
Review.Author
Author of this review.
|
static class |
Review.Source
Information regarding the source of this review, when the review is not from a Google Books user.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Review() |
| Modifier and Type | Method and Description |
|---|---|
Review |
clone() |
Review.Author |
getAuthor()
Author of this review.
|
String |
getContent()
Review text.
|
String |
getDate()
Date of this review.
|
String |
getFullTextUrl()
URL for the full review text, for reviews gathered from the web.
|
String |
getKind()
Resource type for a review.
|
String |
getRating()
Star rating for this review.
|
Review.Source |
getSource()
Information regarding the source of this review, when the review is not from a Google Books
user.
|
String |
getTitle()
Title for this review.
|
String |
getType()
Source type for this review.
|
String |
getVolumeId()
Volume that this review is for.
|
Review |
set(String fieldName,
Object value) |
Review |
setAuthor(Review.Author author)
Author of this review.
|
Review |
setContent(String content)
Review text.
|
Review |
setDate(String date)
Date of this review.
|
Review |
setFullTextUrl(String fullTextUrl)
URL for the full review text, for reviews gathered from the web.
|
Review |
setKind(String kind)
Resource type for a review.
|
Review |
setRating(String rating)
Star rating for this review.
|
Review |
setSource(Review.Source source)
Information regarding the source of this review, when the review is not from a Google Books
user.
|
Review |
setTitle(String title)
Title for this review.
|
Review |
setType(String type)
Source type for this review.
|
Review |
setVolumeId(String volumeId)
Volume that this review is for.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Review.Author getAuthor()
null for nonepublic Review setAuthor(Review.Author author)
author - author or null for nonepublic String getContent()
null for nonepublic Review setContent(String content)
content - content or null for nonepublic String getDate()
null for nonepublic Review setDate(String date)
date - date or null for nonepublic String getFullTextUrl()
null for nonepublic Review setFullTextUrl(String fullTextUrl)
fullTextUrl - fullTextUrl or null for nonepublic String getKind()
null for nonepublic Review setKind(String kind)
kind - kind or null for nonepublic String getRating()
null for nonepublic Review setRating(String rating)
rating - rating or null for nonepublic Review.Source getSource()
null for nonepublic Review setSource(Review.Source source)
source - source or null for nonepublic String getTitle()
null for nonepublic Review setTitle(String title)
title - title or null for nonepublic String getType()
null for nonepublic Review setType(String type)
type - type or null for nonepublic String getVolumeId()
null for nonepublic Review setVolumeId(String volumeId)
volumeId - volumeId or null for nonepublic Review set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Review clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.