Record Class IntakeRoutePlan
java.lang.Object
java.lang.Record
org.tavall.couriers.api.web.service.route.IntakeRoutePlan
-
Constructor Summary
ConstructorsConstructorDescriptionIntakeRoutePlan(String routeId, List<String> orderedUuids, boolean createNewRoute, String notes) Creates an instance of aIntakeRoutePlanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecreateNewRouterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.notes()Returns the value of thenotesrecord component.Returns the value of theorderedUuidsrecord component.routeId()Returns the value of therouteIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IntakeRoutePlan
public IntakeRoutePlan(String routeId, List<String> orderedUuids, boolean createNewRoute, String notes) Creates an instance of aIntakeRoutePlanrecord class.- Parameters:
routeId- the value for therouteIdrecord componentorderedUuids- the value for theorderedUuidsrecord componentcreateNewRoute- the value for thecreateNewRouterecord componentnotes- the value for thenotesrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
routeId
Returns the value of therouteIdrecord component.- Returns:
- the value of the
routeIdrecord component
-
orderedUuids
-
createNewRoute
public boolean createNewRoute()Returns the value of thecreateNewRouterecord component.- Returns:
- the value of the
createNewRouterecord component
-
notes
Returns the value of thenotesrecord component.- Returns:
- the value of the
notesrecord component
-