/* Options: Date: 2025-12-06 07:46:46 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //Package: //GlobalNamespace: BackofficeApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetCategoryTreeRequest.* //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 BackofficeApi { @Route(Path="/category/get_tree", Verbs="GET") public static class GetCategoryTreeRequest implements IReturn, IGet { public String absoluteSlug = null; public String getAbsoluteSlug() { return absoluteSlug; } public GetCategoryTreeRequest setAbsoluteSlug(String value) { this.absoluteSlug = value; return this; } private static Object responseType = GetCategoryTreeResponse.class; public Object getResponseType() { return responseType; } } public static class GetCategoryTreeResponse { public ArrayList tree = new ArrayList(); public ArrayList getTree() { return tree; } public GetCategoryTreeResponse setTree(ArrayList value) { this.tree = value; return this; } } public static enum FeatureType { BarSpeciality, BarType, Cuisine, SaveFoodAndMoney, MealType, Menu, OutdoorSeating, Parking, PaymentOptions, PriceMainDish, SubCategories, SubCategoriesAndBrands, EatingSuitabilities, TakeAway, WearPriceProfile, WheelChairAccessible, Wifi, WebShop, Filtering; } public static class BackofficeCategoryTreeDto { public Long id = null; public String slug = null; public String absoluteSlug = null; public String name = null; public String imageUrl = null; public String allImageUrl = null; public String defaultPlaceImageUrl = null; public ArrayList children = new ArrayList(); public ArrayList featureTypes = new ArrayList(); public Long getId() { return id; } public BackofficeCategoryTreeDto setId(Long value) { this.id = value; return this; } public String getSlug() { return slug; } public BackofficeCategoryTreeDto setSlug(String value) { this.slug = value; return this; } public String getAbsoluteSlug() { return absoluteSlug; } public BackofficeCategoryTreeDto setAbsoluteSlug(String value) { this.absoluteSlug = value; return this; } public String getName() { return name; } public BackofficeCategoryTreeDto setName(String value) { this.name = value; return this; } public String getImageUrl() { return imageUrl; } public BackofficeCategoryTreeDto setImageUrl(String value) { this.imageUrl = value; return this; } public String getAllImageUrl() { return allImageUrl; } public BackofficeCategoryTreeDto setAllImageUrl(String value) { this.allImageUrl = value; return this; } public String getDefaultPlaceImageUrl() { return defaultPlaceImageUrl; } public BackofficeCategoryTreeDto setDefaultPlaceImageUrl(String value) { this.defaultPlaceImageUrl = value; return this; } public ArrayList getChildren() { return children; } public BackofficeCategoryTreeDto setChildren(ArrayList value) { this.children = value; return this; } public ArrayList getFeatureTypes() { return featureTypes; } public BackofficeCategoryTreeDto setFeatureTypes(ArrayList value) { this.featureTypes = value; return this; } } public static class FeatureTypeDto { public FeatureType slug = null; public String label = null; public FeatureType getSlug() { return slug; } public FeatureTypeDto setSlug(FeatureType value) { this.slug = value; return this; } public String getLabel() { return label; } public FeatureTypeDto setLabel(String value) { this.label = value; return this; } } }