Enum Class OrderHistorySortField

java.lang.Object
java.lang.Enum<OrderHistorySortField>
com.eqixiac.equinix.customerportal.enums.OrderHistorySortField
All Implemented Interfaces:
Serializable, Comparable<OrderHistorySortField>, Constable

public enum OrderHistorySortField extends Enum<OrderHistorySortField>
Sort field for an order-history search (sorts[].name).

Values are the enum the live service lists in its HTTP 400 response (observed 2026-11-11), a superset of the spec's ORDERING_CONTACT, ACCOUNT_NUMBER, CREATED_ON. ORDERING_CONTACT sorts by the ordering contact's last name.

  • Enum Constant Details

  • Method Details

    • values

      public static OrderHistorySortField[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OrderHistorySortField valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromString

      public static OrderHistorySortField fromString(String value)
      Maps a wire value to a constant, falling back to UNKNOWN.
      Parameters:
      value - the wire value
      Returns:
      the matching constant, or UNKNOWN