Class DigitalLoasImpl

java.lang.Object
com.eqixiac.equinix.customerportal.client.implementation.DigitalLoasImpl
All Implemented Interfaces:
DigitalLoas

public class DigitalLoasImpl extends Object implements DigitalLoas
  • Constructor Details

    • DigitalLoasImpl

      public DigitalLoasImpl()
  • Method Details

    • create

      public DigitalLoa create(DigitalLoaCreateRequest request)
      Description copied from interface: DigitalLoas
      Creates a Digital LOA document.
      Specified by:
      create in interface DigitalLoas
      Parameters:
      request - the create request body
      Returns:
      the created Digital LOA
    • findByUuid

      public DigitalLoa findByUuid(String uuid)
      Description copied from interface: DigitalLoas
      Gets a Digital LOA document by its uuid.
      Specified by:
      findByUuid in interface DigitalLoas
      Parameters:
      uuid - the Digital LOA document identifier
      Returns:
      the Digital LOA
    • search

      public List<? extends DigitalLoa> search(DigitalLoaSearchRequest request)
      Description copied from interface: DigitalLoas
      Searches Digital LOA documents by the supplied search criteria (first page, default ordering).
      Specified by:
      search in interface DigitalLoas
      Parameters:
      request - the search criteria body
      Returns:
      the matching Digital LOA documents
    • search

      public List<? extends DigitalLoa> search(DigitalLoaSearchRequest request, Integer offset, Integer limit, List<String> sort)
      Description copied from interface: DigitalLoas
      Searches Digital LOA documents by the supplied search criteria, paging and sorting the results.
      Specified by:
      search in interface DigitalLoas
      Parameters:
      request - the search criteria body
      offset - the index of the first item returned (zero-based), or null for the default
      limit - the maximum number of items returned per page, or null for the default
      sort - the sort fields (e.g. /expiryDateTime, -/expiryDateTime), or null
      Returns:
      the matching Digital LOA documents
    • update

      public DigitalLoa update(String uuid, List<Map<String,Object>> operations)
      Description copied from interface: DigitalLoas
      Modifies a Digital LOA document by applying the supplied patch documents.
      Specified by:
      update in interface DigitalLoas
      Parameters:
      uuid - the Digital LOA document identifier
      operations - the JSON patch documents to apply
      Returns:
      the modified Digital LOA
    • cancel

      public Boolean cancel(String uuid)
      Description copied from interface: DigitalLoas
      Cancels (invalidates) a Digital LOA document.
      Specified by:
      cancel in interface DigitalLoas
      Parameters:
      uuid - the Digital LOA document identifier
      Returns:
      true if the Digital LOA was cancelled successfully
    • performAction

      public DigitalLoa performAction(String uuid, Map<String,Object> action)
      Description copied from interface: DigitalLoas
      Performs an action on a Digital LOA document.
      Specified by:
      performAction in interface DigitalLoas
      Parameters:
      uuid - the Digital LOA document identifier
      action - the action request body (the type of action is required)
      Returns:
      the Digital LOA after the action was performed
    • createRequest

      public Boolean createRequest(Map<String,Object> request)
      Description copied from interface: DigitalLoas
      Creates a Digital LOA request.
      Specified by:
      createRequest in interface DigitalLoas
      Parameters:
      request - the Digital LOA request body
      Returns:
      true if the request was submitted successfully
    • findChangesByLoaUuid

      public List<? extends DigitalLoaChange> findChangesByLoaUuid(String uuid)
      Description copied from interface: DigitalLoas
      Lists the change records for a Digital LOA document.
      Specified by:
      findChangesByLoaUuid in interface DigitalLoas
      Parameters:
      uuid - the Digital LOA document identifier
      Returns:
      the Digital LOA change records
    • findChangeByUuid

      public DigitalLoaChange findChangeByUuid(String uuid, String changeUuid)
      Description copied from interface: DigitalLoas
      Gets a specific change record for a Digital LOA document.
      Specified by:
      findChangeByUuid in interface DigitalLoas
      Parameters:
      uuid - the Digital LOA document identifier
      changeUuid - the Digital LOA change identifier
      Returns:
      the Digital LOA change record
    • listOrganizations

      public List<? extends LoaCustomerOrganization> listOrganizations(String ibx)
      Description copied from interface: DigitalLoas
      Lists the customer organizations available in the given IBX data center that the current user may use as a Digital LOA requestor.

      Private beta endpoint (GET /diloa/v1/organizations). The location.ibx query parameter is required by the API.

      Specified by:
      listOrganizations in interface DigitalLoas
      Parameters:
      ibx - the IBX data center identifier (e.g. AM11); required
      Returns:
      the customer organizations
    • listOrganizations

      public List<? extends LoaCustomerOrganization> listOrganizations(String ibx, List<String> productTypes)
      Description copied from interface: DigitalLoas
      Lists the customer organizations available in the given IBX data center, filtered by product type, that the current user may use as a Digital LOA requestor.

      Private beta endpoint (GET /diloa/v1/organizations). The location.ibx query parameter is required by the API; product.type is optional.

      Specified by:
      listOrganizations in interface DigitalLoas
      Parameters:
      ibx - the IBX data center identifier (e.g. AM11); required
      productTypes - the product types to filter by (e.g. CROSS_CONNECT), or null
      Returns:
      the customer organizations
    • isPrivateBetaAllowed

      public PrivateBetaPermission isPrivateBetaAllowed()
      Description copied from interface: DigitalLoas
      Returns whether the current user is permitted to use the Digital LOA application in its private beta phase (GET /diloa/v1/privateBetaAccess).

      Still in the diloav1 spec, but the route answers HTTP 404 live (observed 2026-11-11), so this call currently throws EquinixNotFoundException.

      Specified by:
      isPrivateBetaAllowed in interface DigitalLoas
      Returns:
      the private beta permission
    • createPrivateBetaAccessRequest

      public Boolean createPrivateBetaAccessRequest(PrivateBetaAccessRequest request)
      Description copied from interface: DigitalLoas
      Submits a request for Digital LOA private beta access (POST /diloa/v1/privateBetaAccess).

      Still in the diloav1 spec, but a GET on the same path answers HTTP 404 live (observed 2026-11-11, not exercised with this write), so this call is expected to fail.

      Specified by:
      createPrivateBetaAccessRequest in interface DigitalLoas
      Parameters:
      request - the private beta access request body
      Returns:
      true if the request was submitted successfully
    • getBetaTermsAgreement

      public BetaTermsAgreement getBetaTermsAgreement()
      Description copied from interface: DigitalLoas
      Returns the current user's acceptance of the Digital LOA private beta terms (GET /diloa/v1/betaTermsAgreement).

      Still in the diloav1 spec, but the route answers HTTP 404 live (observed 2026-11-11), so this call currently throws EquinixNotFoundException.

      Specified by:
      getBetaTermsAgreement in interface DigitalLoas
      Returns:
      the beta terms agreement
    • updateBetaTermsAgreement

      public BetaTermsAgreement updateBetaTermsAgreement(Boolean agreementAccepted)
      Description copied from interface: DigitalLoas
      Records the current user's acceptance of the Digital LOA private beta terms (PUT /diloa/v1/betaTermsAgreement).

      Still in the diloav1 spec, but a GET on the same path answers HTTP 404 live (observed 2026-11-11, not exercised with this write), so this call is expected to fail.

      Specified by:
      updateBetaTermsAgreement in interface DigitalLoas
      Parameters:
      agreementAccepted - whether the beta terms are accepted
      Returns:
      the updated beta terms agreement