/* Options: Date: 2025-12-06 08:48:38 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: PlaceAddTakeAwayRequest.* //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/add_take_away", Verbs="POST") public static class PlaceAddTakeAwayRequest implements IReturn, IPost, IHasPlaceId { public Long placeId = null; public String takeAwaySlug = null; public Long getPlaceId() { return placeId; } public PlaceAddTakeAwayRequest setPlaceId(Long value) { this.placeId = value; return this; } public String getTakeAwaySlug() { return takeAwaySlug; } public PlaceAddTakeAwayRequest setTakeAwaySlug(String value) { this.takeAwaySlug = value; return this; } private static Object responseType = PlaceAddTakeAwayResponse.class; public Object getResponseType() { return responseType; } } public static class PlaceAddTakeAwayResponse { public ArrayList takeAways = new ArrayList(); public ArrayList getTakeAways() { return takeAways; } public PlaceAddTakeAwayResponse setTakeAways(ArrayList value) { this.takeAways = value; return this; } } public static interface IHasPlaceId { public Long placeId = null; } public static class TakeAwayDto { public Long id = null; public String label = null; public String slug = null; public Integer position = null; public Long getId() { return id; } public TakeAwayDto setId(Long value) { this.id = value; return this; } public String getLabel() { return label; } public TakeAwayDto setLabel(String value) { this.label = value; return this; } public String getSlug() { return slug; } public TakeAwayDto setSlug(String value) { this.slug = value; return this; } public Integer getPosition() { return position; } public TakeAwayDto setPosition(Integer value) { this.position = value; return this; } } }