Class GetRecordsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetRecordsResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetRecordsResponse>Json deserializer forGetRecordsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal longcount()Required - API name:countstatic GetRecordsResponserecords()Required - API name:recordsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetRecordsResponse
-
-
Method Details
-
of
public static GetRecordsResponse of(Function<GetRecordsResponse.Builder, ObjectBuilder<GetRecordsResponse>> fn) -
count
public final long count()Required - API name:count -
records
Required - API name:records -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetRecordsResponseDeserializer
protected static void setupGetRecordsResponseDeserializer(ObjectDeserializer<GetRecordsResponse.Builder> op)
-