Record Class SearchNonCompanyUserResponse
java.lang.Object
java.lang.Record
inha.git.user.api.controller.dto.response.SearchNonCompanyUserResponse
- All Implemented Interfaces:
SearchUserResponse
public record SearchNonCompanyUserResponse(@NotNull Integer idx, @NotNull String email, @NotNull String name, @NotNull Integer position, @NotNull String userNumber, @NotNull Boolean githubTokenState, @NotNull List<SearchDepartmentResponse> departmentList, @NotNull Integer projectNumber, @NotNull Integer questionCommentNumber, @NotNull Integer belongTeamNumber, @NotNull Integer patentNumber)
extends Record
implements SearchUserResponse
-
Constructor Summary
ConstructorsConstructorDescriptionSearchNonCompanyUserResponse
(@NotNull Integer idx, @NotNull String email, @NotNull String name, @NotNull Integer position, @NotNull String userNumber, @NotNull Boolean githubTokenState, @NotNull List<SearchDepartmentResponse> departmentList, @NotNull Integer projectNumber, @NotNull Integer questionCommentNumber, @NotNull Integer belongTeamNumber, @NotNull Integer patentNumber) Creates an instance of aSearchNonCompanyUserResponse
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull Integer
Returns the value of thebelongTeamNumber
record component.@NotNull List<SearchDepartmentResponse>
Returns the value of thedepartmentList
record component.@NotNull String
email()
Returns the value of theemail
record component.final boolean
Indicates whether some other object is "equal to" this one.@NotNull Boolean
Returns the value of thegithubTokenState
record component.final int
hashCode()
Returns a hash code value for this object.@NotNull Integer
idx()
Returns the value of theidx
record component.@NotNull String
name()
Returns the value of thename
record component.@NotNull Integer
Returns the value of thepatentNumber
record component.@NotNull Integer
position()
Returns the value of theposition
record component.@NotNull Integer
Returns the value of theprojectNumber
record component.@NotNull Integer
Returns the value of thequestionCommentNumber
record component.final String
toString()
Returns a string representation of this record class.@NotNull String
Returns the value of theuserNumber
record component.
-
Constructor Details
-
SearchNonCompanyUserResponse
public SearchNonCompanyUserResponse(@NotNull @NotNull Integer idx, @NotNull @NotNull String email, @NotNull @NotNull String name, @NotNull @NotNull Integer position, @NotNull @NotNull String userNumber, @NotNull @NotNull Boolean githubTokenState, @NotNull @NotNull List<SearchDepartmentResponse> departmentList, @NotNull @NotNull Integer projectNumber, @NotNull @NotNull Integer questionCommentNumber, @NotNull @NotNull Integer belongTeamNumber, @NotNull @NotNull Integer patentNumber) Creates an instance of aSearchNonCompanyUserResponse
record class.- Parameters:
idx
- the value for theidx
record componentemail
- the value for theemail
record componentname
- the value for thename
record componentposition
- the value for theposition
record componentuserNumber
- the value for theuserNumber
record componentgithubTokenState
- the value for thegithubTokenState
record componentdepartmentList
- the value for thedepartmentList
record componentprojectNumber
- the value for theprojectNumber
record componentquestionCommentNumber
- the value for thequestionCommentNumber
record componentbelongTeamNumber
- the value for thebelongTeamNumber
record componentpatentNumber
- the value for thepatentNumber
record 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)
. -
idx
Returns the value of theidx
record component.- Returns:
- the value of the
idx
record component
-
email
Returns the value of theemail
record component.- Returns:
- the value of the
email
record component
-
name
Returns the value of thename
record component.- Returns:
- the value of the
name
record component
-
position
Returns the value of theposition
record component.- Returns:
- the value of the
position
record component
-
userNumber
Returns the value of theuserNumber
record component.- Returns:
- the value of the
userNumber
record component
-
githubTokenState
Returns the value of thegithubTokenState
record component.- Returns:
- the value of the
githubTokenState
record component
-
departmentList
Returns the value of thedepartmentList
record component.- Returns:
- the value of the
departmentList
record component
-
projectNumber
Returns the value of theprojectNumber
record component.- Returns:
- the value of the
projectNumber
record component
-
questionCommentNumber
Returns the value of thequestionCommentNumber
record component.- Returns:
- the value of the
questionCommentNumber
record component
-
belongTeamNumber
Returns the value of thebelongTeamNumber
record component.- Returns:
- the value of the
belongTeamNumber
record component
-
patentNumber
Returns the value of thepatentNumber
record component.- Returns:
- the value of the
patentNumber
record component
-