TaskServiceBase constructor
TaskServiceBase()
Implementation
TaskServiceBase() {
$addMethod($grpc.ServiceMethod<$14.CreateTaskRequest, $14.CreateTaskResponse>(
'CreateTask',
createTask_Pre,
false,
false,
($core.List<$core.int> value) => $14.CreateTaskRequest.fromBuffer(value),
($14.CreateTaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.UpdateTaskRequest, $14.UpdateTaskResponse>(
'UpdateTask',
updateTask_Pre,
false,
false,
($core.List<$core.int> value) => $14.UpdateTaskRequest.fromBuffer(value),
($14.UpdateTaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.GetTaskRequest, $14.GetTaskResponse>(
'GetTask',
getTask_Pre,
false,
false,
($core.List<$core.int> value) => $14.GetTaskRequest.fromBuffer(value),
($14.GetTaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.GetTasksByPatientRequest, $14.GetTasksByPatientResponse>(
'GetTasksByPatient',
getTasksByPatient_Pre,
false,
false,
($core.List<$core.int> value) => $14.GetTasksByPatientRequest.fromBuffer(value),
($14.GetTasksByPatientResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.GetTasksByPatientSortedByStatusRequest, $14.GetTasksByPatientSortedByStatusResponse>(
'GetTasksByPatientSortedByStatus',
getTasksByPatientSortedByStatus_Pre,
false,
false,
($core.List<$core.int> value) => $14.GetTasksByPatientSortedByStatusRequest.fromBuffer(value),
($14.GetTasksByPatientSortedByStatusResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.GetAssignedTasksRequest, $14.GetAssignedTasksResponse>(
'GetAssignedTasks',
getAssignedTasks_Pre,
false,
false,
($core.List<$core.int> value) => $14.GetAssignedTasksRequest.fromBuffer(value),
($14.GetAssignedTasksResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.AssignTaskRequest, $14.AssignTaskResponse>(
'AssignTask',
assignTask_Pre,
false,
false,
($core.List<$core.int> value) => $14.AssignTaskRequest.fromBuffer(value),
($14.AssignTaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.UnassignTaskRequest, $14.UnassignTaskResponse>(
'UnassignTask',
unassignTask_Pre,
false,
false,
($core.List<$core.int> value) => $14.UnassignTaskRequest.fromBuffer(value),
($14.UnassignTaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.CreateSubtaskRequest, $14.CreateSubtaskResponse>(
'CreateSubtask',
createSubtask_Pre,
false,
false,
($core.List<$core.int> value) => $14.CreateSubtaskRequest.fromBuffer(value),
($14.CreateSubtaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.UpdateSubtaskRequest, $14.UpdateSubtaskResponse>(
'UpdateSubtask',
updateSubtask_Pre,
false,
false,
($core.List<$core.int> value) => $14.UpdateSubtaskRequest.fromBuffer(value),
($14.UpdateSubtaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.DeleteSubtaskRequest, $14.DeleteSubtaskResponse>(
'DeleteSubtask',
deleteSubtask_Pre,
false,
false,
($core.List<$core.int> value) => $14.DeleteSubtaskRequest.fromBuffer(value),
($14.DeleteSubtaskResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.RemoveTaskDueDateRequest, $14.RemoveTaskDueDateResponse>(
'RemoveTaskDueDate',
removeTaskDueDate_Pre,
false,
false,
($core.List<$core.int> value) => $14.RemoveTaskDueDateRequest.fromBuffer(value),
($14.RemoveTaskDueDateResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.DeleteTaskRequest, $14.DeleteTaskResponse>(
'DeleteTask',
deleteTask_Pre,
false,
false,
($core.List<$core.int> value) => $14.DeleteTaskRequest.fromBuffer(value),
($14.DeleteTaskResponse value) => value.writeToBuffer()));
}