Class TaskArtifactsClient
- java.lang.Object
-
- com.chrt.api.resources.taskartifacts.TaskArtifactsClient
-
public class TaskArtifactsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Supplier<BlurhashClient>blurhashClientprotected ClientOptionsclientOptionsprotected java.util.function.Supplier<ImagesClient>imagesClient
-
Constructor Summary
Constructors Constructor Description TaskArtifactsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaddToTaskV1(TaskArtifactAddToTaskReq request)Adds a new task_artifact to an existing taskjava.lang.StringaddToTaskV1(TaskArtifactAddToTaskReq request, RequestOptions requestOptions)Adds a new task_artifact to an existing taskBlurhashClientblurhash()booleancompleteV1(java.lang.String taskArtifactId)Completes a task_artifact and updates all related task, cargo, task group, and order statuses.booleancompleteV1(java.lang.String taskArtifactId, RequestOptions requestOptions)Completes a task_artifact and updates all related task, cargo, task group, and order statuses.ImagesClientimages()booleanupdateCommentsV1(TaskArtifactUpdateCommentsReq request)Updates the completor comments on a task_artifact without affecting completion status.booleanupdateCommentsV1(TaskArtifactUpdateCommentsReq request, RequestOptions requestOptions)Updates the completor comments on a task_artifact without affecting completion status.RawTaskArtifactsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
imagesClient
protected final java.util.function.Supplier<ImagesClient> imagesClient
-
blurhashClient
protected final java.util.function.Supplier<BlurhashClient> blurhashClient
-
-
Constructor Detail
-
TaskArtifactsClient
public TaskArtifactsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawTaskArtifactsClient withRawResponse()
Get responses with HTTP metadata like headers
-
completeV1
public boolean completeV1(java.lang.String taskArtifactId)
Completes a task_artifact and updates all related task, cargo, task group, and order statuses.
-
completeV1
public boolean completeV1(java.lang.String taskArtifactId, RequestOptions requestOptions)Completes a task_artifact and updates all related task, cargo, task group, and order statuses.
-
updateCommentsV1
public boolean updateCommentsV1(TaskArtifactUpdateCommentsReq request)
Updates the completor comments on a task_artifact without affecting completion status.
-
updateCommentsV1
public boolean updateCommentsV1(TaskArtifactUpdateCommentsReq request, RequestOptions requestOptions)
Updates the completor comments on a task_artifact without affecting completion status.
-
addToTaskV1
public java.lang.String addToTaskV1(TaskArtifactAddToTaskReq request)
Adds a new task_artifact to an existing task
-
addToTaskV1
public java.lang.String addToTaskV1(TaskArtifactAddToTaskReq request, RequestOptions requestOptions)
Adds a new task_artifact to an existing task
-
images
public ImagesClient images()
-
blurhash
public BlurhashClient blurhash()
-
-