Record Class OrderNotification.Body
java.lang.Object
java.lang.Record
com.eqixiac.equinix.messaging.OrderNotification.Body
- Record Components:
requestorId- customer reference number given when the order was placedservicerId- the Equinix order numberactivityId- id of the order line item or sub-taskstate- order statedescription- status description or technician messagecustomerContact- primary customer contact emaillocation- IBX where the order is fulfilledserviceDetails- order-type-specific details (free-form; seeserviceDetails())attachments- attachments, nevernull
- Enclosing class:
OrderNotification
public static record OrderNotification.Body(String requestorId, String servicerId, String activityId, OrderNotification.State state, String description, String customerContact, String location, com.fasterxml.jackson.databind.JsonNode serviceDetails, List<OrderNotification.Attachment> attachments)
extends Record
Order notification body (spec
OrderNotificationBody).-
Constructor Summary
ConstructorsConstructorDescriptionBody(String requestorId, String servicerId, String activityId, OrderNotification.State state, String description, String customerContact, String location, com.fasterxml.jackson.databind.JsonNode serviceDetails, List<OrderNotification.Attachment> attachments) Defensively copies the mutable JSON tree and normalisesattachments. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactivityIdrecord component.Returns the value of theattachmentsrecord component.Returns the value of thecustomerContactrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.Returns the value of therequestorIdrecord component.com.fasterxml.jackson.databind.JsonNodeOrder-type-specific details.Returns the value of theservicerIdrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Body
public Body(String requestorId, String servicerId, String activityId, OrderNotification.State state, String description, String customerContact, String location, com.fasterxml.jackson.databind.JsonNode serviceDetails, List<OrderNotification.Attachment> attachments) Defensively copies the mutable JSON tree and normalisesattachments.
-
-
Method Details
-
serviceDetails
public com.fasterxml.jackson.databind.JsonNode serviceDetails()Order-type-specific details. Their contents vary by order type and are not specified, so they are exposed as a JSON tree; a defensive copy is returned.- Returns:
- a copy of the details, or
nullif absent
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
requestorId
Returns the value of therequestorIdrecord component.- Returns:
- the value of the
requestorIdrecord component
-
servicerId
Returns the value of theservicerIdrecord component.- Returns:
- the value of the
servicerIdrecord component
-
activityId
Returns the value of theactivityIdrecord component.- Returns:
- the value of the
activityIdrecord component
-
state
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
customerContact
Returns the value of thecustomerContactrecord component.- Returns:
- the value of the
customerContactrecord component
-
location
-
attachments
Returns the value of theattachmentsrecord component.- Returns:
- the value of the
attachmentsrecord component
-