classroom  v1
Public Member Functions | Static Public Member Functions | List of all members
google_classroom_api::Feed Class Reference

#include <feed.h>

Inheritance diagram for google_classroom_api::Feed:

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 FeedNew ()
 

Detailed Description

A class of notifications that an application can register to receive. For example: "all roster changes for a domain".

Constructor & Destructor Documentation

◆ Feed() [1/2]

google_classroom_api::Feed::Feed ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ Feed() [2/2]

google_classroom_api::Feed::Feed ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~Feed()

google_classroom_api::Feed::~Feed ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_course_roster_changes_info()

void google_classroom_api::Feed::clear_course_roster_changes_info ( )
inline

Clears the 'courseRosterChangesInfo' attribute.

◆ clear_course_work_changes_info()

void google_classroom_api::Feed::clear_course_work_changes_info ( )
inline

Clears the 'courseWorkChangesInfo' attribute.

◆ clear_feed_type()

void google_classroom_api::Feed::clear_feed_type ( )
inline

Clears the 'feedType' attribute.

◆ get_course_roster_changes_info()

const CourseRosterChangesInfo google_classroom_api::Feed::get_course_roster_changes_info ( ) const

Get a reference to the value of the 'courseRosterChangesInfo' attribute.

◆ get_course_work_changes_info()

const CourseWorkChangesInfo google_classroom_api::Feed::get_course_work_changes_info ( ) const

Get a reference to the value of the 'courseWorkChangesInfo' attribute.

◆ get_feed_type()

const StringPiece google_classroom_api::Feed::get_feed_type ( ) const
inline

Get the value of the 'feedType' attribute.

◆ GetTypeName()

const StringPiece google_classroom_api::Feed::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_classroom_api::Feed

◆ has_course_roster_changes_info()

bool google_classroom_api::Feed::has_course_roster_changes_info ( ) const
inline

Determine if the 'courseRosterChangesInfo' attribute was set.

Returns
true if the 'courseRosterChangesInfo' attribute was set.

◆ has_course_work_changes_info()

bool google_classroom_api::Feed::has_course_work_changes_info ( ) const
inline

Determine if the 'courseWorkChangesInfo' attribute was set.

Returns
true if the 'courseWorkChangesInfo' attribute was set.

◆ has_feed_type()

bool google_classroom_api::Feed::has_feed_type ( ) const
inline

Determine if the 'feedType' attribute was set.

Returns
true if the 'feedType' attribute was set.

◆ mutable_courseRosterChangesInfo()

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.

Returns
The result can be modified to change the attribute value.

◆ mutable_courseWorkChangesInfo()

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.

Returns
The result can be modified to change the attribute value.

◆ New()

Feed * google_classroom_api::Feed::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_feed_type()

void google_classroom_api::Feed::set_feed_type ( const StringPiece &  value)
inline

Change the 'feedType' attribute.

The type of feed.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: