Record Class ApproveRequestTeamRequest
java.lang.Object
java.lang.Record
inha.git.team.api.controller.dto.request.ApproveRequestTeamRequest
-
Constructor Summary
ConstructorsConstructorDescriptionApproveRequestTeamRequest(@NotNull Integer teamIdx, @NotNull Integer userIdx) Creates an instance of aApproveRequestTeamRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull IntegerteamIdx()Returns the value of theteamIdxrecord component.final StringtoString()Returns a string representation of this record class.@NotNull IntegeruserIdx()Returns the value of theuserIdxrecord component.
-
Constructor Details
-
ApproveRequestTeamRequest
public ApproveRequestTeamRequest(@NotNull @NotNull Integer teamIdx, @NotNull @NotNull Integer userIdx) Creates an instance of aApproveRequestTeamRequestrecord class.- Parameters:
teamIdx- the value for theteamIdxrecord componentuserIdx- the value for theuserIdxrecord 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). -
teamIdx
Returns the value of theteamIdxrecord component.- Returns:
- the value of the
teamIdxrecord component
-
userIdx
Returns the value of theuserIdxrecord component.- Returns:
- the value of the
userIdxrecord component
-