Record Class ReservationLecturerBookingCheckResource.ApplyRequest
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.reservationlecturerbookingcheck.ReservationLecturerBookingCheckResource.ApplyRequest
- Enclosing class:
ReservationLecturerBookingCheckResource
public static record ReservationLecturerBookingCheckResource.ApplyRequest(EntitySelectionBean selection, List<MatrixSelectionRule<ReservationLecturerBookingCheckFilter>> rules, ReservationLecturerBookingCheckResource.MatrixOperation operation)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionApplyRequest(EntitySelectionBean selection, List<MatrixSelectionRule<ReservationLecturerBookingCheckFilter>> rules, ReservationLecturerBookingCheckResource.MatrixOperation operation) Creates an instance of aApplyRequestrecord 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.Returns the value of theoperationrecord component.rules()Returns the value of therulesrecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApplyRequest
public ApplyRequest(EntitySelectionBean selection, List<MatrixSelectionRule<ReservationLecturerBookingCheckFilter>> rules, ReservationLecturerBookingCheckResource.MatrixOperation operation) Creates an instance of aApplyRequestrecord class.- Parameters:
selection- the value for theselectionrecord componentrules- the value for therulesrecord componentoperation- the value for theoperationrecord 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). -
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
rules
Returns the value of therulesrecord component.- Returns:
- the value of the
rulesrecord component
-
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-