public final class Guardian 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 |
|---|
Guardian() |
| Modifier and Type | Method and Description |
|---|---|
Guardian |
clone() |
String |
getGuardianId()
Identifier for the guardian.
|
UserProfile |
getGuardianProfile()
User profile for the guardian.
|
String |
getInvitedEmailAddress()
The email address to which the initial guardian invitation was sent.
|
String |
getStudentId()
Identifier for the student to whom the guardian relationship applies.
|
Guardian |
set(String fieldName,
Object value) |
Guardian |
setGuardianId(String guardianId)
Identifier for the guardian.
|
Guardian |
setGuardianProfile(UserProfile guardianProfile)
User profile for the guardian.
|
Guardian |
setInvitedEmailAddress(String invitedEmailAddress)
The email address to which the initial guardian invitation was sent.
|
Guardian |
setStudentId(String studentId)
Identifier for the student to whom the guardian relationship applies.
|
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 getGuardianId()
null for nonepublic Guardian setGuardianId(String guardianId)
guardianId - guardianId or null for nonepublic UserProfile getGuardianProfile()
null for nonepublic Guardian setGuardianProfile(UserProfile guardianProfile)
guardianProfile - guardianProfile or null for nonepublic String getInvitedEmailAddress()
null for nonepublic Guardian setInvitedEmailAddress(String invitedEmailAddress)
invitedEmailAddress - invitedEmailAddress or null for nonepublic String getStudentId()
null for nonepublic Guardian setStudentId(String studentId)
studentId - studentId or null for nonepublic Guardian set(String fieldName, Object value)
set in class GenericJsonpublic Guardian clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.