Package org.localify.event.dto
Class EventPatchRequest
java.lang.Object
org.localify.event.dto.EventPatchRequest
Represents a patch request for an event.
Fields are optional to allow for partial updates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the door time of the event.Gets the end time of the event.Gets the high price of the event.Gets the low price of the event.getName()Gets the name of the event.Gets the start time of the event.Gets the ticket URL of the event.Gets the venue ID of the event.voidsetDoorTime(Optional<Instant> doorTime) Sets the door time of the event.voidsetEndTime(Optional<Instant> endTime) Sets the end time of the event.voidsetHighPrice(Optional<Double> highPrice) Sets the high price of the event.voidsetLowPrice(Optional<Double> lowPrice) Sets the low price of the event.voidSets the name of the event.voidsetStartTime(Optional<Instant> startTime) Sets the start time of the event.voidsetTicketUrl(Optional<String> ticketUrl) Sets the ticket URL of the event.voidsetVenueId(Optional<UUID> venueId) Sets the venue ID of the event.
-
Constructor Details
-
EventPatchRequest
public EventPatchRequest()
-
-
Method Details
-
getName
Gets the name of the event.- Returns:
- The name of the event.
-
setName
Sets the name of the event.- Parameters:
name- The name of the event.
-
getDoorTime
Gets the door time of the event.- Returns:
- The door time of the event.
-
setDoorTime
Sets the door time of the event.- Parameters:
doorTime- The door time of the event.
-
getStartTime
Gets the start time of the event.- Returns:
- The start time of the event.
-
setStartTime
Sets the start time of the event.- Parameters:
startTime- The start time of the event.
-
getEndTime
Gets the end time of the event.- Returns:
- The end time of the event.
-
setEndTime
Sets the end time of the event.- Parameters:
endTime- The end time of the event.
-
getVenueId
Gets the venue ID of the event.- Returns:
- The venue ID of the event.
-
setVenueId
Sets the venue ID of the event.- Parameters:
venueId- The venue ID of the event.
-
getLowPrice
Gets the low price of the event.- Returns:
- The low price of the event.
-
setLowPrice
Sets the low price of the event.- Parameters:
lowPrice- The low price of the event.
-
getHighPrice
Gets the high price of the event.- Returns:
- The high price of the event.
-
setHighPrice
Sets the high price of the event.- Parameters:
highPrice- The high price of the event.
-
getTicketUrl
Gets the ticket URL of the event.- Returns:
- The ticket URL of the event.
-
setTicketUrl
Sets the ticket URL of the event.- Parameters:
ticketUrl- The ticket URL of the event.
-