Record Class DeleteSelectedResponse
java.lang.Object
java.lang.Record
fr.tiogars.inception.common.models.DeleteSelectedResponse
- Record Components:
deletedIds- identifiers that were deletedskippedIds- identifiers that were not found or are protected from deletion
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteSelectedResponse(List<Long> deletedIds, List<Long> skippedIds) Creates an instance of aDeleteSelectedResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeletedIdsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theskippedIdsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeleteSelectedResponse
Creates an instance of aDeleteSelectedResponserecord class.- Parameters:
deletedIds- the value for thedeletedIdsrecord componentskippedIds- the value for theskippedIdsrecord 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). -
deletedIds
Returns the value of thedeletedIdsrecord component.- Returns:
- the value of the
deletedIdsrecord component
-
skippedIds
Returns the value of theskippedIdsrecord component.- Returns:
- the value of the
skippedIdsrecord component
-