Enum Class TicketState

java.lang.Object
java.lang.Enum<TicketState>
com.eqixiac.equinix.messaging.TicketState
All Implemented Interfaces:
Serializable, Comparable<TicketState>, Constable

public enum TicketState extends Enum<TicketState>
Lifecycle state of an IBX or network maintenance/incident ticket (Body.State).
  • Enum Constant Details

    • CONFIRMED

      public static final TicketState CONFIRMED
      The maintenance or incident is confirmed (wire CONFIRMED).
    • IN_PROCESS

      public static final TicketState IN_PROCESS
      The maintenance or incident is in progress (wire IN-PROCESS).
    • COMPLETED

      public static final TicketState COMPLETED
      The maintenance or incident is completed (wire COMPLETED).
    • CANCELLED

      public static final TicketState CANCELLED
      The maintenance or incident was cancelled (wire CANCELLED).
    • UNKNOWN

      public static final TicketState UNKNOWN
      A value this SDK version does not recognise.
  • Method Details

    • values

      public static TicketState[] 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 TicketState 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
    • fromWire

      public static TicketState fromWire(String value)
      Case- and punctuation-insensitive lookup of a wire value.
      Parameters:
      value - the wire value
      Returns:
      the constant, UNKNOWN if unrecognised, null if value is null