public final class Feed 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 |
|---|
Feed() |
| Modifier and Type | Method and Description |
|---|---|
Feed |
clone() |
CourseRosterChangesInfo |
getCourseRosterChangesInfo()
Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`.
|
CourseWorkChangesInfo |
getCourseWorkChangesInfo()
Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`.
|
String |
getFeedType()
The type of feed.
|
Feed |
set(String fieldName,
Object value) |
Feed |
setCourseRosterChangesInfo(CourseRosterChangesInfo courseRosterChangesInfo)
Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`.
|
Feed |
setCourseWorkChangesInfo(CourseWorkChangesInfo courseWorkChangesInfo)
Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`.
|
Feed |
setFeedType(String feedType)
The type of feed.
|
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 CourseRosterChangesInfo getCourseRosterChangesInfo()
null for nonepublic Feed setCourseRosterChangesInfo(CourseRosterChangesInfo courseRosterChangesInfo)
courseRosterChangesInfo - courseRosterChangesInfo or null for nonepublic CourseWorkChangesInfo getCourseWorkChangesInfo()
null for nonepublic Feed setCourseWorkChangesInfo(CourseWorkChangesInfo courseWorkChangesInfo)
courseWorkChangesInfo - courseWorkChangesInfo or null for nonepublic String getFeedType()
null for nonepublic Feed setFeedType(String feedType)
feedType - feedType or null for nonepublic Feed set(String fieldName, Object value)
set in class GenericJsonpublic Feed clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.