Class SearchRequest

java.lang.Object
com.eqixiac.equinix.ibxsmartview.model.json.creators.SearchRequest
All Implemented Interfaces:
PaginatedPostBody

public class SearchRequest extends Object implements PaginatedPostBody
Typed request body for the system-alerts search POST endpoint (SearchRequest in the spec). Carries the filter, request-side pagination and sort options.

Implements PaginatedPostBody so the shared paging pipeline can fetch subsequent pages by re-pointing the body's pagination member at the next window (spec: SearchPagination {offset, limit} inside the body).

  • Constructor Details

  • Method Details

    • seekPage

      public void seekPage(long offset, long limit)
      Description copied from interface: PaginatedPostBody
      Points this body's serialized pagination state at the page window starting at offset, sized limit. Called by the paging pipeline both to advance to the next page and to roll back to the current page after a failed fetch.
      Specified by:
      seekPage in interface PaginatedPostBody
      Parameters:
      offset - the zero-based index of the first record of the requested page
      limit - the page size; implementations should ignore non-positive values (keeping their current/default limit) rather than sending an invalid one