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

#include <list_announcements_response.h>

Inheritance diagram for google_classroom_api::ListAnnouncementsResponse:

Public Member Functions

 ListAnnouncementsResponse (const Json::Value &storage)
 
 ListAnnouncementsResponse (Json::Value *storage)
 
virtual ~ListAnnouncementsResponse ()
 
const StringPiece GetTypeName () const
 
bool has_announcements () const
 
void clear_announcements ()
 
const client::JsonCppArray< Announcementget_announcements () const
 
client::JsonCppArray< Announcementmutable_announcements ()
 
bool has_next_page_token () const
 
void clear_next_page_token ()
 
const StringPiece get_next_page_token () const
 
void set_next_page_token (const StringPiece &value)
 

Static Public Member Functions

static ListAnnouncementsResponseNew ()
 

Detailed Description

Response when listing course work.

Constructor & Destructor Documentation

◆ ListAnnouncementsResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ListAnnouncementsResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ListAnnouncementsResponse()

google_classroom_api::ListAnnouncementsResponse::~ListAnnouncementsResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_announcements()

void google_classroom_api::ListAnnouncementsResponse::clear_announcements ( )
inline

Clears the 'announcements' attribute.

◆ clear_next_page_token()

void google_classroom_api::ListAnnouncementsResponse::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ get_announcements()

const client::JsonCppArray<Announcement > google_classroom_api::ListAnnouncementsResponse::get_announcements ( ) const

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

◆ get_next_page_token()

const StringPiece google_classroom_api::ListAnnouncementsResponse::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::ListAnnouncementsResponse

◆ has_announcements()

bool google_classroom_api::ListAnnouncementsResponse::has_announcements ( ) const
inline

Determine if the 'announcements' attribute was set.

Returns
true if the 'announcements' attribute was set.

◆ has_next_page_token()

bool google_classroom_api::ListAnnouncementsResponse::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ mutable_announcements()

client::JsonCppArray<Announcement > google_classroom_api::ListAnnouncementsResponse::mutable_announcements ( )

Gets a reference to a mutable value of the 'announcements' property.

Announcement items that match the request.

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

◆ New()

ListAnnouncementsResponse * google_classroom_api::ListAnnouncementsResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_next_page_token()

void google_classroom_api::ListAnnouncementsResponse::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

Token identifying the next page of results to return. If empty, no further results are available.

Parameters
[in]valueThe new value.

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