public final class Comment
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 Drive Activity 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Comment() |
| Modifier and Type | Method and Description |
|---|---|
Comment |
clone() |
Assignment |
getAssignment()
A change on an assignment.
|
List<User> |
getMentionedUsers()
Users who are mentioned in this comment.
|
Post |
getPost()
A change on a regular posted comment.
|
Suggestion |
getSuggestion()
A change on a suggestion.
|
Comment |
set(String fieldName,
Object value) |
Comment |
setAssignment(Assignment assignment)
A change on an assignment.
|
Comment |
setMentionedUsers(List<User> mentionedUsers)
Users who are mentioned in this comment.
|
Comment |
setPost(Post post)
A change on a regular posted comment.
|
Comment |
setSuggestion(Suggestion suggestion)
A change on a suggestion.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Assignment getAssignment()
null for nonepublic Comment setAssignment(Assignment assignment)
assignment - assignment or null for nonepublic List<User> getMentionedUsers()
null for nonepublic Comment setMentionedUsers(List<User> mentionedUsers)
mentionedUsers - mentionedUsers or null for nonepublic Post getPost()
null for nonepublic Comment setPost(Post post)
post - post or null for nonepublic Suggestion getSuggestion()
null for nonepublic Comment setSuggestion(Suggestion suggestion)
suggestion - suggestion or null for nonepublic Comment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Comment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.