classroom
v1
|
#include <feed.h>
Public Member Functions | |
Feed (const Json::Value &storage) | |
Feed (Json::Value *storage) | |
virtual | ~Feed () |
const StringPiece | GetTypeName () const |
bool | has_course_roster_changes_info () const |
void | clear_course_roster_changes_info () |
const CourseRosterChangesInfo | get_course_roster_changes_info () const |
CourseRosterChangesInfo | mutable_courseRosterChangesInfo () |
bool | has_course_work_changes_info () const |
void | clear_course_work_changes_info () |
const CourseWorkChangesInfo | get_course_work_changes_info () const |
CourseWorkChangesInfo | mutable_courseWorkChangesInfo () |
bool | has_feed_type () const |
void | clear_feed_type () |
const StringPiece | get_feed_type () const |
void | set_feed_type (const StringPiece &value) |
Static Public Member Functions | |
static Feed * | New () |
A class of notifications that an application can register to receive. For example: "all roster changes for a domain".
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'courseRosterChangesInfo
' attribute.
|
inline |
Clears the 'courseWorkChangesInfo
' attribute.
|
inline |
Clears the 'feedType
' attribute.
const CourseRosterChangesInfo google_classroom_api::Feed::get_course_roster_changes_info | ( | ) | const |
Get a reference to the value of the 'courseRosterChangesInfo
' attribute.
const CourseWorkChangesInfo google_classroom_api::Feed::get_course_work_changes_info | ( | ) | const |
Get a reference to the value of the 'courseWorkChangesInfo
' attribute.
|
inline |
Get the value of the 'feedType
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_classroom_api::Feed
|
inline |
Determine if the 'courseRosterChangesInfo
' attribute was set.
courseRosterChangesInfo
' attribute was set.
|
inline |
Determine if the 'courseWorkChangesInfo
' attribute was set.
courseWorkChangesInfo
' attribute was set.
|
inline |
Determine if the 'feedType
' attribute was set.
feedType
' attribute was set. CourseRosterChangesInfo google_classroom_api::Feed::mutable_courseRosterChangesInfo | ( | ) |
Gets a reference to a mutable value of the 'courseRosterChangesInfo
' property.
Information about a Feed
with a feed_type
of COURSE_ROSTER_CHANGES
. This field must be specified if feed_type
is COURSE_ROSTER_CHANGES
.
CourseWorkChangesInfo google_classroom_api::Feed::mutable_courseWorkChangesInfo | ( | ) |
Gets a reference to a mutable value of the 'courseWorkChangesInfo
' property.
Information about a Feed
with a feed_type
of COURSE_WORK_CHANGES
. This field must be specified if feed_type
is COURSE_WORK_CHANGES
.
|
static |
Creates a new default instance.
|
inline |
Change the 'feedType
' attribute.
The type of feed.
[in] | value | The new value. |