Class GetResponse
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.GetResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GetResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetResponse.BuilderBuilder forGetResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetResponse>_DESERIALIZERJson deserializer forGetResponse -
Constructor Summary
Constructors Constructor Description GetResponse(GetResponse.Builder builder)GetResponse(java.util.function.Function<GetResponse.Builder,GetResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description intremaining()Required - The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.java.util.List<SnapshotResponseItem>responses()API name:responsesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetResponseDeserializer(DelegatingDeserializer<GetResponse.Builder> op)java.util.List<SnapshotInfo>snapshots()API name:snapshotsinttotal()Required - The total number of snapshots that match the request when ignoring size limit or after query parameter.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetResponse
-
-
Constructor Details
-
GetResponse
-
GetResponse
-
-
Method Details
-
responses
API name:responses -
snapshots
API name:snapshots -
total
public int total()Required - The total number of snapshots that match the request when ignoring size limit or after query parameter.API name:
total -
remaining
public int remaining()Required - The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value.API name:
remaining -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetResponseDeserializer
-