Package com.onfido.models
Class Task.Request
- java.lang.Object
-
- com.onfido.models.Task.Request
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTaskDefId()The unique identifier for the taskStringgetTaskDefVersion()The task versionStringgetWorkflowRunId()The unique identifier for the workflow runTask.RequesttaskDefId(String taskDefId)The unique identifier for the taskTask.RequesttaskDefVersion(String taskDefVersion)The task versionStringtoJson()StringtoString()Task.RequestworkflowRunId(String workflowRunId)The unique identifier for the workflow run
-
-
-
Method Detail
-
toJson
public String toJson()
-
taskDefId
public Task.Request taskDefId(String taskDefId)
The unique identifier for the task- Parameters:
taskDefId- The unique identifier for the task- Returns:
- The Task request object.
-
taskDefVersion
public Task.Request taskDefVersion(String taskDefVersion)
The task version- Parameters:
taskDefVersion- The task version- Returns:
- The Task request object.
-
workflowRunId
public Task.Request workflowRunId(String workflowRunId)
The unique identifier for the workflow run- Parameters:
workflowRunId- The unique identifier for the workflow run- Returns:
- The Task request object.
-
getTaskDefId
public String getTaskDefId()
The unique identifier for the task- Returns:
- The unique identifier for the task
-
getTaskDefVersion
public String getTaskDefVersion()
The task version- Returns:
- The task version
-
getWorkflowRunId
public String getWorkflowRunId()
The unique identifier for the workflow run- Returns:
- The unique identifier for the workflow run
-
-