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 class
WatcherActionTotals.Builder
Builder forWatcherActionTotals
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherActionTotals>
_DESERIALIZER
Json 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 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
setupWatcherActionTotalsDeserializer(DelegatingDeserializer<WatcherActionTotals.Builder> op)
long
total()
Required - API name:total
long
totalTimeInMs()
Required - API name:total_time_in_ms
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherActionTotalsDeserializer
protected static void setupWatcherActionTotalsDeserializer(DelegatingDeserializer<WatcherActionTotals.Builder> op)
-