Record Class ProjectStarAcceptRequest
java.lang.Object
java.lang.Record
inha.git.admin.api.controller.dto.request.ProjectStarAcceptRequest
-
Constructor Summary
ConstructorsConstructorDescriptionProjectStarAcceptRequest
(@NotNull(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer projectIdx) Creates an instance of aProjectStarAcceptRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@NotNull(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer
Returns the value of theprojectIdx
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ProjectStarAcceptRequest
public ProjectStarAcceptRequest(@NotNull(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") @NotNull(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer projectIdx) Creates an instance of aProjectStarAcceptRequest
record class.- Parameters:
projectIdx
- the value for theprojectIdx
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)
. -
projectIdx
@NotNull(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") public @NotNull(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer projectIdx()Returns the value of theprojectIdx
record component.- Returns:
- the value of the
projectIdx
record component
-