Class O365MailItemSearchSetResponse

java.lang.Object
com.iland.core.web.rest.response.common.SetResponse<O365MailItemSearchResponse>
com.iland.core.web.rest.response.vbo.O365MailItemSearchSetResponse
All Implemented Interfaces:
Serializable, Iterable<O365MailItemSearchResponse>

public final class O365MailItemSearchSetResponse extends SetResponse<O365MailItemSearchResponse>
Paginated set wrapper for O365MailItemSearchResponse. Carries the search session uuid and the resolved offset/limit so the front-end can page with "fetch until empty" (Veeam exposes no total count).
See Also:
  • Constructor Details

    • O365MailItemSearchSetResponse

      public O365MailItemSearchSetResponse(String searchSessionUuid, int offset, int limit, Set<O365MailItemSearchResponse> data)
      Create a mail item search set response.
      Parameters:
      searchSessionUuid - the search session uuid
      offset - the result offset applied to this page
      limit - the result limit applied to this page
      data - the search results
  • Method Details

    • getSearchSessionUuid

      public String getSearchSessionUuid()
      Returns the search session uuid.
      Returns:
      the search session uuid
    • getOffset

      public int getOffset()
      Returns the result offset applied to this page.
      Returns:
      the offset
    • getLimit

      public int getLimit()
      Returns the result limit applied to this page.
      Returns:
      the limit
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class SetResponse<O365MailItemSearchResponse>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SetResponse<O365MailItemSearchResponse>