public final class Grading
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 |
|---|
Grading() |
| Modifier and Type | Method and Description |
|---|---|
Grading |
clone() |
CorrectAnswers |
getCorrectAnswers()
Required.
|
Feedback |
getGeneralFeedback()
The feedback displayed for all answers.
|
Integer |
getPointValue()
Required.
|
Feedback |
getWhenRight()
The feedback displayed for correct responses.
|
Feedback |
getWhenWrong()
The feedback displayed for incorrect responses.
|
Grading |
set(String fieldName,
Object value) |
Grading |
setCorrectAnswers(CorrectAnswers correctAnswers)
Required.
|
Grading |
setGeneralFeedback(Feedback generalFeedback)
The feedback displayed for all answers.
|
Grading |
setPointValue(Integer pointValue)
Required.
|
Grading |
setWhenRight(Feedback whenRight)
The feedback displayed for correct responses.
|
Grading |
setWhenWrong(Feedback whenWrong)
The feedback displayed for incorrect responses.
|
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 CorrectAnswers getCorrectAnswers()
null for nonepublic Grading setCorrectAnswers(CorrectAnswers correctAnswers)
correctAnswers - correctAnswers or null for nonepublic Feedback getGeneralFeedback()
null for nonepublic Grading setGeneralFeedback(Feedback generalFeedback)
generalFeedback - generalFeedback or null for nonepublic Integer getPointValue()
null for nonepublic Grading setPointValue(Integer pointValue)
pointValue - pointValue or null for nonepublic Feedback getWhenRight()
null for nonepublic Grading setWhenRight(Feedback whenRight)
whenRight - whenRight or null for nonepublic Feedback getWhenWrong()
null for nonepublic Grading setWhenWrong(Feedback whenWrong)
whenWrong - whenWrong or null for nonepublic Grading set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Grading clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.