(* Options: Date: 2025-01-08 03:13:00 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: QueryApiProviders.* //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 ApiProviderModel() = member val Model:String = null with get,set member val ApiModel:String = null with get,set type AiProvider = | OpenAiProvider = 0 | GoogleAiProvider = 1 [] type ApiType() = member val Id:Int32 = new Int32() with get,set member val Provider:AiProvider = new AiProvider() with get,set member val Name:String = null with get,set member val Website:String = null with get,set member val ApiBaseUrl:String = null with get,set member val HeartbeatUrl:String = null with get,set member val Icon:String = null with get,set member val ApiModels:Dictionary = null with get,set [] type ApiProvider() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val ApiBaseUrl:String = null with get,set member val ApiTypeId:Int32 = new Int32() 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 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 member val Models:ResizeArray = null with get,set member val ApiType:ApiType = null with get,set [] member val SelectedModels:ResizeArray = null with get,set [] type QueryApiProviders() = inherit QueryDb() interface IReturn> member val Name:String = null with get,set