/* Options: Date: 2025-12-06 06:59:32 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //Package: //GlobalNamespace: BusinessApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PlaceUpdateRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class BusinessApi { @Route(Path="/place/update", Verbs="POST") public static class PlaceUpdateRequest implements IReturn, IPost, IHasPlaceId { public Long placeId = null; public String name = null; public String phone = null; public String email = null; public String street = null; public String postalCode = null; public String region = null; public String overview = null; public String website = null; public String webShop = null; public Float longitude = null; public Float latitude = null; public Boolean wheelChairAccessible = null; public Boolean wifi = null; public Boolean outdoorSeating = null; public Boolean saveFoodAndMoney = null; public OpeningHours openingHours = null; public ArrayList parking = new ArrayList(); public ArrayList paymentOptions = new ArrayList(); public Long getPlaceId() { return placeId; } public PlaceUpdateRequest setPlaceId(Long value) { this.placeId = value; return this; } public String getName() { return name; } public PlaceUpdateRequest setName(String value) { this.name = value; return this; } public String getPhone() { return phone; } public PlaceUpdateRequest setPhone(String value) { this.phone = value; return this; } public String getEmail() { return email; } public PlaceUpdateRequest setEmail(String value) { this.email = value; return this; } public String getStreet() { return street; } public PlaceUpdateRequest setStreet(String value) { this.street = value; return this; } public String getPostalCode() { return postalCode; } public PlaceUpdateRequest setPostalCode(String value) { this.postalCode = value; return this; } public String getRegion() { return region; } public PlaceUpdateRequest setRegion(String value) { this.region = value; return this; } public String getOverview() { return overview; } public PlaceUpdateRequest setOverview(String value) { this.overview = value; return this; } public String getWebsite() { return website; } public PlaceUpdateRequest setWebsite(String value) { this.website = value; return this; } public String getWebShop() { return webShop; } public PlaceUpdateRequest setWebShop(String value) { this.webShop = value; return this; } public Float getLongitude() { return longitude; } public PlaceUpdateRequest setLongitude(Float value) { this.longitude = value; return this; } public Float getLatitude() { return latitude; } public PlaceUpdateRequest setLatitude(Float value) { this.latitude = value; return this; } public Boolean isWheelChairAccessible() { return wheelChairAccessible; } public PlaceUpdateRequest setWheelChairAccessible(Boolean value) { this.wheelChairAccessible = value; return this; } public Boolean isWifi() { return wifi; } public PlaceUpdateRequest setWifi(Boolean value) { this.wifi = value; return this; } public Boolean isOutdoorSeating() { return outdoorSeating; } public PlaceUpdateRequest setOutdoorSeating(Boolean value) { this.outdoorSeating = value; return this; } public Boolean isSaveFoodAndMoney() { return saveFoodAndMoney; } public PlaceUpdateRequest setSaveFoodAndMoney(Boolean value) { this.saveFoodAndMoney = value; return this; } public OpeningHours getOpeningHours() { return openingHours; } public PlaceUpdateRequest setOpeningHours(OpeningHours value) { this.openingHours = value; return this; } public ArrayList getParking() { return parking; } public PlaceUpdateRequest setParking(ArrayList value) { this.parking = value; return this; } public ArrayList getPaymentOptions() { return paymentOptions; } public PlaceUpdateRequest setPaymentOptions(ArrayList value) { this.paymentOptions = value; return this; } private static Object responseType = PlaceUpdateResponse.class; public Object getResponseType() { return responseType; } } public static class PlaceUpdateResponse { public Long placeId = null; public Long getPlaceId() { return placeId; } public PlaceUpdateResponse setPlaceId(Long value) { this.placeId = value; return this; } } public static interface IHasPlaceId { public Long placeId = null; } public static enum Parking { StreetParking, ParkingGarageNearby; } public static enum PaymentOption { Visa, MasterCard, AmericanExpress, Diners, Vipps; } public static class OpeningHours { public WeeklyOpeningHours weekly = null; public WeeklyOpeningHours getWeekly() { return weekly; } public OpeningHours setWeekly(WeeklyOpeningHours value) { this.weekly = value; return this; } } public static class WeeklyOpeningHours { public OpeningHour monday = null; public OpeningHour tuesday = null; public OpeningHour wednesday = null; public OpeningHour thursday = null; public OpeningHour friday = null; public OpeningHour saturday = null; public OpeningHour sunday = null; public OpeningHour getMonday() { return monday; } public WeeklyOpeningHours setMonday(OpeningHour value) { this.monday = value; return this; } public OpeningHour getTuesday() { return tuesday; } public WeeklyOpeningHours setTuesday(OpeningHour value) { this.tuesday = value; return this; } public OpeningHour getWednesday() { return wednesday; } public WeeklyOpeningHours setWednesday(OpeningHour value) { this.wednesday = value; return this; } public OpeningHour getThursday() { return thursday; } public WeeklyOpeningHours setThursday(OpeningHour value) { this.thursday = value; return this; } public OpeningHour getFriday() { return friday; } public WeeklyOpeningHours setFriday(OpeningHour value) { this.friday = value; return this; } public OpeningHour getSaturday() { return saturday; } public WeeklyOpeningHours setSaturday(OpeningHour value) { this.saturday = value; return this; } public OpeningHour getSunday() { return sunday; } public WeeklyOpeningHours setSunday(OpeningHour value) { this.sunday = value; return this; } } public static class OpeningHour { public Integer openAtHour = null; public Integer openAtMinute = null; public Integer closeAtHour = null; public Integer closeAtMinute = null; public Integer getOpenAtHour() { return openAtHour; } public OpeningHour setOpenAtHour(Integer value) { this.openAtHour = value; return this; } public Integer getOpenAtMinute() { return openAtMinute; } public OpeningHour setOpenAtMinute(Integer value) { this.openAtMinute = value; return this; } public Integer getCloseAtHour() { return closeAtHour; } public OpeningHour setCloseAtHour(Integer value) { this.closeAtHour = value; return this; } public Integer getCloseAtMinute() { return closeAtMinute; } public OpeningHour setCloseAtMinute(Integer value) { this.closeAtMinute = value; return this; } } }