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 Android 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UserComment() |
Modifier and Type | Method and Description |
---|---|
UserComment |
clone() |
Integer |
getAndroidOsVersion()
Integer Android SDK version of the user's device at the time the review was written, e.g.
|
Integer |
getAppVersionCode()
Integer version code of the app as installed at the time the review was written.
|
String |
getAppVersionName()
String version name of the app as installed at the time the review was written.
|
String |
getDevice()
Codename for the reviewer's device, e.g.
|
DeviceMetadata |
getDeviceMetadata()
Information about the characteristics of the user's device.
|
Timestamp |
getLastModified()
The last time at which this comment was updated.
|
String |
getOriginalText()
Untranslated text of the review, where the review was translated.
|
String |
getReviewerLanguage()
Language code for the reviewer.
|
Integer |
getStarRating()
The star rating associated with the review, from 1 to 5.
|
String |
getText()
The content of the comment, i.e.
|
Integer |
getThumbsDownCount()
Number of users who have given this review a thumbs down.
|
Integer |
getThumbsUpCount()
Number of users who have given this review a thumbs up.
|
UserComment |
set(String fieldName,
Object value) |
UserComment |
setAndroidOsVersion(Integer androidOsVersion)
Integer Android SDK version of the user's device at the time the review was written, e.g.
|
UserComment |
setAppVersionCode(Integer appVersionCode)
Integer version code of the app as installed at the time the review was written.
|
UserComment |
setAppVersionName(String appVersionName)
String version name of the app as installed at the time the review was written.
|
UserComment |
setDevice(String device)
Codename for the reviewer's device, e.g.
|
UserComment |
setDeviceMetadata(DeviceMetadata deviceMetadata)
Information about the characteristics of the user's device.
|
UserComment |
setLastModified(Timestamp lastModified)
The last time at which this comment was updated.
|
UserComment |
setOriginalText(String originalText)
Untranslated text of the review, where the review was translated.
|
UserComment |
setReviewerLanguage(String reviewerLanguage)
Language code for the reviewer.
|
UserComment |
setStarRating(Integer starRating)
The star rating associated with the review, from 1 to 5.
|
UserComment |
setText(String text)
The content of the comment, i.e.
|
UserComment |
setThumbsDownCount(Integer thumbsDownCount)
Number of users who have given this review a thumbs down.
|
UserComment |
setThumbsUpCount(Integer thumbsUpCount)
Number of users who have given this review a thumbs up.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Integer getAndroidOsVersion()
null
for nonepublic UserComment setAndroidOsVersion(Integer androidOsVersion)
androidOsVersion
- androidOsVersion or null
for nonepublic Integer getAppVersionCode()
null
for nonepublic UserComment setAppVersionCode(Integer appVersionCode)
appVersionCode
- appVersionCode or null
for nonepublic String getAppVersionName()
null
for nonepublic UserComment setAppVersionName(String appVersionName)
appVersionName
- appVersionName or null
for nonepublic String getDevice()
null
for nonepublic UserComment setDevice(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 String getOriginalText()
null
for nonepublic UserComment setOriginalText(String originalText)
originalText
- originalText or null
for nonepublic String getReviewerLanguage()
null
for nonepublic UserComment setReviewerLanguage(String reviewerLanguage)
reviewerLanguage
- reviewerLanguage or null
for nonepublic Integer getStarRating()
null
for nonepublic UserComment setStarRating(Integer starRating)
starRating
- starRating or null
for nonepublic String getText()
null
for nonepublic UserComment setText(String text)
text
- text or null
for nonepublic Integer getThumbsDownCount()
null
for nonepublic UserComment setThumbsDownCount(Integer thumbsDownCount)
thumbsDownCount
- thumbsDownCount or null
for nonepublic Integer getThumbsUpCount()
null
for nonepublic UserComment setThumbsUpCount(Integer thumbsUpCount)
thumbsUpCount
- thumbsUpCount or null
for nonepublic UserComment set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public UserComment clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.