Record Class TicketBody.Asset

java.lang.Object
java.lang.Record
com.eqixiac.equinix.messaging.TicketBody.Asset
Record Components:
ibx - IBX (data center) code
cage - cage
cabinet - cabinet
serialNumber - serial number
circuitType - circuit type
Enclosing class:
TicketBody

public static record TicketBody.Asset(String ibx, String cage, String cabinet, String serialNumber, String circuitType) extends Record
An affected customer asset.
  • Constructor Details

    • Asset

      public Asset(String ibx, String cage, String cabinet, String serialNumber, String circuitType)
      Creates an instance of a Asset record class.
      Parameters:
      ibx - the value for the ibx record component
      cage - the value for the cage record component
      cabinet - the value for the cabinet record component
      serialNumber - the value for the serialNumber record component
      circuitType - the value for the circuitType record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • ibx

      public String ibx()
      Returns the value of the ibx record component.
      Returns:
      the value of the ibx record component
    • cage

      public String cage()
      Returns the value of the cage record component.
      Returns:
      the value of the cage record component
    • cabinet

      public String cabinet()
      Returns the value of the cabinet record component.
      Returns:
      the value of the cabinet record component
    • serialNumber

      public String serialNumber()
      Returns the value of the serialNumber record component.
      Returns:
      the value of the serialNumber record component
    • circuitType

      public String circuitType()
      Returns the value of the circuitType record component.
      Returns:
      the value of the circuitType record component