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>
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:
-
Field Summary
Fields inherited from class com.iland.core.web.rest.response.common.SetResponse
data -
Constructor Summary
ConstructorsConstructorDescriptionO365MailItemSearchSetResponse(String searchSessionUuid, int offset, int limit, Set<O365MailItemSearchResponse> data) Create a mail item search set response. -
Method Summary
Methods inherited from class com.iland.core.web.rest.response.common.SetResponse
getData, iteratorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
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 uuidoffset- the result offset applied to this pagelimit- the result limit applied to this pagedata- the search results
-
-
Method Details
-
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
- Overrides:
equalsin classSetResponse<O365MailItemSearchResponse>
-
hashCode
public int hashCode()- Overrides:
hashCodein classSetResponse<O365MailItemSearchResponse>
-