public final class Registration 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 |
|---|
Registration() |
| Modifier and Type | Method and Description |
|---|---|
Registration |
clone() |
CloudPubsubTopic |
getCloudPubsubTopic()
The Cloud Pub/Sub topic that notifications are to be sent to.
|
String |
getExpiryTime()
The time until which the `Registration` is effective.
|
Feed |
getFeed()
Specification for the class of notifications that Classroom should deliver to the destination.
|
String |
getRegistrationId()
A server-generated unique identifier for this `Registration`.
|
Registration |
set(String fieldName,
Object value) |
Registration |
setCloudPubsubTopic(CloudPubsubTopic cloudPubsubTopic)
The Cloud Pub/Sub topic that notifications are to be sent to.
|
Registration |
setExpiryTime(String expiryTime)
The time until which the `Registration` is effective.
|
Registration |
setFeed(Feed feed)
Specification for the class of notifications that Classroom should deliver to the destination.
|
Registration |
setRegistrationId(String registrationId)
A server-generated unique identifier for this `Registration`.
|
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 CloudPubsubTopic getCloudPubsubTopic()
null for nonepublic Registration setCloudPubsubTopic(CloudPubsubTopic cloudPubsubTopic)
cloudPubsubTopic - cloudPubsubTopic or null for nonepublic String getExpiryTime()
null for nonepublic Registration setExpiryTime(String expiryTime)
expiryTime - expiryTime or null for nonepublic Feed getFeed()
null for nonepublic Registration setFeed(Feed feed)
feed - feed or null for nonepublic String getRegistrationId()
null for nonepublic Registration setRegistrationId(String registrationId)
registrationId - registrationId or null for nonepublic Registration set(String fieldName, Object value)
set in class GenericJsonpublic Registration clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.