Interface IProjectResource
Represents project resource.
public interface IProjectResource : IRestResource
- Inherited Members
Methods
Delete(CancellationToken)
Deletes a project, represented by the current resource instance, with all its inboxes.
Task<DeleteProjectResponse> Delete(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken- Token to control operation cancellation.
Returns
- Task<DeleteProjectResponse>
Deleted project details.
Remarks
All inboxes, associated with the project, will be deleted as well.
After deletion of the project, represented by the current resource instance, it will be no longer available.
Thus any further operations on it will result in an error.
GetDetails(CancellationToken)
Gets details and inboxes of the project, represented by the current resource instance.
Task<Project> GetDetails(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenToken to control operation cancellation.
Returns
Update(UpdateProjectRequest, CancellationToken)
Updates the project, represented by the current resource instance, with details specified by request.
Task<Project> Update(UpdateProjectRequest request, CancellationToken cancellationToken = default)
Parameters
requestUpdateProjectRequestProject details for update.
cancellationTokenCancellationToken- Token to control operation cancellation.