public final class Watch
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 Forms 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 |
|---|
Watch() |
| Modifier and Type | Method and Description |
|---|---|
Watch |
clone() |
String |
getCreateTime()
Output only.
|
String |
getErrorType()
Output only.
|
String |
getEventType()
Required.
|
String |
getExpireTime()
Output only.
|
String |
getId()
Output only.
|
String |
getState()
Output only.
|
WatchTarget |
getTarget()
Required.
|
Watch |
set(String fieldName,
Object value) |
Watch |
setCreateTime(String createTime)
Output only.
|
Watch |
setErrorType(String errorType)
Output only.
|
Watch |
setEventType(String eventType)
Required.
|
Watch |
setExpireTime(String expireTime)
Output only.
|
Watch |
setId(String id)
Output only.
|
Watch |
setState(String state)
Output only.
|
Watch |
setTarget(WatchTarget target)
Required.
|
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 String getCreateTime()
null for nonepublic Watch setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getErrorType()
null for nonepublic Watch setErrorType(String errorType)
errorType - errorType or null for nonepublic String getEventType()
null for nonepublic Watch setEventType(String eventType)
eventType - eventType or null for nonepublic String getExpireTime()
null for nonepublic Watch setExpireTime(String expireTime)
expireTime - expireTime or null for nonepublic String getId()
null for nonepublic Watch setId(String id)
id - id or null for nonepublic String getState()
null for nonepublic Watch setState(String state)
state - state or null for nonepublic WatchTarget getTarget()
null for nonepublic Watch setTarget(WatchTarget target)
target - target or null for nonepublic Watch set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Watch clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.