Class Task.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Task.Builder
-
- Enclosing class:
- Task
public static final class Task.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Task.BuilderassignedByEmployeeId(java.lang.String assignedByEmployeeId)The ID of the employee who assigned this taskTask.BuilderassignedByEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> assignedByEmployeeId)The ID of the employee who assigned this taskTask.BuilderassignedByEmployeeName(java.lang.String assignedByEmployeeName)The name of the employee who assigned this taskTask.BuilderassignedByEmployeeName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> assignedByEmployeeName)The name of the employee who assigned this taskTask.Builderattachments(java.util.List<File> attachments)The documents attached to this taskTask.Builderattachments(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<File>> attachments)The documents attached to this taskTaskbuild()Task.Buildercomments(java.util.List<TaskCommentApiModel> comments)The comments associated with this taskTask.Buildercomments(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<TaskCommentApiModel>> comments)The comments associated with this taskTask.BuildercompletionDate(java.time.OffsetDateTime completionDate)The completion date of the taskTask.BuildercompletionDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completionDate)The completion date of the taskTask.BuildercreatedAt(java.time.OffsetDateTime createdAt)The creation date of this taskTask.BuildercreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The creation date of this taskTask.Builderdescription(java.lang.String description)The description of the taskTask.Builderdescription(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)The description of the taskTask.BuilderdueDate(java.time.OffsetDateTime dueDate)The due date of the taskTask.BuilderdueDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate)The due date of the taskTask.BuilderemployeeId(java.lang.String employeeId)The employee ID associated with this taskTask.BuilderemployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this taskTask.BuilderextractedLinks(java.util.List<java.lang.String> extractedLinks)List of extracted links from the taskTask.BuilderextractedLinks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> extractedLinks)List of extracted links from the taskTask.Builderid(java.lang.String id)Unique identifierTask.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierTask.BuilderlinkToTask(java.lang.String linkToTask)Link to the task in the provider systemTask.BuilderlinkToTask(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> linkToTask)Link to the task in the provider systemTask.Buildername(java.lang.String name)The name of the taskTask.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name of the taskTask.BuildernextTaskId(java.lang.String nextTaskId)ID of the next task in sequenceTask.BuildernextTaskId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> nextTaskId)ID of the next task in sequenceTask.BuilderparentProcessName(java.lang.String parentProcessName)Name of the parent process of this taskTask.BuilderparentProcessName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> parentProcessName)Name of the parent process of this taskTask.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierTask.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierTask.Builderstatus(TaskStatus status)The status of the taskTask.Builderstatus(org.openapitools.jackson.nullable.JsonNullable<? extends TaskStatus> status)The status of the taskTask.Buildertype(TaskType type)The type of the taskTask.Buildertype(org.openapitools.jackson.nullable.JsonNullable<? extends TaskType> type)The type of the taskTask.BuilderupdatedAt(java.time.OffsetDateTime updatedAt)The last updated date of this taskTask.BuilderupdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The last updated date of this task
-
-
-
Method Detail
-
id
public Task.Builder id(java.lang.String id)
Unique identifier
-
id
public Task.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public Task.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public Task.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
employeeId
public Task.Builder employeeId(java.lang.String employeeId)
The employee ID associated with this task
-
employeeId
public Task.Builder employeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID associated with this task
-
name
public Task.Builder name(java.lang.String name)
The name of the task
-
name
public Task.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name of the task
-
description
public Task.Builder description(java.lang.String description)
The description of the task
-
description
public Task.Builder description(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
The description of the task
-
type
public Task.Builder type(TaskType type)
The type of the task
-
type
public Task.Builder type(org.openapitools.jackson.nullable.JsonNullable<? extends TaskType> type)
The type of the task
-
status
public Task.Builder status(TaskStatus status)
The status of the task
-
status
public Task.Builder status(org.openapitools.jackson.nullable.JsonNullable<? extends TaskStatus> status)
The status of the task
-
dueDate
public Task.Builder dueDate(java.time.OffsetDateTime dueDate)
The due date of the task
-
dueDate
public Task.Builder dueDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> dueDate)
The due date of the task
-
completionDate
public Task.Builder completionDate(java.time.OffsetDateTime completionDate)
The completion date of the task
-
completionDate
public Task.Builder completionDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> completionDate)
The completion date of the task
-
assignedByEmployeeId
public Task.Builder assignedByEmployeeId(java.lang.String assignedByEmployeeId)
The ID of the employee who assigned this task
-
assignedByEmployeeId
public Task.Builder assignedByEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> assignedByEmployeeId)
The ID of the employee who assigned this task
-
assignedByEmployeeName
public Task.Builder assignedByEmployeeName(java.lang.String assignedByEmployeeName)
The name of the employee who assigned this task
-
assignedByEmployeeName
public Task.Builder assignedByEmployeeName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> assignedByEmployeeName)
The name of the employee who assigned this task
-
linkToTask
public Task.Builder linkToTask(java.lang.String linkToTask)
Link to the task in the provider system
-
linkToTask
public Task.Builder linkToTask(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> linkToTask)
Link to the task in the provider system
-
extractedLinks
public Task.Builder extractedLinks(java.util.List<java.lang.String> extractedLinks)
List of extracted links from the task
-
extractedLinks
public Task.Builder extractedLinks(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<java.lang.String>> extractedLinks)
List of extracted links from the task
-
nextTaskId
public Task.Builder nextTaskId(java.lang.String nextTaskId)
ID of the next task in sequence
-
nextTaskId
public Task.Builder nextTaskId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> nextTaskId)
ID of the next task in sequence
-
parentProcessName
public Task.Builder parentProcessName(java.lang.String parentProcessName)
Name of the parent process of this task
-
parentProcessName
public Task.Builder parentProcessName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> parentProcessName)
Name of the parent process of this task
-
comments
public Task.Builder comments(java.util.List<TaskCommentApiModel> comments)
The comments associated with this task
-
comments
public Task.Builder comments(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<TaskCommentApiModel>> comments)
The comments associated with this task
-
attachments
public Task.Builder attachments(java.util.List<File> attachments)
The documents attached to this task
-
attachments
public Task.Builder attachments(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<File>> attachments)
The documents attached to this task
-
createdAt
public Task.Builder createdAt(java.time.OffsetDateTime createdAt)
The creation date of this task
-
createdAt
public Task.Builder createdAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The creation date of this task
-
updatedAt
public Task.Builder updatedAt(java.time.OffsetDateTime updatedAt)
The last updated date of this task
-
updatedAt
public Task.Builder updatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The last updated date of this task
-
build
public Task build()
-
-