Class WorkVisitsImpl
java.lang.Object
com.eqixiac.equinix.customerportal.client.implementation.WorkVisitsImpl
- All Implemented Interfaces:
WorkVisits
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends LookupLocation> Lists the IBX locations, cages and cabinets where the current user may place work visit orders.List<? extends LookupLocation> listLocations(List<String> ibxs, Boolean details) Lists the work visit locations for the given IBXs, optionally with cage, cabinet and account details.order(WorkVisitOrderRequest request) Schedules a work visit.update(String orderId, WorkVisitUpdateRequest request) Updates a pending work visit order.
-
Constructor Details
-
WorkVisitsImpl
public WorkVisitsImpl()
-
-
Method Details
-
order
Description copied from interface:WorkVisitsSchedules a work visit.Maps to
POST /colocations/v2/orders/workVisits(Schedule Work Visit Services).- Specified by:
orderin interfaceWorkVisits- Parameters:
request- the work visit order request body- Returns:
- the order submission result carrying the generated order id
-
update
Description copied from interface:WorkVisitsUpdates a pending work visit order.Maps to
PATCH /colocations/v2/orders/workVisits/{orderId}(Update a work visit order).- Specified by:
updatein interfaceWorkVisits- Parameters:
orderId- the identifier of the work visit orderrequest- the update request body- Returns:
- the order submission result carrying the order id
-
listLocations
Description copied from interface:WorkVisitsLists the IBX locations, cages and cabinets where the current user may place work visit orders.Maps to Lookup v2
GET /colocations/v2/locations?permissionCode=WORK_VISIT; the same call aslookups().listLocations("WORK_VISIT"). It replaces the end-of-life Work Visit v1GET /v1/orders/workvisit/locations.- Specified by:
listLocationsin interfaceWorkVisits- Returns:
- the list of permitted locations
-
listLocations
Description copied from interface:WorkVisitsLists the work visit locations for the given IBXs, optionally with cage, cabinet and account details.Maps to Lookup v2
GET /colocations/v2/locations?permissionCode=WORK_VISIT.- Specified by:
listLocationsin interfaceWorkVisits- Parameters:
ibxs- the IBX codes to filter by, ornulldetails- whentrue, returns cage, cabinet and account details, ornullfor the default- Returns:
- the list of permitted locations
-