Class GetModelSnapshotsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetModelSnapshotsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GetModelSnapshotsResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetModelSnapshotsResponse.BuilderBuilder forGetModelSnapshotsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetModelSnapshotsResponse>_DESERIALIZERJson deserializer forGetModelSnapshotsResponse -
Constructor Summary
Constructors Constructor Description GetModelSnapshotsResponse(GetModelSnapshotsResponse.Builder builder)GetModelSnapshotsResponse(java.util.function.Function<GetModelSnapshotsResponse.Builder,GetModelSnapshotsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description longcount()Required - API name:countjava.util.List<ModelSnapshot>modelSnapshots()Required - API name:model_snapshotsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetModelSnapshotsResponseDeserializer(DelegatingDeserializer<GetModelSnapshotsResponse.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetModelSnapshotsResponse
-
-
Constructor Details
-
GetModelSnapshotsResponse
-
GetModelSnapshotsResponse
public GetModelSnapshotsResponse(java.util.function.Function<GetModelSnapshotsResponse.Builder,GetModelSnapshotsResponse.Builder> fn)
-
-
Method Details
-
count
public long count()Required - API name:count -
modelSnapshots
Required - API name:model_snapshots -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetModelSnapshotsResponseDeserializer
protected static void setupGetModelSnapshotsResponseDeserializer(DelegatingDeserializer<GetModelSnapshotsResponse.Builder> op)
-