Package org.localify.venue.dto
Class VenuePatchRequest
java.lang.Object
org.localify.venue.dto.VenuePatchRequest
Represents a request to patch a venue.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the address of the venue.Gets the ID of the city where the venue is located.Gets the latitude of the venue.Gets the longitude of the venue.getName()Gets the name of the venue.voidsetAddress(Optional<String> address) Sets the address of the venue.voidSets the ID of the city where the venue is located.voidsetLatitude(Optional<Double> latitude) Sets the latitude of the venue.voidsetLongitude(Optional<Double> longitude) Sets the longitude of the venue.voidSets the name of the venue.
-
Constructor Details
-
VenuePatchRequest
public VenuePatchRequest()
-
-
Method Details
-
getName
Gets the name of the venue.- Returns:
- The name.
-
setName
Sets the name of the venue.- Parameters:
name- The name.
-
getAddress
Gets the address of the venue.- Returns:
- The address.
-
setAddress
Sets the address of the venue.- Parameters:
address- The address.
-
getCityId
Gets the ID of the city where the venue is located.- Returns:
- The city ID.
-
setCityId
Sets the ID of the city where the venue is located.- Parameters:
cityId- The city ID.
-
getLatitude
Gets the latitude of the venue.- Returns:
- The latitude.
-
setLatitude
Sets the latitude of the venue.- Parameters:
latitude- The latitude.
-
getLongitude
Gets the longitude of the venue.- Returns:
- The longitude.
-
setLongitude
Sets the longitude of the venue.- Parameters:
longitude- The longitude.
-