public final class Teacher 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 |
|---|
Teacher() |
| Modifier and Type | Method and Description |
|---|---|
Teacher |
clone() |
String |
getCourseId()
Identifier of the course.
|
UserProfile |
getProfile()
Global user information for the teacher.
|
String |
getUserId()
Identifier of the user.
|
Teacher |
set(String fieldName,
Object value) |
Teacher |
setCourseId(String courseId)
Identifier of the course.
|
Teacher |
setProfile(UserProfile profile)
Global user information for the teacher.
|
Teacher |
setUserId(String userId)
Identifier of the user.
|
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 Teacher setCourseId(String courseId)
courseId - courseId or null for nonepublic UserProfile getProfile()
null for nonepublic Teacher setProfile(UserProfile profile)
profile - profile or null for nonepublic String getUserId()
null for nonepublic Teacher setUserId(String userId)
userId - userId or null for nonepublic Teacher set(String fieldName, Object value)
set in class GenericJsonpublic Teacher clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.