public final class Feed
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 |
|---|
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`.
|
java.lang.String |
getFeedType()
The type of feed.
|
Feed |
set(java.lang.String fieldName,
java.lang.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(java.lang.String feedType)
The type of feed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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 java.lang.String getFeedType()
null for nonepublic Feed setFeedType(java.lang.String feedType)
feedType - feedType or null for nonepublic Feed set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Feed clone()
clone in class com.google.api.client.json.GenericJson