/* Options: Date: 2025-01-08 03:22:03 SwiftVersion: 6.0 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: QueryGenerationApiTypes.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class QueryGenerationApiTypes : QueryDb, IReturn { public typealias Return = QueryResponse required public init(){ super.init() } required public init(from decoder: Decoder) throws { try super.init(from: decoder) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) } } public class GenerationApiType : ApiTypeBase { required public init(){ super.init() } required public init(from decoder: Decoder) throws { try super.init(from: decoder) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) } } public enum AiServiceProvider : String, Codable { case Replicate case Comfy case OpenAi } public class ApiTypeBase : Codable { public var id:Int? public var apiBaseUrl:String? public var apiKeyHeader:String? public var name:String? public var website:String? public var icon:String? public var apiModels:[String:String] = [:] public var provider:AiServiceProvider? required public init(){} }