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

#include <list_courses_response.h>

Inheritance diagram for google_classroom_api::ListCoursesResponse:

Public Member Functions

 ListCoursesResponse (const Json::Value &storage)
 
 ListCoursesResponse (Json::Value *storage)
 
virtual ~ListCoursesResponse ()
 
const StringPiece GetTypeName () const
 
bool has_courses () const
 
void clear_courses ()
 
const client::JsonCppArray< Courseget_courses () const
 
client::JsonCppArray< Coursemutable_courses ()
 
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 ListCoursesResponseNew ()
 

Detailed Description

Response when listing courses.

Constructor & Destructor Documentation

◆ ListCoursesResponse() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ListCoursesResponse() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ListCoursesResponse()

google_classroom_api::ListCoursesResponse::~ListCoursesResponse ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_courses()

void google_classroom_api::ListCoursesResponse::clear_courses ( )
inline

Clears the 'courses' attribute.

◆ clear_next_page_token()

void google_classroom_api::ListCoursesResponse::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ get_courses()

const client::JsonCppArray<Course > google_classroom_api::ListCoursesResponse::get_courses ( ) const

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

◆ get_next_page_token()

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

Get the value of the 'nextPageToken' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::ListCoursesResponse

◆ has_courses()

bool google_classroom_api::ListCoursesResponse::has_courses ( ) const
inline

Determine if the 'courses' attribute was set.

Returns
true if the 'courses' attribute was set.

◆ has_next_page_token()

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

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ mutable_courses()

client::JsonCppArray<Course > google_classroom_api::ListCoursesResponse::mutable_courses ( )

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

Courses that match the list request.

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

◆ New()

ListCoursesResponse * google_classroom_api::ListCoursesResponse::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_next_page_token()

void google_classroom_api::ListCoursesResponse::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: