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 Google My Business API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Review() |
Modifier and Type | Method and Description |
---|---|
Review |
clone() |
java.lang.String |
getComment()
The body of the review as plain text with markups.
|
java.lang.String |
getCreateTime()
The timestamp for when the review was written.
|
java.lang.String |
getName()
The resource name.
|
Reviewer |
getReviewer()
The author of the review.
|
java.lang.String |
getReviewId()
The encrypted unique identifier.
|
ReviewReply |
getReviewReply()
The owner/manager of this location's reply to this review.
|
java.lang.String |
getStarRating()
The star rating of the review.
|
java.lang.String |
getUpdateTime()
The timestamp for when the review was last modified.
|
Review |
set(java.lang.String fieldName,
java.lang.Object value) |
Review |
setComment(java.lang.String comment)
The body of the review as plain text with markups.
|
Review |
setCreateTime(java.lang.String createTime)
The timestamp for when the review was written.
|
Review |
setName(java.lang.String name)
The resource name.
|
Review |
setReviewer(Reviewer reviewer)
The author of the review.
|
Review |
setReviewId(java.lang.String reviewId)
The encrypted unique identifier.
|
Review |
setReviewReply(ReviewReply reviewReply)
The owner/manager of this location's reply to this review.
|
Review |
setStarRating(java.lang.String starRating)
The star rating of the review.
|
Review |
setUpdateTime(java.lang.String updateTime)
The timestamp for when the review was last modified.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getComment()
null
for nonepublic Review setComment(java.lang.String comment)
comment
- comment or null
for nonepublic java.lang.String getCreateTime()
null
for nonepublic Review setCreateTime(java.lang.String createTime)
createTime
- createTime or null
for nonepublic java.lang.String getName()
null
for nonepublic Review setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getReviewId()
null
for nonepublic Review setReviewId(java.lang.String reviewId)
reviewId
- reviewId or null
for nonepublic ReviewReply getReviewReply()
null
for nonepublic Review setReviewReply(ReviewReply reviewReply)
reviewReply
- reviewReply or null
for nonepublic Reviewer getReviewer()
null
for nonepublic Review setReviewer(Reviewer reviewer)
reviewer
- reviewer or null
for nonepublic java.lang.String getStarRating()
null
for nonepublic Review setStarRating(java.lang.String starRating)
starRating
- starRating or null
for nonepublic java.lang.String getUpdateTime()
null
for nonepublic Review setUpdateTime(java.lang.String updateTime)
updateTime
- updateTime or null
for nonepublic Review set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Review clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.