Class GetTaskResponse
- java.lang.Object
-
- org.opensearch.client.opensearch.ml.GetTaskResponse
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class GetTaskResponse extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetTaskResponse.Builder
Builder forGetTaskResponse
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetTaskResponse>
_DESERIALIZER
Json deserializer forGetTaskResponse
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
createTime()
API name:create_time
java.lang.String
error()
API name:error
java.lang.String
functionName()
API name:function_name
java.lang.Boolean
isAsync()
API name:is_async
java.lang.Long
lastUpdateTime()
API name:last_update_time
java.lang.String
modelId()
API name:model_id
static GetTaskResponse
of(java.util.function.Function<GetTaskResponse.Builder,ObjectBuilder<GetTaskResponse>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGetTaskResponseDeserializer(ObjectDeserializer<GetTaskResponse.Builder> op)
java.lang.String
state()
Required - API name:state
java.lang.String
taskId()
API name:task_id
java.lang.String
taskType()
Task type.java.util.List<java.util.List<java.lang.String>>
workerNode()
API name:worker_node
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<GetTaskResponse> _DESERIALIZER
Json deserializer forGetTaskResponse
-
-
Method Detail
-
of
public static GetTaskResponse of(java.util.function.Function<GetTaskResponse.Builder,ObjectBuilder<GetTaskResponse>> fn)
-
createTime
@Nullable public final java.lang.Long createTime()
API name:create_time
-
error
@Nullable public final java.lang.String error()
API name:error
-
functionName
@Nullable public final java.lang.String functionName()
API name:function_name
-
isAsync
@Nullable public final java.lang.Boolean isAsync()
API name:is_async
-
lastUpdateTime
@Nullable public final java.lang.Long lastUpdateTime()
API name:last_update_time
-
modelId
@Nullable public final java.lang.String modelId()
API name:model_id
-
state
public final java.lang.String state()
Required - API name:state
-
taskId
@Nullable public final java.lang.String taskId()
API name:task_id
-
taskType
@Nullable public final java.lang.String taskType()
Task type.API name:
task_type
-
workerNode
public final java.util.List<java.util.List<java.lang.String>> workerNode()
API name:worker_node
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupGetTaskResponseDeserializer
protected static void setupGetTaskResponseDeserializer(ObjectDeserializer<GetTaskResponse.Builder> op)
-
-