Package com.onfido.models
Class Task
- java.lang.Object
-
- com.onfido.models.Task
-
public final class Task extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTask.Request
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)java.time.OffsetDateTimegetCreatedAt()The date and time at which the task was executedStringgetId()The unique identifier for the taskMap<String,Object>getInput()Input data associated with the taskMap<String,Object>getOutput()Output data associated with the taskStringgetTaskDefId()The unique identifier for the taskStringgetTaskDefVersion()The task versionjava.time.OffsetDateTimegetUpdatedAt()The date and time at which the task was last updatedStringgetWorkflowRunId()The unique identifier for the workflow runinthashCode()static Task.Requestrequest()StringtoString()
-
-
-
Method Detail
-
request
public static Task.Request request()
-
getCreatedAt
public java.time.OffsetDateTime getCreatedAt()
The date and time at which the task was executed- Returns:
- The date and time at which the task was executed
-
getId
public String getId()
The unique identifier for the task- Returns:
- The unique identifier for the task
-
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
-
getUpdatedAt
public java.time.OffsetDateTime getUpdatedAt()
The date and time at which the task was last updated- Returns:
- The date and time at which the task was last updated
-
getWorkflowRunId
public String getWorkflowRunId()
The unique identifier for the workflow run- Returns:
- The unique identifier for the workflow run
-
getInput
public Map<String,Object> getInput()
Input data associated with the task- Returns:
- Input data associated with the task
-
getOutput
public Map<String,Object> getOutput()
Output data associated with the task- Returns:
- Output data associated with the task
-
-