public final class Teacher
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 Classroom 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.Flags
Constructor and Description |
---|
Teacher() |
Modifier and Type | Method and Description |
---|---|
Teacher |
clone() |
java.lang.String |
getCourseId()
Identifier of the course.
|
UserProfile |
getProfile()
Global user information for the teacher.
|
java.lang.String |
getUserId()
Identifier of the user.
|
Teacher |
set(java.lang.String fieldName,
java.lang.Object value) |
Teacher |
setCourseId(java.lang.String courseId)
Identifier of the course.
|
Teacher |
setProfile(UserProfile profile)
Global user information for the teacher.
|
Teacher |
setUserId(java.lang.String userId)
Identifier of the user.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCourseId()
null
for nonepublic Teacher setCourseId(java.lang.String courseId)
courseId
- courseId or null
for nonepublic UserProfile getProfile()
null
for nonepublic Teacher setProfile(UserProfile profile)
profile
- profile or null
for nonepublic java.lang.String getUserId()
null
for nonepublic Teacher setUserId(java.lang.String userId)
userId
- userId or null
for nonepublic Teacher set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Teacher clone()
clone
in class com.google.api.client.json.GenericJson