Record Class SlackController.SlackMissingMemberView
java.lang.Object
java.lang.Record
edu.ucsb.cs156.frontiers.controllers.SlackController.SlackMissingMemberView
- Enclosing class:
SlackController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecourseRolerecord component.email()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirstNamerecord component.final inthashCode()Returns a hash code value for this object.lastName()Returns the value of thelastNamerecord component.Returns the value of theslackStatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SlackMissingMemberView
public SlackMissingMemberView(String courseRole, String firstName, String lastName, String email, String slackStatus) Creates an instance of aSlackMissingMemberViewrecord class.- Parameters:
courseRole- the value for thecourseRolerecord componentfirstName- the value for thefirstNamerecord componentlastName- the value for thelastNamerecord componentemail- the value for theemailrecord componentslackStatus- the value for theslackStatusrecord 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). -
courseRole
Returns the value of thecourseRolerecord component.- Returns:
- the value of the
courseRolerecord component
-
firstName
Returns the value of thefirstNamerecord component.- Returns:
- the value of the
firstNamerecord component
-
lastName
Returns the value of thelastNamerecord component.- Returns:
- the value of the
lastNamerecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
slackStatus
Returns the value of theslackStatusrecord component.- Returns:
- the value of the
slackStatusrecord component
-