Class SnapshotResponseItem
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.get.SnapshotResponseItem
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotResponseItem>
Json deserializer forSnapshotResponseItem
-
Method Summary
Modifier and TypeMethodDescriptionfinal ErrorCause
error()
API name:error
static SnapshotResponseItem
final String
Required - API name:repository
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
final List<SnapshotInfo>
API name:snapshots
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotResponseItem
-
-
Method Details
-
of
public static SnapshotResponseItem of(Function<SnapshotResponseItem.Builder, ObjectBuilder<SnapshotResponseItem>> fn) -
repository
Required - API name:repository
-
snapshots
API name:snapshots
-
error
API name:error
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotResponseItemDeserializer
protected static void setupSnapshotResponseItemDeserializer(ObjectDeserializer<SnapshotResponseItem.Builder> op)
-