/* Options: Date: 2024-11-21 12:18:37 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: UploadImagesRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/images", "POST") public class UploadImagesRequest : IReturn, Codable { public typealias Return = UploadImageResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? /** * 1 - LogoType ,2 - Homepage, 3 - Newsletter, 4 - Resource, 5 - Service, 6 - Customer comments, 7 - Support Case Attachments */ // @ApiMember(Description="1 - LogoType ,2 - Homepage, 3 - Newsletter, 4 - Resource, 5 - Service, 6 - Customer comments, 7 - Support Case Attachments", IsRequired=true, ParameterType="query") public var folderType:Int required public init(){} } public class UploadImageResponse : Codable { public var filePath:String required public init(){} }