target.apidocs.com.google.api.services.androidpublisher.model.UserComment.html Maven / Gradle / Ivy
UserComment (Google Play Android Developer API v3-rev20240129-2.0.0)
com.google.api.services.androidpublisher.model
Class UserComment
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.androidpublisher.model.UserComment
-
public final class UserComment
extends com.google.api.client.json.GenericJson
User entry from conversation between user and developer.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
UserComment()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAndroidOsVersion
public Integer getAndroidOsVersion()
Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is
Marshmallow. May be absent.
- Returns:
- value or
null
for none
-
setAndroidOsVersion
public UserComment setAndroidOsVersion(Integer androidOsVersion)
Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is
Marshmallow. May be absent.
- Parameters:
androidOsVersion
- androidOsVersion or null
for none
-
getAppVersionCode
public Integer getAppVersionCode()
Integer version code of the app as installed at the time the review was written. May be absent.
- Returns:
- value or
null
for none
-
setAppVersionCode
public UserComment setAppVersionCode(Integer appVersionCode)
Integer version code of the app as installed at the time the review was written. May be absent.
- Parameters:
appVersionCode
- appVersionCode or null
for none
-
getAppVersionName
public String getAppVersionName()
String version name of the app as installed at the time the review was written. May be absent.
- Returns:
- value or
null
for none
-
setAppVersionName
public UserComment setAppVersionName(String appVersionName)
String version name of the app as installed at the time the review was written. May be absent.
- Parameters:
appVersionName
- appVersionName or null
for none
-
getDevice
public String getDevice()
Codename for the reviewer's device, e.g. klte, flounder. May be absent.
- Returns:
- value or
null
for none
-
setDevice
public UserComment setDevice(String device)
Codename for the reviewer's device, e.g. klte, flounder. May be absent.
- Parameters:
device
- device or null
for none
-
getDeviceMetadata
public DeviceMetadata getDeviceMetadata()
Information about the characteristics of the user's device.
- Returns:
- value or
null
for none
-
setDeviceMetadata
public UserComment setDeviceMetadata(DeviceMetadata deviceMetadata)
Information about the characteristics of the user's device.
- Parameters:
deviceMetadata
- deviceMetadata or null
for none
-
getLastModified
public Timestamp getLastModified()
The last time at which this comment was updated.
- Returns:
- value or
null
for none
-
setLastModified
public UserComment setLastModified(Timestamp lastModified)
The last time at which this comment was updated.
- Parameters:
lastModified
- lastModified or null
for none
-
getOriginalText
public String getOriginalText()
Untranslated text of the review, where the review was translated. If the review was not
translated this is left blank.
- Returns:
- value or
null
for none
-
setOriginalText
public UserComment setOriginalText(String originalText)
Untranslated text of the review, where the review was translated. If the review was not
translated this is left blank.
- Parameters:
originalText
- originalText or null
for none
-
getReviewerLanguage
public String getReviewerLanguage()
Language code for the reviewer. This is taken from the device settings so is not guaranteed to
match the language the review is written in. May be absent.
- Returns:
- value or
null
for none
-
setReviewerLanguage
public UserComment setReviewerLanguage(String reviewerLanguage)
Language code for the reviewer. This is taken from the device settings so is not guaranteed to
match the language the review is written in. May be absent.
- Parameters:
reviewerLanguage
- reviewerLanguage or null
for none
-
getStarRating
public Integer getStarRating()
The star rating associated with the review, from 1 to 5.
- Returns:
- value or
null
for none
-
setStarRating
public UserComment setStarRating(Integer starRating)
The star rating associated with the review, from 1 to 5.
- Parameters:
starRating
- starRating or null
for none
-
getText
public String getText()
The content of the comment, i.e. review body. In some cases users have been able to write a
review with separate title and body; in those cases the title and body are concatenated and
separated by a tab character.
- Returns:
- value or
null
for none
-
setText
public UserComment setText(String text)
The content of the comment, i.e. review body. In some cases users have been able to write a
review with separate title and body; in those cases the title and body are concatenated and
separated by a tab character.
- Parameters:
text
- text or null
for none
-
getThumbsDownCount
public Integer getThumbsDownCount()
Number of users who have given this review a thumbs down.
- Returns:
- value or
null
for none
-
setThumbsDownCount
public UserComment setThumbsDownCount(Integer thumbsDownCount)
Number of users who have given this review a thumbs down.
- Parameters:
thumbsDownCount
- thumbsDownCount or null
for none
-
getThumbsUpCount
public Integer getThumbsUpCount()
Number of users who have given this review a thumbs up.
- Returns:
- value or
null
for none
-
setThumbsUpCount
public UserComment setThumbsUpCount(Integer thumbsUpCount)
Number of users who have given this review a thumbs up.
- Parameters:
thumbsUpCount
- thumbsUpCount or null
for none
-
set
public UserComment set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public UserComment clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy