public final class Option
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 |
|---|
Option() |
| Modifier and Type | Method and Description |
|---|---|
Option |
clone() |
String |
getGoToAction()
Section navigation type.
|
String |
getGoToSectionId()
Item ID of section header to go to.
|
Image |
getImage()
Display image as an option.
|
Boolean |
getIsOther()
Whether the option is "other".
|
String |
getValue()
Required.
|
Option |
set(String fieldName,
Object value) |
Option |
setGoToAction(String goToAction)
Section navigation type.
|
Option |
setGoToSectionId(String goToSectionId)
Item ID of section header to go to.
|
Option |
setImage(Image image)
Display image as an option.
|
Option |
setIsOther(Boolean isOther)
Whether the option is "other".
|
Option |
setValue(String value)
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 getGoToAction()
null for nonepublic Option setGoToAction(String goToAction)
goToAction - goToAction or null for nonepublic String getGoToSectionId()
null for nonepublic Option setGoToSectionId(String goToSectionId)
goToSectionId - goToSectionId or null for nonepublic Image getImage()
null for nonepublic Option setImage(Image image)
image - image or null for nonepublic Boolean getIsOther()
null for nonepublic Option setIsOther(Boolean isOther)
isOther - isOther or null for nonepublic String getValue()
null for nonepublic Option setValue(String value)
value - value or null for nonepublic Option set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Option clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.