/* Options: Date: 2025-12-06 06:59:37 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: GetRootCategoriesRequest.* //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_roots", Verbs="GET") public static class GetRootCategoriesRequest implements IReturn, IGet { private static Object responseType = GetRootCategoriesResponse.class; public Object getResponseType() { return responseType; } } public static class GetRootCategoriesResponse { public ArrayList categories = new ArrayList(); public ArrayList getCategories() { return categories; } public GetRootCategoriesResponse setCategories(ArrayList value) { this.categories = value; return this; } } public static class CategoryDto { public Long id = null; public String name = null; public String slug = null; public String absoluteSlug = null; public Long parentId = null; public String state = null; public Integer position = null; public Long getId() { return id; } public CategoryDto setId(Long value) { this.id = value; return this; } public String getName() { return name; } public CategoryDto setName(String value) { this.name = 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 Long getParentId() { return parentId; } public CategoryDto setParentId(Long value) { this.parentId = value; return this; } public String getState() { return state; } public CategoryDto setState(String value) { this.state = value; return this; } public Integer getPosition() { return position; } public CategoryDto setPosition(Integer value) { this.position = value; return this; } } }