/* Options: Date: 2025-04-04 17:57:33 SwiftVersion: 5.0 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.clubmanagercentral.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: FileAttachmentService.GetFileRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/api/FileAttachment/GetFile", "POST,GET") public class GetFileRequest : IReturn, Codable { public typealias Return = FileAttachmentData public var fileAttachmentId:Int? required public init(){} } public class FileAttachmentData : Codable { public var fileAttachmentId:Int? public var branchId:Int? public var uploadedByUserId:Int? public var fileData:[UInt8] = [] public var instanceType:String? public var instanceId:Int? public var filename:String? public var fileSize:Int? public var mimeType:String? public var thumbnail:[UInt8] = [] required public init(){} }