(* Options: Date: 2025-01-08 03:04:13 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: QueryGenerationApiProviders.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace AiServer.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type ApiProviderBase() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val ApiKeyVar:String = null with get,set member val ApiKey:String = null with get,set member val ApiKeyHeader:String = null with get,set member val ApiBaseUrl:String = null with get,set member val HeartbeatUrl:String = null with get,set member val Concurrency:Int32 = new Int32() with get,set member val Priority:Int32 = new Int32() with get,set member val Enabled:Boolean = new Boolean() with get,set member val OfflineDate:Nullable = new Nullable() with get,set member val CreatedDate:DateTime = new DateTime() with get,set [] type AiProviderBase() = inherit ApiProviderBase() member val Models:ResizeArray = null with get,set type AiServiceProvider = | Replicate = 0 | Comfy = 1 | OpenAi = 2 [] type ApiTypeBase() = member val Id:Int32 = new Int32() with get,set member val ApiBaseUrl:String = null with get,set member val ApiKeyHeader:String = null with get,set member val Name:String = null with get,set member val Website:String = null with get,set member val Icon:String = null with get,set member val ApiModels:Dictionary = null with get,set member val Provider:AiServiceProvider = new AiServiceProvider() with get,set [] type GenerationApiType() = inherit ApiTypeBase() [] type GenerationApiProvider() = inherit AiProviderBase() [)>] member val GenerationApiTypeId:Int32 = new Int32() with get,set member val Type:GenerationApiType = null with get,set [] type QueryGenerationApiProviders() = inherit QueryDb() interface IReturn> member val Id:Nullable = new Nullable() with get,set member val Name:String = null with get,set