public final class Guardian
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 |
---|
Guardian() |
Modifier and Type | Method and Description |
---|---|
Guardian |
clone() |
java.lang.String |
getGuardianId()
Identifier for the guardian.
|
UserProfile |
getGuardianProfile()
User profile for the guardian.
|
java.lang.String |
getInvitedEmailAddress()
The email address to which the initial guardian invitation was sent.
|
java.lang.String |
getStudentId()
Identifier for the student to whom the guardian relationship applies.
|
Guardian |
set(java.lang.String fieldName,
java.lang.Object value) |
Guardian |
setGuardianId(java.lang.String guardianId)
Identifier for the guardian.
|
Guardian |
setGuardianProfile(UserProfile guardianProfile)
User profile for the guardian.
|
Guardian |
setInvitedEmailAddress(java.lang.String invitedEmailAddress)
The email address to which the initial guardian invitation was sent.
|
Guardian |
setStudentId(java.lang.String studentId)
Identifier for the student to whom the guardian relationship applies.
|
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 getGuardianId()
null
for nonepublic Guardian setGuardianId(java.lang.String guardianId)
guardianId
- guardianId or null
for nonepublic UserProfile getGuardianProfile()
null
for nonepublic Guardian setGuardianProfile(UserProfile guardianProfile)
guardianProfile
- guardianProfile or null
for nonepublic java.lang.String getInvitedEmailAddress()
null
for nonepublic Guardian setInvitedEmailAddress(java.lang.String invitedEmailAddress)
invitedEmailAddress
- invitedEmailAddress or null
for nonepublic java.lang.String getStudentId()
null
for nonepublic Guardian setStudentId(java.lang.String studentId)
studentId
- studentId or null
for nonepublic Guardian set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Guardian clone()
clone
in class com.google.api.client.json.GenericJson