|
classroom
v1
|
#include <classroom_service.h>
Public Member Functions | |
| RegistrationsResource (ClassroomService *service) | |
| ~RegistrationsResource () | |
| RegistrationsResource_CreateMethod * | NewCreateMethod (client::AuthorizationCredential *_credential_, const Registration &_content_) const |
| RegistrationsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view ®istration_id) 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.
| RegistrationsResource_CreateMethod * google_classroom_api::ClassroomService::RegistrationsResource::NewCreateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const Registration & | _content_ | ||
| ) | const |
Creates a new RegistrationsResource_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. | RegistrationsResource_DeleteMethod * google_classroom_api::ClassroomService::RegistrationsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | registration_id | ||
| ) | const |
Creates a new RegistrationsResource_DeleteMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | registration_id | The registration_id of the Registration to be deleted. |
Execute the method instance, then destroy it when they are finished.