public final class GradeCategory extends 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 Classroom API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GradeCategory() |
| Modifier and Type | Method and Description |
|---|---|
GradeCategory |
clone() |
Integer |
getDefaultGradeDenominator()
Default value of denominator.
|
String |
getId()
ID of the grade category.
|
String |
getName()
Name of the grade category.
|
Integer |
getWeight()
The weight of the category average as part of overall average.
|
GradeCategory |
set(String fieldName,
Object value) |
GradeCategory |
setDefaultGradeDenominator(Integer defaultGradeDenominator)
Default value of denominator.
|
GradeCategory |
setId(String id)
ID of the grade category.
|
GradeCategory |
setName(String name)
Name of the grade category.
|
GradeCategory |
setWeight(Integer weight)
The weight of the category average as part of overall average.
|
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 Integer getDefaultGradeDenominator()
null for nonepublic GradeCategory setDefaultGradeDenominator(Integer defaultGradeDenominator)
defaultGradeDenominator - defaultGradeDenominator or null for nonepublic String getId()
null for nonepublic GradeCategory setId(String id)
id - id or null for nonepublic String getName()
null for nonepublic GradeCategory setName(String name)
name - name or null for nonepublic Integer getWeight()
null for nonepublic GradeCategory setWeight(Integer weight)
weight - weight or null for nonepublic GradeCategory set(String fieldName, Object value)
set in class GenericJsonpublic GradeCategory clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.