Record Class RosterStudentsController.PurgeDroppedResponse
java.lang.Object
java.lang.Record
edu.ucsb.cs156.frontiers.controllers.RosterStudentsController.PurgeDroppedResponse
- Enclosing class:
RosterStudentsController
-
Constructor Summary
ConstructorsConstructorDescriptionPurgeDroppedResponse(int deleted, int removedFromOrg, List<String> orgRemovalErrors) Creates an instance of aPurgeDroppedResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdeleted()Returns the value of thedeletedrecord 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 theorgRemovalErrorsrecord component.intReturns the value of theremovedFromOrgrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PurgeDroppedResponse
Creates an instance of aPurgeDroppedResponserecord class.- Parameters:
deleted- the value for thedeletedrecord componentremovedFromOrg- the value for theremovedFromOrgrecord componentorgRemovalErrors- the value for theorgRemovalErrorsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
deleted
public int deleted()Returns the value of thedeletedrecord component.- Returns:
- the value of the
deletedrecord component
-
removedFromOrg
public int removedFromOrg()Returns the value of theremovedFromOrgrecord component.- Returns:
- the value of the
removedFromOrgrecord component
-
orgRemovalErrors
-