Class EventPatchRequest

java.lang.Object
org.localify.event.dto.EventPatchRequest

public class EventPatchRequest extends Object
Represents a patch request for an event. Fields are optional to allow for partial updates.
  • Constructor Details

    • EventPatchRequest

      public EventPatchRequest()
  • Method Details

    • getName

      public Optional<String> getName()
      Gets the name of the event.
      Returns:
      The name of the event.
    • setName

      public void setName(Optional<String> name)
      Sets the name of the event.
      Parameters:
      name - The name of the event.
    • getDoorTime

      public Optional<Instant> getDoorTime()
      Gets the door time of the event.
      Returns:
      The door time of the event.
    • setDoorTime

      public void setDoorTime(Optional<Instant> doorTime)
      Sets the door time of the event.
      Parameters:
      doorTime - The door time of the event.
    • getStartTime

      public Optional<Instant> getStartTime()
      Gets the start time of the event.
      Returns:
      The start time of the event.
    • setStartTime

      public void setStartTime(Optional<Instant> startTime)
      Sets the start time of the event.
      Parameters:
      startTime - The start time of the event.
    • getEndTime

      public Optional<Instant> getEndTime()
      Gets the end time of the event.
      Returns:
      The end time of the event.
    • setEndTime

      public void setEndTime(Optional<Instant> endTime)
      Sets the end time of the event.
      Parameters:
      endTime - The end time of the event.
    • getVenueId

      public Optional<UUID> getVenueId()
      Gets the venue ID of the event.
      Returns:
      The venue ID of the event.
    • setVenueId

      public void setVenueId(Optional<UUID> venueId)
      Sets the venue ID of the event.
      Parameters:
      venueId - The venue ID of the event.
    • getLowPrice

      public Optional<Double> getLowPrice()
      Gets the low price of the event.
      Returns:
      The low price of the event.
    • setLowPrice

      public void setLowPrice(Optional<Double> lowPrice)
      Sets the low price of the event.
      Parameters:
      lowPrice - The low price of the event.
    • getHighPrice

      public Optional<Double> getHighPrice()
      Gets the high price of the event.
      Returns:
      The high price of the event.
    • setHighPrice

      public void setHighPrice(Optional<Double> highPrice)
      Sets the high price of the event.
      Parameters:
      highPrice - The high price of the event.
    • getTicketUrl

      public Optional<String> getTicketUrl()
      Gets the ticket URL of the event.
      Returns:
      The ticket URL of the event.
    • setTicketUrl

      public void setTicketUrl(Optional<String> ticketUrl)
      Sets the ticket URL of the event.
      Parameters:
      ticketUrl - The ticket URL of the event.