Class OrderHistorySearchResponseJson
java.lang.Object
com.eqixiac.equinix.customerportal.model.json.OrderHistorySearchResponseJson
- All Implemented Interfaces:
OrderHistoryPage
JSON model for the order history search response (
order-history-response). The matching
order records are carried in the content array, with the response-level links and
page (page-details-for-response) describing paging.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classPaging details for an order history search response (page-details-for-response). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the order records on this page.getLinks()Returns the response-level links (self,prev,next).Returns the zero-based number of this page.getSize()Returns the page size the service applied.Returns the total number of matching records.Returns the total number of pages.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OrderHistoryPage
hasNextModifier and TypeMethodDescriptiondefault booleanhasNext()Returns whether a later page exists: anextlink is present, or the page number is belowtotalPages - 1.
-
Constructor Details
-
OrderHistorySearchResponseJson
public OrderHistorySearchResponseJson()
-
-
Method Details
-
getContent
Description copied from interface:OrderHistoryPageReturns the order records on this page.- Specified by:
getContentin interfaceOrderHistoryPage- Returns:
- the records, never
null
-
getLinks
Description copied from interface:OrderHistoryPageReturns the response-level links (self,prev,next).- Specified by:
getLinksin interfaceOrderHistoryPage- Returns:
- the links, never
null
-
getSize
Description copied from interface:OrderHistoryPageReturns the page size the service applied.- Specified by:
getSizein interfaceOrderHistoryPage- Returns:
- the page size, or
nullwhen the response carried no page block
-
getNumber
Description copied from interface:OrderHistoryPageReturns the zero-based number of this page.- Specified by:
getNumberin interfaceOrderHistoryPage- Returns:
- the page number, or
nullwhen the response carried no page block
-
getTotalElements
Description copied from interface:OrderHistoryPageReturns the total number of matching records.- Specified by:
getTotalElementsin interfaceOrderHistoryPage- Returns:
- the total, or
nullwhen the response carried no page block
-
getTotalPages
Description copied from interface:OrderHistoryPageReturns the total number of pages.- Specified by:
getTotalPagesin interfaceOrderHistoryPage- Returns:
- the total, or
nullwhen the response carried no page block
-