#include <list_courses_response.h>
Response when listing courses.
◆ ListCoursesResponse() [1/2]
google_classroom_api::ListCoursesResponse::ListCoursesResponse |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ListCoursesResponse()
google_classroom_api::ListCoursesResponse::~ListCoursesResponse |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
The documentation for this class was generated from the following files: