Record Class ManagedServiceNotification.Body
java.lang.Object
java.lang.Record
com.eqixiac.equinix.messaging.ManagedServiceNotification.Body
- Record Components:
accountNumber- customer account numberresource-TroubleTicket.ManagedServiceorServiceRequest.ManagedServiceverb- the action performedmessage- the ticket/request details
- Enclosing class:
ManagedServiceNotification
public static record ManagedServiceNotification.Body(String accountNumber, String resource, EmgVerb verb, ManagedServiceNotification.Message message)
extends Record
Managed Services notification body.
-
Constructor Summary
ConstructorsConstructorDescriptionBody(String accountNumber, String resource, EmgVerb verb, ManagedServiceNotification.Message message) Creates an instance of aBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountNumberrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.resource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.verb()Returns the value of theverbrecord component.
-
Constructor Details
-
Body
public Body(String accountNumber, String resource, EmgVerb verb, ManagedServiceNotification.Message message) Creates an instance of aBodyrecord class.- Parameters:
accountNumber- the value for theaccountNumberrecord componentresource- the value for theresourcerecord componentverb- the value for theverbrecord componentmessage- the value for themessagerecord component
-
-
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). -
accountNumber
Returns the value of theaccountNumberrecord component.- Returns:
- the value of the
accountNumberrecord component
-
resource
-
verb
-
message
-