Class GetInferenceResponse
java.lang.Object
co.elastic.clients.elasticsearch.inference.GetInferenceResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetInferenceResponse>
Json deserializer forGetInferenceResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal List<InferenceEndpointInfo>
Required - API name:endpoints
static GetInferenceResponse
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetInferenceResponse
-
-
Method Details
-
of
public static GetInferenceResponse of(Function<GetInferenceResponse.Builder, ObjectBuilder<GetInferenceResponse>> fn) -
endpoints
Required - API name:endpoints
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetInferenceResponseDeserializer
protected static void setupGetInferenceResponseDeserializer(ObjectDeserializer<GetInferenceResponse.Builder> op)
-