C# Class Box.V2.Managers.BoxTasksManager

Inheritance: BoxResourceManager
Mostra file Open project: box/box-windows-sdk-v2 Class Usage Examples

Public Methods

Method Description
BoxTasksManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : System
CreateTaskAssignmentAsync ( BoxTaskAssignmentRequest taskAssignmentRequest ) : Task

Used to assign a task to a single user. There can be multiple assignments on a given task.

CreateTaskAsync ( BoxTaskCreateRequest taskCreateRequest ) : Task

Used to create a single task for single user on a single file.

DeleteTaskAssignmentAsync ( string taskAssignmentId ) : Task

Deletes a specific task assignment.

DeleteTaskAsync ( string taskId ) : Task

Permanently deletes a specific task.

GetAssignmentsAsync ( string taskId ) : Task>

Retrieves all of the assignments for a given task.

GetTaskAssignmentAsync ( string taskAssignmentId ) : Task

Fetches a specific task assignment.

GetTaskAsync ( string taskId ) : Task

Fetches a specific task.

UpdateTaskAssignmentAsync ( BoxTaskAssignmentUpdateRequest taskAssignmentUpdateRequest ) : Task

Used to update a task assignment.

UpdateTaskAsync ( BoxTaskUpdateRequest taskUpdateRequest ) : Task

Updates a specific task.

Method Details

BoxTasksManager() public method

public BoxTasksManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : System
config IBoxConfig
service IBoxService
converter IBoxConverter
auth IAuthRepository
asUser string
suppressNotifications bool
return System

CreateTaskAssignmentAsync() public method

Used to assign a task to a single user. There can be multiple assignments on a given task.
public CreateTaskAssignmentAsync ( BoxTaskAssignmentRequest taskAssignmentRequest ) : Task
taskAssignmentRequest Box.V2.Models.BoxTaskAssignmentRequest BoxTaskAssignmentRequest object.
return Task

CreateTaskAsync() public method

Used to create a single task for single user on a single file.
public CreateTaskAsync ( BoxTaskCreateRequest taskCreateRequest ) : Task
taskCreateRequest BoxTaskCreateRequest BoxTaskCreateRequest object.
return Task

DeleteTaskAssignmentAsync() public method

Deletes a specific task assignment.
public DeleteTaskAssignmentAsync ( string taskAssignmentId ) : Task
taskAssignmentId string Id of the task assignment.
return Task

DeleteTaskAsync() public method

Permanently deletes a specific task.
public DeleteTaskAsync ( string taskId ) : Task
taskId string Id of the task.
return Task

GetAssignmentsAsync() public method

Retrieves all of the assignments for a given task.
public GetAssignmentsAsync ( string taskId ) : Task>
taskId string Id of the task.
return Task>

GetTaskAssignmentAsync() public method

Fetches a specific task assignment.
public GetTaskAssignmentAsync ( string taskAssignmentId ) : Task
taskAssignmentId string Id of the task assignment.
return Task

GetTaskAsync() public method

Fetches a specific task.
public GetTaskAsync ( string taskId ) : Task
taskId string Id of the task.
return Task

UpdateTaskAssignmentAsync() public method

Used to update a task assignment.
public UpdateTaskAssignmentAsync ( BoxTaskAssignmentUpdateRequest taskAssignmentUpdateRequest ) : Task
taskAssignmentUpdateRequest Box.V2.Models.BoxTaskAssignmentUpdateRequest BoxTaskAssignmentUpdateRequest object.
return Task

UpdateTaskAsync() public method

Updates a specific task.
public UpdateTaskAsync ( BoxTaskUpdateRequest taskUpdateRequest ) : Task
taskUpdateRequest Box.V2.Models.BoxTaskUpdateRequest BoxTaskUpdateRequest object.
return Task