public final class Item
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 |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
Item |
clone() |
String |
getDescription()
The description of the item.
|
ImageItem |
getImageItem()
Displays an image on the page.
|
String |
getItemId()
The item ID.
|
PageBreakItem |
getPageBreakItem()
Starts a new page with a title.
|
QuestionGroupItem |
getQuestionGroupItem()
Poses one or more questions to the user with a single major prompt.
|
QuestionItem |
getQuestionItem()
Poses a question to the user.
|
TextItem |
getTextItem()
Displays a title and description on the page.
|
String |
getTitle()
The title of the item.
|
VideoItem |
getVideoItem()
Displays a video on the page.
|
Item |
set(String fieldName,
Object value) |
Item |
setDescription(String description)
The description of the item.
|
Item |
setImageItem(ImageItem imageItem)
Displays an image on the page.
|
Item |
setItemId(String itemId)
The item ID.
|
Item |
setPageBreakItem(PageBreakItem pageBreakItem)
Starts a new page with a title.
|
Item |
setQuestionGroupItem(QuestionGroupItem questionGroupItem)
Poses one or more questions to the user with a single major prompt.
|
Item |
setQuestionItem(QuestionItem questionItem)
Poses a question to the user.
|
Item |
setTextItem(TextItem textItem)
Displays a title and description on the page.
|
Item |
setTitle(String title)
The title of the item.
|
Item |
setVideoItem(VideoItem videoItem)
Displays a video on the page.
|
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 getDescription()
null for nonepublic Item setDescription(String description)
description - description or null for nonepublic ImageItem getImageItem()
null for nonepublic Item setImageItem(ImageItem imageItem)
imageItem - imageItem or null for nonepublic String getItemId()
null for nonepublic Item setItemId(String itemId)
itemId - itemId or null for nonepublic PageBreakItem getPageBreakItem()
null for nonepublic Item setPageBreakItem(PageBreakItem pageBreakItem)
pageBreakItem - pageBreakItem or null for nonepublic QuestionGroupItem getQuestionGroupItem()
null for nonepublic Item setQuestionGroupItem(QuestionGroupItem questionGroupItem)
questionGroupItem - questionGroupItem or null for nonepublic QuestionItem getQuestionItem()
null for nonepublic Item setQuestionItem(QuestionItem questionItem)
questionItem - questionItem or null for nonepublic TextItem getTextItem()
null for nonepublic Item setTextItem(TextItem textItem)
textItem - textItem or null for nonepublic String getTitle()
null for nonepublic Item setTitle(String title)
title - title or null for nonepublic VideoItem getVideoItem()
null for nonepublic Item setVideoItem(VideoItem videoItem)
videoItem - videoItem or null for nonepublic Item set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Item clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.