Class TroubleTicketOrdersImpl

java.lang.Object
com.eqixiac.equinix.customerportal.client.implementation.TroubleTicketOrdersImpl
All Implemented Interfaces:
TroubleTicketOrders

public class TroubleTicketOrdersImpl extends Object implements TroubleTicketOrders
  • Constructor Details

    • TroubleTicketOrdersImpl

      public TroubleTicketOrdersImpl()
  • Method Details

    • getTypes

      public List<? extends TroubleTicketType> getTypes()
      Description copied from interface: TroubleTicketOrders
      Lists all Equinix trouble ticket problem categories and their corresponding codes.
      Specified by:
      getTypes in interface TroubleTicketOrders
      Returns:
      the list of supported trouble ticket types
    • getTypes

      public List<? extends TroubleTicketType> getTypes(String category)
      Description copied from interface: TroubleTicketOrders
      Lists Equinix trouble ticket problem categories filtered by a single category.

      Maps to GET /v1/orders/troubleticket/types with the category query parameter (e.g. Cross Connect, Network, Power, Environment, Hardware, Security, Managed Services, Smartview).

      Specified by:
      getTypes in interface TroubleTicketOrders
      Parameters:
      category - the trouble ticket category to filter by, or null for all
      Returns:
      the list of supported trouble ticket types
    • getLocations

      public List<? extends TroubleTicketOrderLocation> getLocations()
      Description copied from interface: TroubleTicketOrders
      Lists the IBX locations and cages where the current user may place trouble ticket orders.
      Specified by:
      getLocations in interface TroubleTicketOrders
      Returns:
      the list of permitted locations
    • getLocations

      public List<? extends TroubleTicketOrderLocation> getLocations(Boolean detail, String ibxs, String cages)
      Description copied from interface: TroubleTicketOrders
      Lists the IBX locations and cages where the current user may place trouble ticket orders, filtered by the supplied parameters.

      Maps to GET /v1/orders/troubleticket/locations with the detail, ibxs and cages query parameters.

      Specified by:
      getLocations in interface TroubleTicketOrders
      Parameters:
      detail - whether to include detailed cage/account information, or null
      ibxs - the IBX codes to filter by, or null
      cages - the cage ids to filter by, or null
      Returns:
      the list of permitted locations
    • placeOrder

      public OrderResponse placeOrder(TroubleTicketOrderRequest request)
      Description copied from interface: TroubleTicketOrders
      Submits a trouble ticket for an issue impacting your service.
      Specified by:
      placeOrder in interface TroubleTicketOrders
      Parameters:
      request - the trouble ticket order body
      Returns:
      the created order response carrying the generated order number