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 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 a SearchNonCompanyUserResponse record class.
      Parameters:
      idx - the value for the idx record component
      email - the value for the email record component
      name - the value for the name record component
      position - the value for the position record component
      userNumber - the value for the userNumber record component
      githubTokenState - the value for the githubTokenState record component
      departmentList - the value for the departmentList record component
      projectNumber - the value for the projectNumber record component
      questionCommentNumber - the value for the questionCommentNumber record component
      belongTeamNumber - the value for the belongTeamNumber record component
      patentNumber - the value for the patentNumber record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • idx

      @NotNull public @NotNull Integer idx()
      Returns the value of the idx record component.
      Returns:
      the value of the idx record component
    • email

      @NotNull public @NotNull String email()
      Returns the value of the email record component.
      Returns:
      the value of the email record component
    • name

      @NotNull public @NotNull String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • position

      @NotNull public @NotNull Integer position()
      Returns the value of the position record component.
      Returns:
      the value of the position record component
    • userNumber

      @NotNull public @NotNull String userNumber()
      Returns the value of the userNumber record component.
      Returns:
      the value of the userNumber record component
    • githubTokenState

      @NotNull public @NotNull Boolean githubTokenState()
      Returns the value of the githubTokenState record component.
      Returns:
      the value of the githubTokenState record component
    • departmentList

      @NotNull public @NotNull List<SearchDepartmentResponse> departmentList()
      Returns the value of the departmentList record component.
      Returns:
      the value of the departmentList record component
    • projectNumber

      @NotNull public @NotNull Integer projectNumber()
      Returns the value of the projectNumber record component.
      Returns:
      the value of the projectNumber record component
    • questionCommentNumber

      @NotNull public @NotNull Integer questionCommentNumber()
      Returns the value of the questionCommentNumber record component.
      Returns:
      the value of the questionCommentNumber record component
    • belongTeamNumber

      @NotNull public @NotNull Integer belongTeamNumber()
      Returns the value of the belongTeamNumber record component.
      Returns:
      the value of the belongTeamNumber record component
    • patentNumber

      @NotNull public @NotNull Integer patentNumber()
      Returns the value of the patentNumber record component.
      Returns:
      the value of the patentNumber record component