Class QueryWatchesResponse
java.lang.Object
co.elastic.clients.elasticsearch.watcher.QueryWatchesResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryWatchesResponse>Json deserializer forQueryWatchesResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intcount()Required - The total number of watches found.static QueryWatchesResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final List<QueryWatch>watches()Required - A list of watches based on thefrom,size, orsearch_afterrequest body parameters.
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryWatchesResponse
-
-
Method Details
-
of
public static QueryWatchesResponse of(Function<QueryWatchesResponse.Builder, ObjectBuilder<QueryWatchesResponse>> fn) -
count
public final int count()Required - The total number of watches found.API name:
count -
watches
Required - A list of watches based on thefrom,size, orsearch_afterrequest body parameters.API name:
watches -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryWatchesResponseDeserializer
protected static void setupQueryWatchesResponseDeserializer(ObjectDeserializer<QueryWatchesResponse.Builder> op)
-