|
classroom
v1
|
#include <classroom_service.h>
Classes | |
| class | AliasesResource |
| class | AnnouncementsResource |
| class | CourseWorkResource |
| class | StudentsResource |
| class | TeachersResource |
| class | TopicsResource |
Public Member Functions | |
| CoursesResource (ClassroomService *service) | |
| ~CoursesResource () | |
| const AliasesResource & | get_aliases () const |
| const AnnouncementsResource & | get_announcements () const |
| const CourseWorkResource & | get_course_work () const |
| const StudentsResource & | get_students () const |
| const TeachersResource & | get_teachers () const |
| const TopicsResource & | get_topics () const |
| CoursesResource_CreateMethod * | NewCreateMethod (client::AuthorizationCredential *_credential_, const Course &_content_) const |
| CoursesResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
| CoursesResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id) const |
| CoursesResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
| CoursesResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_) const |
| CoursesResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id, const Course &_content_) const |
| CoursesResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &id, const Course &_content_) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
| [in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
|
inline |
Gets the aliases resource method factory.
|
inline |
Gets the announcements resource method factory.
|
inline |
Gets the courseWork resource method factory.
|
inline |
Gets the students resource method factory.
|
inline |
Gets the teachers resource method factory.
|
inline |
Gets the topics resource method factory.
| CoursesResource_CreateMethod * google_classroom_api::ClassroomService::CoursesResource::NewCreateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const Course & | _content_ | ||
| ) | const |
Creates a new CoursesResource_CreateMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | <em>content</em> | The data object to create. |
Execute the method instance, then destroy it when they are finished. | CoursesResource_DeleteMethod * google_classroom_api::ClassroomService::CoursesResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | id | ||
| ) | const |
Creates a new CoursesResource_DeleteMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | id | Identifier of the course to delete. This identifier can be either the Classroom-assigned identifier or an alias. |
Execute the method instance, then destroy it when they are finished. | CoursesResource_GetMethod * google_classroom_api::ClassroomService::CoursesResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | id | ||
| ) | const |
Creates a new CoursesResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | id | Identifier of the course to return. This identifier can be either the Classroom-assigned identifier or an alias. |
Execute the method instance, then destroy it when they are finished. | CoursesResource_ListMethod * google_classroom_api::ClassroomService::CoursesResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new CoursesResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
Execute the method instance, then destroy it when they are finished. | CoursesResource_ListMethodPager * google_classroom_api::ClassroomService::CoursesResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a pager for iterating over incremental result pages.
| [in] | <em>credential</em> | NULL credentials will not authorize the request. |
| CoursesResource_PatchMethod * google_classroom_api::ClassroomService::CoursesResource::NewPatchMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | id, | ||
| const Course & | _content_ | ||
| ) | const |
Creates a new CoursesResource_PatchMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | id | Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias. |
| [in] | <em>content</em> | The data object to patch. |
Execute the method instance, then destroy it when they are finished. | CoursesResource_UpdateMethod * google_classroom_api::ClassroomService::CoursesResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | id, | ||
| const Course & | _content_ | ||
| ) | const |
Creates a new CoursesResource_UpdateMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | id | Identifier of the course to update. This identifier can be either the Classroom-assigned identifier or an alias. |
| [in] | <em>content</em> | The data object to update. |
Execute the method instance, then destroy it when they are finished.