Class SnapshotResponseItem
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.get.SnapshotResponseItem
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SnapshotResponseItem extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotResponseItem.BuilderBuilder forSnapshotResponseItem. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotResponseItem>_DESERIALIZERJson deserializer forSnapshotResponseItem -
Constructor Summary
Constructors Constructor Description SnapshotResponseItem(SnapshotResponseItem.Builder builder)SnapshotResponseItem(java.util.function.Function<SnapshotResponseItem.Builder,SnapshotResponseItem.Builder> fn) -
Method Summary
Modifier and Type Method Description ErrorCauseerror()API name:errorjava.lang.Stringrepository()Required - API name:repositoryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSnapshotResponseItemDeserializer(DelegatingDeserializer<SnapshotResponseItem.Builder> op)java.util.List<SnapshotInfo>snapshots()API name:snapshotsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotResponseItem
-
-
Constructor Details
-
SnapshotResponseItem
-
SnapshotResponseItem
public SnapshotResponseItem(java.util.function.Function<SnapshotResponseItem.Builder,SnapshotResponseItem.Builder> fn)
-
-
Method Details
-
repository
public java.lang.String repository()Required - API name:repository -
snapshots
API name:snapshots -
error
API name:error -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotResponseItemDeserializer
protected static void setupSnapshotResponseItemDeserializer(DelegatingDeserializer<SnapshotResponseItem.Builder> op)
-