public static final class ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder extends Object
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder endTime(Long endTime)
The time when the task ends.
example:1670307567000
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder finish(Integer finish)
Indicates whether the task is complete. Valid values:
1
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder finishCount(Integer finishCount)
The number of assets on which the task is complete.
example:67
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder progress(Long progress)
The progress percentage of the task.
example:75
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder realRunTime(Long realRunTime)
The execution duration of the task.
example:1670307567000
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder resultInfo(String resultInfo)
The execution result of the task.
example:TASK_NOT_SUPPORT_REGION
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder startTime(Long startTime)
The time when the task is started.
example:1640102400000
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder status(Integer status)
The status.
example:1
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder statusText(String statusText)
The status of the task. Valid values:
SUCCESS
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder target(String target)
The objective of the task.
example:238cf050a7270dd6940602e70f1e5a11eeaf4e02035f445b7f613ff5e064****
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder targetType(String targetType)
The type of the assets that are scanned. Valid values:
IMAGE
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder taskId(String taskId)
The ID of the task.
example:9fb50f2af8bb67c9fdb684194c83****
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder taskImageInfo(ListUnfinishedOnceTaskResponseBody.TaskImageInfo taskImageInfo)
The information about the image scan task.
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder taskName(String taskName)
The name of the task.
example:IMAGE_SCAN
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder taskType(String taskType)
The type of the task.
example:IMAGE_SCAN
public ListUnfinishedOnceTaskResponseBody.OnceTasks.Builder totalCount(Integer totalCount)
The total number of entries returned.
example:30
public ListUnfinishedOnceTaskResponseBody.OnceTasks build()
Copyright © 2026. All rights reserved.