Class ClosePointInTimeResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.ClosePointInTimeResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class ClosePointInTimeResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClosePointInTimeResponse>Json deserializer forClosePointInTimeResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intnumFreed()Required - The number of search contexts that were successfully closed.static ClosePointInTimeResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal booleanRequired - Iftrue, all search contexts associated with the point-in-time ID were successfully closed.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forClosePointInTimeResponse
-
-
Method Details
-
of
public static ClosePointInTimeResponse of(Function<ClosePointInTimeResponse.Builder, ObjectBuilder<ClosePointInTimeResponse>> fn) -
succeeded
public final boolean succeeded()Required - Iftrue, all search contexts associated with the point-in-time ID were successfully closed.API name:
succeeded -
numFreed
public final int numFreed()Required - The number of search contexts that were successfully closed.API name:
num_freed -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClosePointInTimeResponseDeserializer
protected static void setupClosePointInTimeResponseDeserializer(ObjectDeserializer<ClosePointInTimeResponse.Builder> op)
-