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

#include <modify_individual_students_options.h>

Inheritance diagram for google_classroom_api::ModifyIndividualStudentsOptions:

Public Member Functions

 ModifyIndividualStudentsOptions (const Json::Value &storage)
 
 ModifyIndividualStudentsOptions (Json::Value *storage)
 
virtual ~ModifyIndividualStudentsOptions ()
 
const StringPiece GetTypeName () const
 
bool has_add_student_ids () const
 
void clear_add_student_ids ()
 
const client::JsonCppArray< string > get_add_student_ids () const
 
client::JsonCppArray< string > mutable_addStudentIds ()
 
bool has_remove_student_ids () const
 
void clear_remove_student_ids ()
 
const client::JsonCppArray< string > get_remove_student_ids () const
 
client::JsonCppArray< string > mutable_removeStudentIds ()
 

Static Public Member Functions

static ModifyIndividualStudentsOptionsNew ()
 

Detailed Description

Contains fields to add or remove students from a course work or announcement where the assigneeMode is set to INDIVIDUAL_STUDENTS.

Constructor & Destructor Documentation

◆ ModifyIndividualStudentsOptions() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ModifyIndividualStudentsOptions() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ModifyIndividualStudentsOptions()

google_classroom_api::ModifyIndividualStudentsOptions::~ModifyIndividualStudentsOptions ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_add_student_ids()

void google_classroom_api::ModifyIndividualStudentsOptions::clear_add_student_ids ( )
inline

Clears the 'addStudentIds' attribute.

◆ clear_remove_student_ids()

void google_classroom_api::ModifyIndividualStudentsOptions::clear_remove_student_ids ( )
inline

Clears the 'removeStudentIds' attribute.

◆ get_add_student_ids()

const client::JsonCppArray<string > google_classroom_api::ModifyIndividualStudentsOptions::get_add_student_ids ( ) const
inline

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

◆ get_remove_student_ids()

const client::JsonCppArray<string > google_classroom_api::ModifyIndividualStudentsOptions::get_remove_student_ids ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::ModifyIndividualStudentsOptions

◆ has_add_student_ids()

bool google_classroom_api::ModifyIndividualStudentsOptions::has_add_student_ids ( ) const
inline

Determine if the 'addStudentIds' attribute was set.

Returns
true if the 'addStudentIds' attribute was set.

◆ has_remove_student_ids()

bool google_classroom_api::ModifyIndividualStudentsOptions::has_remove_student_ids ( ) const
inline

Determine if the 'removeStudentIds' attribute was set.

Returns
true if the 'removeStudentIds' attribute was set.

◆ mutable_addStudentIds()

client::JsonCppArray<string > google_classroom_api::ModifyIndividualStudentsOptions::mutable_addStudentIds ( )
inline

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

Ids of students to be added as having access to this coursework/announcement.

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

◆ mutable_removeStudentIds()

client::JsonCppArray<string > google_classroom_api::ModifyIndividualStudentsOptions::mutable_removeStudentIds ( )
inline

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

Ids of students to be removed from having access to this coursework/announcement.

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

◆ New()

ModifyIndividualStudentsOptions * google_classroom_api::ModifyIndividualStudentsOptions::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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