public final class UserComment
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 Play Developer 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 |
---|
UserComment() |
Modifier and Type | Method and Description |
---|---|
UserComment |
clone() |
java.lang.Integer |
getAndroidOsVersion()
Integer Android SDK version of the user's device at the time the review was written, e.g.
|
java.lang.Integer |
getAppVersionCode()
Integer version code of the app as installed at the time the review was written.
|
java.lang.String |
getAppVersionName()
String version name of the app as installed at the time the review was written.
|
java.lang.String |
getDevice()
Codename for the reviewer's device, e.g.
|
DeviceMetadata |
getDeviceMetadata()
Some information about the characteristics of the user's device
|
Timestamp |
getLastModified()
The last time at which this comment was updated.
|
java.lang.String |
getOriginalText()
Untranslated text of the review, in the case where the review has been translated.
|
java.lang.String |
getReviewerLanguage()
Language code for the reviewer.
|
java.lang.Integer |
getStarRating()
The star rating associated with the review, from 1 to 5.
|
java.lang.String |
getText()
The content of the comment, i.e.
|
java.lang.Integer |
getThumbsDownCount()
Number of users who have given this review a thumbs down
|
java.lang.Integer |
getThumbsUpCount()
Number of users who have given this review a thumbs up
|
UserComment |
set(java.lang.String fieldName,
java.lang.Object value) |
UserComment |
setAndroidOsVersion(java.lang.Integer androidOsVersion)
Integer Android SDK version of the user's device at the time the review was written, e.g.
|
UserComment |
setAppVersionCode(java.lang.Integer appVersionCode)
Integer version code of the app as installed at the time the review was written.
|
UserComment |
setAppVersionName(java.lang.String appVersionName)
String version name of the app as installed at the time the review was written.
|
UserComment |
setDevice(java.lang.String device)
Codename for the reviewer's device, e.g.
|
UserComment |
setDeviceMetadata(DeviceMetadata deviceMetadata)
Some information about the characteristics of the user's device
|
UserComment |
setLastModified(Timestamp lastModified)
The last time at which this comment was updated.
|
UserComment |
setOriginalText(java.lang.String originalText)
Untranslated text of the review, in the case where the review has been translated.
|
UserComment |
setReviewerLanguage(java.lang.String reviewerLanguage)
Language code for the reviewer.
|
UserComment |
setStarRating(java.lang.Integer starRating)
The star rating associated with the review, from 1 to 5.
|
UserComment |
setText(java.lang.String text)
The content of the comment, i.e.
|
UserComment |
setThumbsDownCount(java.lang.Integer thumbsDownCount)
Number of users who have given this review a thumbs down
|
UserComment |
setThumbsUpCount(java.lang.Integer thumbsUpCount)
Number of users who have given this review a thumbs up
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Integer getAndroidOsVersion()
null
for nonepublic UserComment setAndroidOsVersion(java.lang.Integer androidOsVersion)
androidOsVersion
- androidOsVersion or null
for nonepublic java.lang.Integer getAppVersionCode()
null
for nonepublic UserComment setAppVersionCode(java.lang.Integer appVersionCode)
appVersionCode
- appVersionCode or null
for nonepublic java.lang.String getAppVersionName()
null
for nonepublic UserComment setAppVersionName(java.lang.String appVersionName)
appVersionName
- appVersionName or null
for nonepublic java.lang.String getDevice()
null
for nonepublic UserComment setDevice(java.lang.String device)
device
- device or null
for nonepublic DeviceMetadata getDeviceMetadata()
null
for nonepublic UserComment setDeviceMetadata(DeviceMetadata deviceMetadata)
deviceMetadata
- deviceMetadata or null
for nonepublic Timestamp getLastModified()
null
for nonepublic UserComment setLastModified(Timestamp lastModified)
lastModified
- lastModified or null
for nonepublic java.lang.String getOriginalText()
null
for nonepublic UserComment setOriginalText(java.lang.String originalText)
originalText
- originalText or null
for nonepublic java.lang.String getReviewerLanguage()
null
for nonepublic UserComment setReviewerLanguage(java.lang.String reviewerLanguage)
reviewerLanguage
- reviewerLanguage or null
for nonepublic java.lang.Integer getStarRating()
null
for nonepublic UserComment setStarRating(java.lang.Integer starRating)
starRating
- starRating or null
for nonepublic java.lang.String getText()
null
for nonepublic UserComment setText(java.lang.String text)
text
- text or null
for nonepublic java.lang.Integer getThumbsDownCount()
null
for nonepublic UserComment setThumbsDownCount(java.lang.Integer thumbsDownCount)
thumbsDownCount
- thumbsDownCount or null
for nonepublic java.lang.Integer getThumbsUpCount()
null
for nonepublic UserComment setThumbsUpCount(java.lang.Integer thumbsUpCount)
thumbsUpCount
- thumbsUpCount or null
for nonepublic UserComment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UserComment clone()
clone
in class com.google.api.client.json.GenericJson