#include <teacher.h>
◆ Teacher() [1/2]
| google_classroom_api::Teacher::Teacher |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ Teacher() [2/2]
| google_classroom_api::Teacher::Teacher |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~Teacher()
| google_classroom_api::Teacher::~Teacher |
( |
| ) |
|
|
virtual |
◆ clear_course_id()
| void google_classroom_api::Teacher::clear_course_id |
( |
| ) |
|
|
inline |
Clears the 'courseId' attribute.
◆ clear_profile()
| void google_classroom_api::Teacher::clear_profile |
( |
| ) |
|
|
inline |
Clears the 'profile' attribute.
◆ clear_user_id()
| void google_classroom_api::Teacher::clear_user_id |
( |
| ) |
|
|
inline |
Clears the 'userId' attribute.
◆ get_course_id()
| const StringPiece google_classroom_api::Teacher::get_course_id |
( |
| ) |
const |
|
inline |
Get the value of the 'courseId' attribute.
◆ get_profile()
| const UserProfile google_classroom_api::Teacher::get_profile |
( |
| ) |
const |
Get a reference to the value of the 'profile' attribute.
◆ get_user_id()
| const StringPiece google_classroom_api::Teacher::get_user_id |
( |
| ) |
const |
|
inline |
Get the value of the 'userId' attribute.
◆ GetTypeName()
| const StringPiece google_classroom_api::Teacher::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_course_id()
| bool google_classroom_api::Teacher::has_course_id |
( |
| ) |
const |
|
inline |
Determine if the 'courseId' attribute was set.
- Returns
- true if the '
courseId' attribute was set.
◆ has_profile()
| bool google_classroom_api::Teacher::has_profile |
( |
| ) |
const |
|
inline |
Determine if the 'profile' attribute was set.
- Returns
- true if the '
profile' attribute was set.
◆ has_user_id()
| bool google_classroom_api::Teacher::has_user_id |
( |
| ) |
const |
|
inline |
Determine if the 'userId' attribute was set.
- Returns
- true if the '
userId' attribute was set.
◆ mutable_profile()
| UserProfile google_classroom_api::Teacher::mutable_profile |
( |
| ) |
|
Gets a reference to a mutable value of the 'profile' property.
Global user information for the teacher.
Read-only.
- Returns
- The result can be modified to change the attribute value.
◆ New()
| Teacher * google_classroom_api::Teacher::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_course_id()
| void google_classroom_api::Teacher::set_course_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'courseId' attribute.
Identifier of the course.
Read-only.
- Parameters
-
◆ set_user_id()
| void google_classroom_api::Teacher::set_user_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'userId' attribute.
Identifier of the user.
When specified as a parameter of a request, this identifier can be one of the following:
- the numeric identifier for the user
- the email address of the user
- the string literal
"me", indicating the requesting user.
- Parameters
-
The documentation for this class was generated from the following files:
- google/classroom_api/teacher.h
- google/classroom_api/teacher.cc