public final class Topic 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 |
|---|
Topic() |
| Modifier and Type | Method and Description |
|---|---|
Topic |
clone() |
String |
getCourseId()
Identifier of the course.
|
String |
getName()
The name of the topic, generated by the user.
|
String |
getTopicId()
Unique identifier for the topic.
|
String |
getUpdateTime()
The time the topic was last updated by the system.
|
Topic |
set(String fieldName,
Object value) |
Topic |
setCourseId(String courseId)
Identifier of the course.
|
Topic |
setName(String name)
The name of the topic, generated by the user.
|
Topic |
setTopicId(String topicId)
Unique identifier for the topic.
|
Topic |
setUpdateTime(String updateTime)
The time the topic was last updated by the system.
|
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 getCourseId()
null for nonepublic Topic setCourseId(String courseId)
courseId - courseId or null for nonepublic String getName()
null for nonepublic Topic setName(String name)
name - name or null for nonepublic String getTopicId()
null for nonepublic Topic setTopicId(String topicId)
topicId - topicId or null for nonepublic String getUpdateTime()
null for nonepublic Topic setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Topic set(String fieldName, Object value)
set in class GenericJsonpublic Topic clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.