classroom  v1
Public Member Functions | List of all members
google_classroom_api::ClassroomService::RegistrationsResource Class Reference

#include <classroom_service.h>

Public Member Functions

 RegistrationsResource (ClassroomService *service)
 
 ~RegistrationsResource ()
 
RegistrationsResource_CreateMethodNewCreateMethod (client::AuthorizationCredential *_credential_, const Registration &_content_) const
 
RegistrationsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &registration_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ RegistrationsResource()

google_classroom_api::ClassroomService::RegistrationsResource::RegistrationsResource ( ClassroomService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~RegistrationsResource()

google_classroom_api::ClassroomService::RegistrationsResource::~RegistrationsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewCreateMethod()

RegistrationsResource_CreateMethod * google_classroom_api::ClassroomService::RegistrationsResource::NewCreateMethod ( client::AuthorizationCredential *  _credential_,
const Registration _content_ 
) const

Creates a new RegistrationsResource_CreateMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]<em>content</em>The data object to create.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteMethod()

RegistrationsResource_DeleteMethod * google_classroom_api::ClassroomService::RegistrationsResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  registration_id 
) const

Creates a new RegistrationsResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]registration_idThe registration_id of the Registration to be deleted.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

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