Record Class SearchTeamMemberResponse
java.lang.Object
java.lang.Record
inha.git.project.api.controller.dto.response.SearchTeamMemberResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollegeIdxrecord component.Returns the value of thecollegeNamerecord component.Returns the value of thedepartmentIdxrecord component.Returns the value of thedepartmentNamerecord component.@NotNull @Email Stringemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull Stringname()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserNumberrecord component.
-
Constructor Details
-
SearchTeamMemberResponse
public SearchTeamMemberResponse(@NotNull @NotNull String name, @NotNull @Email @NotNull @Email String email, String userNumber, String departmentName, String collegeName, Integer departmentIdx, Integer collegeIdx) Creates an instance of aSearchTeamMemberResponserecord class.- Parameters:
name- the value for thenamerecord componentemail- the value for theemailrecord componentuserNumber- the value for theuserNumberrecord componentdepartmentName- the value for thedepartmentNamerecord componentcollegeName- the value for thecollegeNamerecord componentdepartmentIdx- the value for thedepartmentIdxrecord componentcollegeIdx- the value for thecollegeIdxrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
email
Returns the value of theemailrecord component.- Returns:
- the value of the
emailrecord component
-
userNumber
Returns the value of theuserNumberrecord component.- Returns:
- the value of the
userNumberrecord component
-
departmentName
Returns the value of thedepartmentNamerecord component.- Returns:
- the value of the
departmentNamerecord component
-
collegeName
Returns the value of thecollegeNamerecord component.- Returns:
- the value of the
collegeNamerecord component
-
departmentIdx
Returns the value of thedepartmentIdxrecord component.- Returns:
- the value of the
departmentIdxrecord component
-
collegeIdx
Returns the value of thecollegeIdxrecord component.- Returns:
- the value of the
collegeIdxrecord component
-