Class SmartHandsRequestJson

java.lang.Object
com.eqixiac.equinix.customerportal.model.json.creators.SmartHandsRequestJson

public class SmartHandsRequestJson extends Object
Shared request body for all smart hands order types. Every typed create (equipmentInstall, shipmentUnpack, cageEscort, etc.) uses these common fields (ibxLocation, contacts, schedule, optional purchaseOrder, customerReferenceNumber and attachments) together with a per-type serviceDetails object whose shape varies by smart hands type.

ibxLocation, contacts, schedule and serviceDetails are required by the API.

For each order type a typed serviceDetails creator is available (e.g. EquipmentInstallDetails, ShipmentUnpackDetails, CageEscortDetails, MoveJumperCableDetails, RunJumperCableDetails, CableRequestDetails, LocatePackageDetails, PicturesDocumentDetails, PatchCableInstallDetails, PatchCableRemovalDetails, CageCleanupDetails, OtherSmartHandsDetails). Pass one to builder(IbxLocation, List, ScheduleInfo, Object). A free-form Map<String, Object> remains available as an escape hatch via builder(IbxLocation, List, ScheduleInfo, Map).

  • Method Details

    • builder

      public static SmartHandsRequestJson.Builder builder(IbxLocation ibxLocation, List<ContactInfo> contacts, ScheduleInfo schedule, Object serviceDetails)
      Returns a new builder for a smart hands request body using a typed per-type serviceDetails creator (e.g. EquipmentInstallDetails).
      Parameters:
      ibxLocation - the IBX/cage location (required)
      contacts - the ordering, technical and notification contacts (required)
      schedule - the scheduling details (required)
      serviceDetails - the typed per-type service details (required)
      Returns:
      a new builder
    • builder

      public static SmartHandsRequestJson.Builder builder(IbxLocation ibxLocation, List<ContactInfo> contacts, ScheduleInfo schedule, Map<String,Object> serviceDetails)
      Returns a new builder for a smart hands request body using a free-form Map<String, Object> serviceDetails escape hatch.
      Parameters:
      ibxLocation - the IBX/cage location (required)
      contacts - the ordering, technical and notification contacts (required)
      schedule - the scheduling details (required)
      serviceDetails - the per-type service details as a free-form map (required)
      Returns:
      a new builder