Record Class WebsocketBeans.FinishedData
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.client.spi.delete.beans.WebsocketBeans.FinishedData
- All Implemented Interfaces:
WebsocketBeans.DeleteActionEvent
- Enclosing class:
WebsocketBeans
public static record WebsocketBeans.FinishedData(DeleteEntitiesResponseBean result, WebsocketBeans.UpdateDataType type)
extends Record
implements WebsocketBeans.DeleteActionEvent
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aFinishedDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
FinishedData
-
FinishedData
Creates an instance of aFinishedDatarecord class.- Parameters:
result- the value for theresultrecord componenttype- the value for thetyperecord 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). -
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-