Class PublicKeyJson.NestedList

java.lang.Object
com.eqixiac.equinix.networkedge.model.json.PublicKeyJson.NestedList
Enclosing class:
PublicKeyJson

public static class PublicKeyJson.NestedList extends Object
The getPublicKeys endpoint returns a GetPublicKeysResponse object ({pagination, data:[...]}), not a flat array, so the list is read out of the data property here.
Author:
ianjones
  • Constructor Details

    • NestedList

      public NestedList()
      For the spec's {"data": [...]} envelope.
    • NestedList

      public NestedList(List<PublicKeyJson> keys)
      Accepts the bare array the live GET /ne/v1/publicKeys returns (checked 2026-11-11); the spec's GetPublicKeysResponse documents an envelope.