/* Options: Date: 2025-10-27 21:47:51 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: Files.* //ExcludeTypes: //InitializeCollections: False //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.* @Route(Path="/restfiles/files") // @Route(Path="/restfiles/files/{Path*}") open class Files : IReturn { open var Path:String? = null open var TextContents:String? = null open var ForDownload:Boolean? = null companion object { private val responseType = FilesResponse::class.java } override fun getResponseType(): Any? = Files.responseType } open class FilesResponse { open var Directory:FolderResult? = null open var File:FileResult? = null open var ResponseStatus:ResponseStatus? = null } open class FolderResult { open var Folders:ArrayList? = null open var Files:ArrayList? = null } open class FileResult { open var Name:String? = null open var Extension:String? = null open var FileSizeBytes:Long? = null open var ModifiedDate:Date? = null open var IsTextFile:Boolean? = null open var Contents:String? = null } open class Folder { open var Name:String? = null open var ModifiedDate:Date? = null open var FileCount:Int? = null } open class File { open var Name:String? = null open var Extension:String? = null open var FileSizeBytes:Long? = null open var ModifiedDate:Date? = null open var IsTextFile:Boolean? = null }