Class PowerEventsPaginatedResponseJson
java.lang.Object
com.eqixiac.equinix.ibxsmartview.model.json.PowerEventsPaginatedResponseJson
Deserialization holder for the
/dcim/v3/powerEvents/search response.
Two shapes are read. The spec (PowerEventsPaginatedResponse) puts the paging fields
(limit, offset, totalCount) at the top level next to items. The
live service (observed 2026-11-11) returns the standard Equinix page instead:
{data, pagination{offset, limit, total}}. data is read as an alias of
items, and the accessors prefer the nested pagination values when present.
-
Constructor Details
-
PowerEventsPaginatedResponseJson
public PowerEventsPaginatedResponseJson()
-
-
Method Details
-
getItems
Returns the events on this page.- Returns:
- the events, or
nullwhen the response carried none
-
getLimit
Returns the page size.- Returns:
pagination.limitwhen present, else the top-levellimit
-
getOffset
Returns the page offset.- Returns:
pagination.offsetwhen present, else the top-leveloffset
-
getTotalCount
Returns the total number of matching events.- Returns:
pagination.totalwhen present, else the top-leveltotalCount
-