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

#include <teacher.h>

Inheritance diagram for google_classroom_api::Teacher:

Public Member Functions

 Teacher (const Json::Value &storage)
 
 Teacher (Json::Value *storage)
 
virtual ~Teacher ()
 
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_profile () const
 
void clear_profile ()
 
const UserProfile get_profile () const
 
UserProfile mutable_profile ()
 
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 TeacherNew ()
 

Detailed Description

Teacher of a course.

Constructor & Destructor Documentation

◆ Teacher() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~Teacher()

google_classroom_api::Teacher::~Teacher ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::Teacher

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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