/* Options: Date: 2025-10-28 03:49:28 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: Files.* //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 dtos { @Route(Path="/restfiles/files") // @Route(Path="/restfiles/files/{Path*}") public static class Files implements IReturn { public String Path = null; public String TextContents = null; public Boolean ForDownload = null; public String getPath() { return Path; } public Files setPath(String value) { this.Path = value; return this; } public String getTextContents() { return TextContents; } public Files setTextContents(String value) { this.TextContents = value; return this; } public Boolean isForDownload() { return ForDownload; } public Files setForDownload(Boolean value) { this.ForDownload = value; return this; } private static Object responseType = FilesResponse.class; public Object getResponseType() { return responseType; } } public static class FilesResponse { public FolderResult Directory = null; public FileResult File = null; public ResponseStatus ResponseStatus = null; public FolderResult getDirectory() { return Directory; } public FilesResponse setDirectory(FolderResult value) { this.Directory = value; return this; } public FileResult getFile() { return File; } public FilesResponse setFile(FileResult value) { this.File = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public FilesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class FolderResult { public ArrayList Folders = null; public ArrayList Files = null; public ArrayList getFolders() { return Folders; } public FolderResult setFolders(ArrayList value) { this.Folders = value; return this; } public ArrayList getFiles() { return Files; } public FolderResult setFiles(ArrayList value) { this.Files = value; return this; } } public static class FileResult { public String Name = null; public String Extension = null; public Long FileSizeBytes = null; public Date ModifiedDate = null; public Boolean IsTextFile = null; public String Contents = null; public String getName() { return Name; } public FileResult setName(String value) { this.Name = value; return this; } public String getExtension() { return Extension; } public FileResult setExtension(String value) { this.Extension = value; return this; } public Long getFileSizeBytes() { return FileSizeBytes; } public FileResult setFileSizeBytes(Long value) { this.FileSizeBytes = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public FileResult setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Boolean getIsTextFile() { return IsTextFile; } public FileResult setIsTextFile(Boolean value) { this.IsTextFile = value; return this; } public String getContents() { return Contents; } public FileResult setContents(String value) { this.Contents = value; return this; } } public static class Folder { public String Name = null; public Date ModifiedDate = null; public Integer FileCount = null; public String getName() { return Name; } public Folder setName(String value) { this.Name = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Folder setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getFileCount() { return FileCount; } public Folder setFileCount(Integer value) { this.FileCount = value; return this; } } public static class File { public String Name = null; public String Extension = null; public Long FileSizeBytes = null; public Date ModifiedDate = null; public Boolean IsTextFile = null; public String getName() { return Name; } public File setName(String value) { this.Name = value; return this; } public String getExtension() { return Extension; } public File setExtension(String value) { this.Extension = value; return this; } public Long getFileSizeBytes() { return FileSizeBytes; } public File setFileSizeBytes(Long value) { this.FileSizeBytes = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public File setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Boolean getIsTextFile() { return IsTextFile; } public File setIsTextFile(Boolean value) { this.IsTextFile = value; return this; } } }