/* Options: Date: 2026-02-04 11:50:30 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: MergeFileRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/merge-file", Verbs="POST") public static class MergeFileRequest implements IReturn { public TemplateDefinitionDto template = null; public ArrayList elements = null; public TemplateDefinitionDto getTemplate() { return template; } public MergeFileRequest setTemplate(TemplateDefinitionDto value) { this.template = value; return this; } public ArrayList getElements() { return elements; } public MergeFileRequest setElements(ArrayList value) { this.elements = value; return this; } private static Object responseType = Object.class; public Object getResponseType() { return responseType; } } public static class TemplateDefinitionDto { public Integer id = null; public Integer documentId = null; public String title = null; public String description = null; public Boolean isActive = null; public Integer getId() { return id; } public TemplateDefinitionDto setId(Integer value) { this.id = value; return this; } public Integer getDocumentId() { return documentId; } public TemplateDefinitionDto setDocumentId(Integer value) { this.documentId = value; return this; } public String getTitle() { return title; } public TemplateDefinitionDto setTitle(String value) { this.title = value; return this; } public String getDescription() { return description; } public TemplateDefinitionDto setDescription(String value) { this.description = value; return this; } public Boolean getIsActive() { return isActive; } public TemplateDefinitionDto setIsActive(Boolean value) { this.isActive = value; return this; } } public static class ElementDefinitionDto { public Integer id = null; public Integer templateId = null; public String elementKey = null; public String tag = null; public String title = null; public String description = null; public String dataType = null; public String templateType = null; public Integer orderIndex = null; public Integer parentId = null; public Object value = null; public ArrayList children = null; public Integer getId() { return id; } public ElementDefinitionDto setId(Integer value) { this.id = value; return this; } public Integer getTemplateId() { return templateId; } public ElementDefinitionDto setTemplateId(Integer value) { this.templateId = value; return this; } public String getElementKey() { return elementKey; } public ElementDefinitionDto setElementKey(String value) { this.elementKey = value; return this; } public String getTag() { return tag; } public ElementDefinitionDto setTag(String value) { this.tag = value; return this; } public String getTitle() { return title; } public ElementDefinitionDto setTitle(String value) { this.title = value; return this; } public String getDescription() { return description; } public ElementDefinitionDto setDescription(String value) { this.description = value; return this; } public String getDataType() { return dataType; } public ElementDefinitionDto setDataType(String value) { this.dataType = value; return this; } public String getTemplateType() { return templateType; } public ElementDefinitionDto setTemplateType(String value) { this.templateType = value; return this; } public Integer getOrderIndex() { return orderIndex; } public ElementDefinitionDto setOrderIndex(Integer value) { this.orderIndex = value; return this; } public Integer getParentId() { return parentId; } public ElementDefinitionDto setParentId(Integer value) { this.parentId = value; return this; } public Object getValue() { return value; } public ElementDefinitionDto setValue(Object value) { this.value = value; return this; } public ArrayList getChildren() { return children; } public ElementDefinitionDto setChildren(ArrayList value) { this.children = value; return this; } } }