Class InferTrainedModelResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.InferTrainedModelResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class InferTrainedModelResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<InferTrainedModelResponse>Json deserializer forInferTrainedModelResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal List<InferenceResponseResult>Required - API name:inference_resultsstatic InferTrainedModelResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupInferTrainedModelResponseDeserializer(ObjectDeserializer<InferTrainedModelResponse.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forInferTrainedModelResponse
-
-
Method Details
-
of
public static InferTrainedModelResponse of(Function<InferTrainedModelResponse.Builder, ObjectBuilder<InferTrainedModelResponse>> fn) -
inferenceResults
Required - API name:inference_results -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupInferTrainedModelResponseDeserializer
protected static void setupInferTrainedModelResponseDeserializer(ObjectDeserializer<InferTrainedModelResponse.Builder> op)
-