Class StatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.searchable_snapshots.StatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class StatsResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatsResponse.BuilderBuilder forStatsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<StatsResponse>_DESERIALIZERJson deserializer forStatsResponse -
Constructor Summary
Constructors Constructor Description StatsResponse(StatsResponse.Builder builder)StatsResponse(java.util.function.Function<StatsResponse.Builder,StatsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupStatsResponseDeserializer(DelegatingDeserializer<StatsResponse.Builder> op)JsonDatastats()Required - API name:statsJsonDatatotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forStatsResponse
-
-
Constructor Details
-
StatsResponse
-
StatsResponse
-
-
Method Details
-
stats
Required - API name:stats -
total
Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupStatsResponseDeserializer
protected static void setupStatsResponseDeserializer(DelegatingDeserializer<StatsResponse.Builder> op)
-