Class WatcherActionTotals
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.WatcherActionTotals
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class WatcherActionTotals extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatcherActionTotals.BuilderBuilder forWatcherActionTotals. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherActionTotals>_DESERIALIZERJson deserializer forWatcherActionTotals -
Constructor Summary
Constructors Constructor Description WatcherActionTotals(WatcherActionTotals.Builder builder)WatcherActionTotals(java.util.function.Function<WatcherActionTotals.Builder,WatcherActionTotals.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 voidsetupWatcherActionTotalsDeserializer(DelegatingDeserializer<WatcherActionTotals.Builder> op)longtotal()Required - API name:totallongtotalTimeInMs()Required - API name:total_time_in_msMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWatcherActionTotals
-
-
Constructor Details
-
WatcherActionTotals
-
WatcherActionTotals
public WatcherActionTotals(java.util.function.Function<WatcherActionTotals.Builder,WatcherActionTotals.Builder> fn)
-
-
Method Details
-
total
public long total()Required - API name:total -
totalTimeInMs
public long totalTimeInMs()Required - API name:total_time_in_ms -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherActionTotalsDeserializer
protected static void setupWatcherActionTotalsDeserializer(DelegatingDeserializer<WatcherActionTotals.Builder> op)
-