tasks  v1
Public Member Functions | List of all members
google_tasks_api::TasksService::TasksResource Class Reference

#include <tasks_service.h>

Public Member Functions

 TasksResource (TasksService *service)
 
 ~TasksResource ()
 
TasksResource_ClearMethodNewClearMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist) const
 
TasksResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist, const absl::string_view &task) const
 
TasksResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist, const absl::string_view &task) const
 
TasksResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist, const Task &_content_) const
 
TasksResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist) const
 
TasksResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist) const
 
TasksResource_MoveMethodNewMoveMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist, const absl::string_view &task) const
 
TasksResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist, const absl::string_view &task, const Task &_content_) const
 
TasksResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &tasklist, const absl::string_view &task, const Task &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ TasksResource()

google_tasks_api::TasksService::TasksResource::TasksResource ( TasksService 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.

◆ ~TasksResource()

google_tasks_api::TasksService::TasksResource::~TasksResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewClearMethod()

TasksResource_ClearMethod * google_tasks_api::TasksService::TasksResource::NewClearMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist 
) const

Creates a new TasksResource_ClearMethod instance.

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

◆ NewDeleteMethod()

TasksResource_DeleteMethod * google_tasks_api::TasksService::TasksResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist,
const absl::string_view &  task 
) const

Creates a new TasksResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]tasklistTask list identifier.
[in]taskTask identifier.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

TasksResource_GetMethod * google_tasks_api::TasksService::TasksResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist,
const absl::string_view &  task 
) const

Creates a new TasksResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]tasklistTask list identifier.
[in]taskTask identifier.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

TasksResource_InsertMethod * google_tasks_api::TasksService::TasksResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist,
const Task _content_ 
) const

Creates a new TasksResource_InsertMethod instance.

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

◆ NewListMethod()

TasksResource_ListMethod * google_tasks_api::TasksService::TasksResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist 
) const

Creates a new TasksResource_ListMethod instance.

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

◆ NewListMethodPager()

TasksResource_ListMethodPager * google_tasks_api::TasksService::TasksResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]tasklistTask list identifier.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewMoveMethod()

TasksResource_MoveMethod * google_tasks_api::TasksService::TasksResource::NewMoveMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist,
const absl::string_view &  task 
) const

Creates a new TasksResource_MoveMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]tasklistTask list identifier.
[in]taskTask identifier.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewPatchMethod()

TasksResource_PatchMethod * google_tasks_api::TasksService::TasksResource::NewPatchMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist,
const absl::string_view &  task,
const Task _content_ 
) const

Creates a new TasksResource_PatchMethod instance.

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

◆ NewUpdateMethod()

TasksResource_UpdateMethod * google_tasks_api::TasksService::TasksResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  tasklist,
const absl::string_view &  task,
const Task _content_ 
) const

Creates a new TasksResource_UpdateMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]tasklistTask list identifier.
[in]taskTask identifier.
[in]<em>content</em>The data object to update.
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: