Record Class UpdateTaskRequest
java.lang.Object
java.lang.Record
fr.tiogars.chat.client.UpdateTaskRequest
- Record Components:
label- replacement display labeldescription- optional replacement description
public record UpdateTaskRequest(String label, String description, TaskStatus status, TaskPriority priority, LocalDate dueDate, String assignedTo, List<Long> tagIds, Long nomenclatureId)
extends Record
Defines the mutable data of a Task.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateTaskRequest(String label, String description) UpdateTaskRequest(String label, String description, TaskStatus status, TaskPriority priority, LocalDate dueDate, String assignedTo, List<Long> tagIds, Long nomenclatureId) Creates an instance of aUpdateTaskRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassignedTorecord component.Returns the value of thedescriptionrecord component.dueDate()Returns the value of thedueDaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.Returns the value of thenomenclatureIdrecord component.priority()Returns the value of thepriorityrecord component.status()Returns the value of thestatusrecord component.tagIds()Returns the value of thetagIdsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateTaskRequest
public UpdateTaskRequest(String label, String description, TaskStatus status, TaskPriority priority, LocalDate dueDate, String assignedTo, List<Long> tagIds, Long nomenclatureId) Creates an instance of aUpdateTaskRequestrecord class.- Parameters:
label- the value for thelabelrecord componentdescription- the value for thedescriptionrecord componentstatus- the value for thestatusrecord componentpriority- the value for thepriorityrecord componentdueDate- the value for thedueDaterecord componentassignedTo- the value for theassignedTorecord componenttagIds- the value for thetagIdsrecord componentnomenclatureId- the value for thenomenclatureIdrecord component
-
UpdateTaskRequest
-
-
Method Details
-
toString
-
hashCode
-
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). -
label
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-
dueDate
Returns the value of thedueDaterecord component.- Returns:
- the value of the
dueDaterecord component
-
assignedTo
Returns the value of theassignedTorecord component.- Returns:
- the value of the
assignedTorecord component
-
tagIds
-
nomenclatureId
Returns the value of thenomenclatureIdrecord component.- Returns:
- the value of the
nomenclatureIdrecord component
-