public final class Invitation 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 |
|---|
Invitation() |
| Modifier and Type | Method and Description |
|---|---|
Invitation |
clone() |
String |
getCourseId()
Identifier of the course to invite the user to.
|
String |
getId()
Identifier assigned by Classroom.
|
String |
getRole()
Role to invite the user to have.
|
String |
getUserId()
Identifier of the invited user.
|
Invitation |
set(String fieldName,
Object value) |
Invitation |
setCourseId(String courseId)
Identifier of the course to invite the user to.
|
Invitation |
setId(String id)
Identifier assigned by Classroom.
|
Invitation |
setRole(String role)
Role to invite the user to have.
|
Invitation |
setUserId(String userId)
Identifier of the invited 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 Invitation setCourseId(String courseId)
courseId - courseId or null for nonepublic String getId()
null for nonepublic Invitation setId(String id)
id - id or null for nonepublic String getRole()
null for nonepublic Invitation setRole(String role)
role - role or null for nonepublic String getUserId()
null for nonepublic Invitation setUserId(String userId)
userId - userId or null for nonepublic Invitation set(String fieldName, Object value)
set in class GenericJsonpublic Invitation clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.