Record Class ProjectStarCancelRequest
java.lang.Object
java.lang.Record
inha.git.admin.api.controller.dto.request.ProjectStarCancelRequest
-
Constructor Summary
ConstructorsConstructorDescriptionProjectStarCancelRequest(@NotNull(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") Integer projectIdx) Creates an instance of aProjectStarCancelRequestrecord 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(message="\ud504\ub85c\uc81d\ud2b8 \uc778\ub371\uc2a4\ub294 \ud544\uc218\uc785\ub2c8\ub2e4.") IntegerReturns the value of theprojectIdxrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectStarCancelRequest
public ProjectStarCancelRequest(@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 aProjectStarCancelRequestrecord class.- Parameters:
projectIdx- the value for theprojectIdxrecord 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 theprojectIdxrecord component.- Returns:
- the value of the
projectIdxrecord component
-