/* Options: Date: 2025-01-08 03:19:40 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: QueryApiTypes.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class QueryApiTypes : 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 ApiType : Codable { public var id:Int? public var provider:AiProvider? public var name:String? public var website:String? public var apiBaseUrl:String? public var heartbeatUrl:String? public var icon:String? public var apiModels:[String:String] = [:] required public init(){} } public enum AiProvider : String, Codable { case OpenAiProvider case GoogleAiProvider }