Class PowerEventsPaginatedResponseJson

java.lang.Object
com.eqixiac.equinix.ibxsmartview.model.json.PowerEventsPaginatedResponseJson

public class PowerEventsPaginatedResponseJson extends Object
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

      public ArrayList<PowerEventJson> getItems()
      Returns the events on this page.
      Returns:
      the events, or null when the response carried none
    • getLimit

      public Integer getLimit()
      Returns the page size.
      Returns:
      pagination.limit when present, else the top-level limit
    • getOffset

      public Integer getOffset()
      Returns the page offset.
      Returns:
      pagination.offset when present, else the top-level offset
    • getTotalCount

      public Integer getTotalCount()
      Returns the total number of matching events.
      Returns:
      pagination.total when present, else the top-level totalCount