Class LookupsImpl

java.lang.Object
com.eqixiac.equinix.customerportal.client.implementation.LookupsImpl
All Implemented Interfaces:
Lookups

public class LookupsImpl extends Object implements Lookups
  • Constructor Details

    • LookupsImpl

      public LookupsImpl()
  • Method Details

    • listLocations

      public List<? extends LookupLocation> listLocations(String permissionCode)
      Description copied from interface: Lookups
      Lists the locations the current user may order at, for the given permission code.

      Maps to GET /colocations/v2/locations (Get Locations by permission code).

      Specified by:
      listLocations in interface Lookups
      Parameters:
      permissionCode - the permission code (CROSS_CONNECT, WORK_VISIT or SHIPMENTS)
      Returns:
      the list of permitted locations
    • listLocations

      public List<? extends LookupLocation> listLocations(String permissionCode, List<String> ibxs, String providerAccountNumber, String aSideIbx, String connectionService, Boolean details)
      Description copied from interface: Lookups
      Lists the locations the current user may order at, for the given permission code, with optional filters.

      Maps to GET /colocations/v2/locations (Get Locations by permission code). The providerAccountNumber, aSideIbx and connectionService filters apply only when permissionCode is CROSS_CONNECT.

      Specified by:
      listLocations in interface Lookups
      Parameters:
      permissionCode - the permission code (CROSS_CONNECT, WORK_VISIT or SHIPMENTS)
      ibxs - the IBX codes to filter by, or null
      providerAccountNumber - the service provider's (Z-side) account number, or null
      aSideIbx - the A-side IBX used to fetch Z-side details, or null
      connectionService - the connection service type used to fetch Z-side details, or null
      details - when true, returns cage, cabinet and account details, or null for the default
      Returns:
      the list of permitted locations
    • listPatchPanels

      public List<? extends PatchPanel> listPatchPanels(String cabinetId)
      Description copied from interface: Lookups
      Lists the patch panels in the given cabinet.

      Maps to GET /colocations/v2/patchPanels (Retrieve all patch panels).

      Specified by:
      listPatchPanels in interface Lookups
      Parameters:
      cabinetId - the cabinet id (required)
      Returns:
      the list of patch panels
    • getPatchPanelById

      public PatchPanel getPatchPanelById(String patchPanelId)
      Description copied from interface: Lookups
      Retrieves the details of a patch panel by id.

      Maps to GET /colocations/v2/patchPanels/{patchPanelId} (Retrieve patch panel details).

      Specified by:
      getPatchPanelById in interface Lookups
      Parameters:
      patchPanelId - the patch panel id
      Returns:
      the patch panel details
    • listProviders

      public List<? extends Provider> listProviders(String cageId, String accountNumber)
      Description copied from interface: Lookups
      Lists the cross-connect providers available for a cabinet and account.

      Maps to GET /colocations/v2/providers (Retrieve list of providers).

      Specified by:
      listProviders in interface Lookups
      Parameters:
      cageId - the cage id (required)
      accountNumber - the account number (required)
      Returns:
      the list of providers
    • listConnectionServices

      public List<? extends ConnectionService> listConnectionServices(String ibx)
      Description copied from interface: Lookups
      Lists the connection services available at an IBX.

      Maps to GET /colocations/v2/connectionServices (Retrieve list of connection services).

      Specified by:
      listConnectionServices in interface Lookups
      Parameters:
      ibx - the IBX code (required)
      Returns:
      the list of connection services