/* Options: Date: 2025-12-06 07:50:09 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: PlaceGetSelectedBrandsRequest.* //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/get_selected_brands", Verbs="GET") public static class PlaceGetSelectedBrandsRequest implements IReturn, IGet, IHasPlaceId { public Long placeId = null; public Long getPlaceId() { return placeId; } public PlaceGetSelectedBrandsRequest setPlaceId(Long value) { this.placeId = value; return this; } private static Object responseType = PlaceGetSelectedBrandsResponse.class; public Object getResponseType() { return responseType; } } public static class PlaceGetSelectedBrandsResponse { public ArrayList brandsWithCategories = new ArrayList(); public ArrayList customBrandsWithCategories = new ArrayList(); public ArrayList getBrandsWithCategories() { return brandsWithCategories; } public PlaceGetSelectedBrandsResponse setBrandsWithCategories(ArrayList value) { this.brandsWithCategories = value; return this; } public ArrayList getCustomBrandsWithCategories() { return customBrandsWithCategories; } public PlaceGetSelectedBrandsResponse setCustomBrandsWithCategories(ArrayList value) { this.customBrandsWithCategories = value; return this; } } public static interface IHasPlaceId { public Long placeId = null; } public static class BrandDto { public Long id = null; public Long definedByRootCategoryId = null; public String name = null; public Long getId() { return id; } public BrandDto setId(Long value) { this.id = value; return this; } public Long getDefinedByRootCategoryId() { return definedByRootCategoryId; } public BrandDto setDefinedByRootCategoryId(Long value) { this.definedByRootCategoryId = value; return this; } public String getName() { return name; } public BrandDto setName(String value) { this.name = value; return this; } } public static class BrandWithCategoriesDto extends BrandDto { public ArrayList categories = new ArrayList(); public ArrayList getCategories() { return categories; } public BrandWithCategoriesDto setCategories(ArrayList value) { this.categories = value; return this; } } public static class PlaceCustomBrandWithCategoriesDto { public Long id = null; public Long definedByPlaceId = null; public String label = null; public ArrayList categories = new ArrayList(); public Long getId() { return id; } public PlaceCustomBrandWithCategoriesDto setId(Long value) { this.id = value; return this; } public Long getDefinedByPlaceId() { return definedByPlaceId; } public PlaceCustomBrandWithCategoriesDto setDefinedByPlaceId(Long value) { this.definedByPlaceId = value; return this; } public String getLabel() { return label; } public PlaceCustomBrandWithCategoriesDto setLabel(String value) { this.label = value; return this; } public ArrayList getCategories() { return categories; } public PlaceCustomBrandWithCategoriesDto setCategories(ArrayList value) { this.categories = value; return this; } } public static class CategoryDto { public Long id = null; public String slug = null; public String absoluteSlug = null; public String name = null; public Long parentId = null; public Long getId() { return id; } public CategoryDto setId(Long value) { this.id = value; return this; } public String getSlug() { return slug; } public CategoryDto setSlug(String value) { this.slug = value; return this; } public String getAbsoluteSlug() { return absoluteSlug; } public CategoryDto setAbsoluteSlug(String value) { this.absoluteSlug = value; return this; } public String getName() { return name; } public CategoryDto setName(String value) { this.name = value; return this; } public Long getParentId() { return parentId; } public CategoryDto setParentId(Long value) { this.parentId = value; return this; } } }