classroom
v1
|
#include <invitation.h>
Public Member Functions | |
Invitation (const Json::Value &storage) | |
Invitation (Json::Value *storage) | |
virtual | ~Invitation () |
const StringPiece | GetTypeName () const |
bool | has_course_id () const |
void | clear_course_id () |
const StringPiece | get_course_id () const |
void | set_course_id (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_role () const |
void | clear_role () |
const StringPiece | get_role () const |
void | set_role (const StringPiece &value) |
bool | has_user_id () const |
void | clear_user_id () |
const StringPiece | get_user_id () const |
void | set_user_id (const StringPiece &value) |
Static Public Member Functions | |
static Invitation * | New () |
An invitation to join a course.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'courseId
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'role
' attribute.
|
inline |
Clears the 'userId
' attribute.
|
inline |
Get the value of the 'courseId
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'role
' attribute.
|
inline |
Get the value of the 'userId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'courseId
' attribute was set.
courseId
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'role
' attribute was set.
role
' attribute was set.
|
inline |
Determine if the 'userId
' attribute was set.
userId
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'courseId
' attribute.
Identifier of the course to invite the user to.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
Identifier assigned by Classroom.
Read-only.
[in] | value | The new value. |
|
inline |
Change the 'role
' attribute.
Role to invite the user to have. Must not be COURSE_ROLE_UNSPECIFIED
.
[in] | value | The new value. |
|
inline |
Change the 'userId
' attribute.
Identifier of the invited user.
When specified as a parameter of a request, this identifier can be set to one of the following:
"me"
, indicating the requesting user.[in] | value | The new value. |