Class ExecuteAgentResponse
java.lang.Object
org.opensearch.client.opensearch.ml.ExecuteAgentResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ExecuteAgentResponse.Builder,ExecuteAgentResponse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ExecuteAgentResponse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ExecuteAgentResponse.Builder,ExecuteAgentResponse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ExecuteAgentResponse> Json deserializer forExecuteAgentResponse -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecuteAgentResponse.Builderbuilder()booleaninthashCode()final List<InferenceResults> API name:inference_resultsstatic ExecuteAgentResponsefinal PredictionResultAPI name:prediction_resultvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Statusstatus()API name:statusCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forExecuteAgentResponse
-
-
Method Details
-
of
public static ExecuteAgentResponse of(Function<ExecuteAgentResponse.Builder, ObjectBuilder<ExecuteAgentResponse>> fn) -
inferenceResults
API name:inference_results -
predictionResult
API name:prediction_result -
status
API name:status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExecuteAgentResponse.Builder,ExecuteAgentResponse> - Returns:
- a new builder instance.
-
builder
-
setupExecuteAgentResponseDeserializer
protected static void setupExecuteAgentResponseDeserializer(ObjectDeserializer<ExecuteAgentResponse.Builder> op) -
hashCode
public int hashCode() -
equals
-