Record Class ManagedServiceNotification
java.lang.Object
java.lang.Record
com.eqixiac.equinix.messaging.ManagedServiceNotification
- Record Components:
header- common headerbody- the ticket/request detailsrawJson- the envelope as received
- All Implemented Interfaces:
EmgMessage
public record ManagedServiceNotification(EmgHeader header, ManagedServiceNotification.Body body, String rawJson)
extends Record
implements EmgMessage
Equinix Managed Services trouble-ticket or service-request notification:
Task.Resource
TroubleTicket.ManagedService or ServiceRequest.ManagedService (spec
ManagedServicesBody).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordManaged Services notification body.static enumImpact or urgency level.static final recordTicket/request details. -
Constructor Summary
ConstructorsConstructorDescriptionManagedServiceNotification(EmgHeader header, ManagedServiceNotification.Body body, String rawJson) Creates an instance of aManagedServiceNotificationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.rawJson()Returns the value of therawJsonrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface EmgMessage
id
-
Constructor Details
-
ManagedServiceNotification
public ManagedServiceNotification(EmgHeader header, ManagedServiceNotification.Body body, String rawJson) Creates an instance of aManagedServiceNotificationrecord class.
-
-
Method Details
-
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). -
header
Returns the value of theheaderrecord component.- Specified by:
headerin interfaceEmgMessage- Returns:
- the value of the
headerrecord component
-
body
-
rawJson
Returns the value of therawJsonrecord component.- Specified by:
rawJsonin interfaceEmgMessage- Returns:
- the value of the
rawJsonrecord component
-