Package org.localify.user.support
Record Class FestivalArtistFilterRequest
java.lang.Object
java.lang.Record
org.localify.user.support.FestivalArtistFilterRequest
- Record Components:
dates- The dates to filter by.stages- The stages to filter by.startTime- The start time to filter by.endTime- The end time to filter by.
public record FestivalArtistFilterRequest(List<LocalDate> dates, List<UUID> stages, LocalTime startTime, LocalTime endTime)
extends Record
Represents a request to filter festival artists.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondates()Returns the value of thedatesrecord component.endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.stages()Returns the value of thestagesrecord component.Returns the value of thestartTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
dates
Returns the value of thedatesrecord component.- Returns:
- the value of the
datesrecord component
-
stages
Returns the value of thestagesrecord component.- Returns:
- the value of the
stagesrecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-