Package com.onfido.models
Class WorkflowRun.Request
- java.lang.Object
-
- com.onfido.models.WorkflowRun.Request
-
- Enclosing class:
- WorkflowRun
public static final class WorkflowRun.Request extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRun.RequestapplicantId(String applicantId)The unique identifier for the applicantWorkflowRun.RequestcustomData(Map<String,Object> customData)Custom Input Data objectStringgetApplicantId()The unique identifier for the applicantMap<String,Object>getCustomData()Custom Input Data objectMap<String,Object>getLink()Link objectString[]getTags()Array of tags being assigned to this workflow run.StringgetWorkflowId()The unique identifier for the workflowWorkflowRun.Requestlink(Map<String,Object> link)Link objectWorkflowRun.Requesttags(String... tags)Array of tags being assigned to this workflow run.WorkflowRun.Requesttags(List<String> tags)Array of tags being assigned to this workflow run.StringtoJson()StringtoString()WorkflowRun.RequestworkflowId(String workflowId)The unique identifier for the workflow
-
-
-
Method Detail
-
toJson
public String toJson()
-
applicantId
public WorkflowRun.Request applicantId(String applicantId)
The unique identifier for the applicant- Parameters:
applicantId- The unique identifier for the applicant- Returns:
- The WorkflowRun request object.
-
workflowId
public WorkflowRun.Request workflowId(String workflowId)
The unique identifier for the workflow- Parameters:
workflowId- The unique identifier for the workflow- Returns:
- The WorkflowRun request object.
-
link
public WorkflowRun.Request link(Map<String,Object> link)
Link object- Parameters:
link- Link object- Returns:
- The WorkflowRun request object.
-
customData
public WorkflowRun.Request customData(Map<String,Object> customData)
Custom Input Data object- Parameters:
customData- Custom Input Data object- Returns:
- The WorkflowRun request object.
-
tags
public WorkflowRun.Request tags(List<String> tags)
Array of tags being assigned to this workflow run.- Parameters:
tags- Array of tags being assigned to this workflow run.- Returns:
- The WorkflowRun request object.
-
tags
public WorkflowRun.Request tags(String... tags)
Array of tags being assigned to this workflow run.- Parameters:
tags- Array of tags being assigned to this workflow run.- Returns:
- The WorkflowRun request object
-
getApplicantId
public String getApplicantId()
The unique identifier for the applicant- Returns:
- The unique identifier for the applicant
-
getWorkflowId
public String getWorkflowId()
The unique identifier for the workflow- Returns:
- The unique identifier for the workflow
-
getCustomData
public Map<String,Object> getCustomData()
Custom Input Data object- Returns:
- Custom Input Data object
-
getTags
public String[] getTags()
Array of tags being assigned to this workflow run.- Returns:
- Array of tags being assigned to this workflow run.
-
-