Package com.onfido.model
Class WorkflowRunShared
- java.lang.Object
-
- com.onfido.model.WorkflowRunShared
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class WorkflowRunShared extends Object
WorkflowRunShared
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowRunShared.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_APPLICANT_IDstatic StringSERIALIZED_NAME_CREATED_ATstatic StringSERIALIZED_NAME_CUSTOMER_USER_IDstatic StringSERIALIZED_NAME_LINKstatic StringSERIALIZED_NAME_TAGSstatic StringSERIALIZED_NAME_UPDATED_ATstatic StringSERIALIZED_NAME_WORKFLOW_ID
-
Constructor Summary
Constructors Constructor Description WorkflowRunShared()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRunSharedaddTagsItem(String tagsItem)WorkflowRunSharedapplicantId(UUID applicantId)WorkflowRunSharedcreatedAt(OffsetDateTime createdAt)WorkflowRunSharedcustomerUserId(String customerUserId)booleanequals(Object o)static WorkflowRunSharedfromJson(String jsonString)Create an instance of WorkflowRunShared given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.UUIDgetApplicantId()The unique identifier for the Applicant.OffsetDateTimegetCreatedAt()The date and time when the Workflow Run was created.StringgetCustomerUserId()Customer-provided user identifier.WorkflowRunLinkgetLink()Object for the configuration of the Workflow Run link.List<String>getTags()Tags or labels assigned to the workflow run.OffsetDateTimegetUpdatedAt()The date and time when the Workflow Run was last updated.UUIDgetWorkflowId()The unique identifier for the Workflow.inthashCode()WorkflowRunSharedlink(WorkflowRunLink link)WorkflowRunSharedputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetApplicantId(UUID applicantId)voidsetCreatedAt(OffsetDateTime createdAt)voidsetCustomerUserId(String customerUserId)voidsetLink(WorkflowRunLink link)voidsetTags(List<String> tags)voidsetUpdatedAt(OffsetDateTime updatedAt)voidsetWorkflowId(UUID workflowId)WorkflowRunSharedtags(List<String> tags)StringtoJson()Convert an instance of WorkflowRunShared to an JSON stringStringtoString()WorkflowRunSharedupdatedAt(OffsetDateTime updatedAt)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundWorkflowRunSharedworkflowId(UUID workflowId)
-
-
-
Field Detail
-
SERIALIZED_NAME_APPLICANT_ID
public static final String SERIALIZED_NAME_APPLICANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WORKFLOW_ID
public static final String SERIALIZED_NAME_WORKFLOW_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CUSTOMER_USER_ID
public static final String SERIALIZED_NAME_CUSTOMER_USER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINK
public static final String SERIALIZED_NAME_LINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_CREATED_AT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
applicantId
public WorkflowRunShared applicantId(UUID applicantId)
-
getApplicantId
@Nonnull public UUID getApplicantId()
The unique identifier for the Applicant.- Returns:
- applicantId
-
setApplicantId
public void setApplicantId(UUID applicantId)
-
workflowId
public WorkflowRunShared workflowId(UUID workflowId)
-
getWorkflowId
@Nonnull public UUID getWorkflowId()
The unique identifier for the Workflow.- Returns:
- workflowId
-
setWorkflowId
public void setWorkflowId(UUID workflowId)
-
tags
public WorkflowRunShared tags(List<String> tags)
-
addTagsItem
public WorkflowRunShared addTagsItem(String tagsItem)
-
getTags
@Nullable public List<String> getTags()
Tags or labels assigned to the workflow run.- Returns:
- tags
-
customerUserId
public WorkflowRunShared customerUserId(String customerUserId)
-
getCustomerUserId
@Nullable public String getCustomerUserId()
Customer-provided user identifier.- Returns:
- customerUserId
-
setCustomerUserId
public void setCustomerUserId(String customerUserId)
-
link
public WorkflowRunShared link(WorkflowRunLink link)
-
getLink
@Nullable public WorkflowRunLink getLink()
Object for the configuration of the Workflow Run link.- Returns:
- link
-
setLink
public void setLink(WorkflowRunLink link)
-
createdAt
public WorkflowRunShared createdAt(OffsetDateTime createdAt)
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
The date and time when the Workflow Run was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
updatedAt
public WorkflowRunShared updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
The date and time when the Workflow Run was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
putAdditionalProperty
public WorkflowRunShared putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the WorkflowRunShared instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to WorkflowRunShared
-
fromJson
public static WorkflowRunShared fromJson(String jsonString) throws IOException
Create an instance of WorkflowRunShared given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WorkflowRunShared
- Throws:
IOException- if the JSON string is invalid with respect to WorkflowRunShared
-
toJson
public String toJson()
Convert an instance of WorkflowRunShared to an JSON string- Returns:
- JSON string
-
-