Class UserCityPatchRequest

java.lang.Object
org.localify.user.dto.UserCityPatchRequest

public class UserCityPatchRequest extends Object
Represents a request to patch a user's city.
  • Constructor Details

    • UserCityPatchRequest

      public UserCityPatchRequest()
  • Method Details

    • getCustomStartDate

      public Optional<Instant> getCustomStartDate()
      Gets the custom start date.
      Returns:
      The custom start date.
    • setCustomStartDate

      public void setCustomStartDate(Optional<Instant> customStartDate)
      Sets the custom start date.
      Parameters:
      customStartDate - The custom start date.
    • getCustomEndDate

      public Optional<Instant> getCustomEndDate()
      Gets the custom end date.
      Returns:
      The custom end date.
    • setCustomEndDate

      public void setCustomEndDate(Optional<Instant> customEndDate)
      Sets the custom end date.
      Parameters:
      customEndDate - The custom end date.
    • getTimeFrame

      public Optional<CitySelectionTimeFrame> getTimeFrame()
      Gets the time frame.
      Returns:
      The time frame.
    • setTimeFrame

      public void setTimeFrame(Optional<CitySelectionTimeFrame> timeFrame)
      Sets the time frame.
      Parameters:
      timeFrame - The time frame.
    • getRadius

      public Optional<Double> getRadius()
      Gets the radius.
      Returns:
      The radius.
    • setRadius

      public void setRadius(Optional<Double> radius)
      Sets the radius.
      Parameters:
      radius - The radius.
    • getSelected

      public Optional<Boolean> getSelected()
      Gets whether the city is selected.
      Returns:
      Whether the city is selected.
    • setSelected

      public void setSelected(Optional<Boolean> selected)
      Sets whether the city is selected.
      Parameters:
      selected - Whether the city is selected.