Class QueryWatchesRequest

All Implemented Interfaces:

public class QueryWatchesRequest
extends RequestBase
implements JsonpSerializable
Retrieves stored watches.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static QueryWatchesRequest of​(java.util.function.Function<QueryWatchesRequest.Builder,​ObjectBuilder<QueryWatchesRequest>> fn)
    • from

      @Nullable public final java.lang.Integer from()
      The offset from the first result to fetch. Needs to be non-negative.

      API name: from

    • query

      @Nullable public final Query query()
      Optional, query filter watches to be returned.

      API name: query

    • searchAfter

      public final java.util.List<java.lang.String> searchAfter()
      Optional search After to do pagination using last hit’s sort values.

      API name: search_after

    • size

      @Nullable public final java.lang.Integer size()
      The number of hits to return. Needs to be non-negative.

      API name: size

    • sort

      public final java.util.List<SortOptions> sort()
      Optional sort definition.

      API name: sort

    • serialize

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupQueryWatchesRequestDeserializer

      protected static void setupQueryWatchesRequestDeserializer​(ObjectDeserializer<QueryWatchesRequest.Builder> op)