/* Options: Date: 2025-01-08 03:12:58 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryApiProviders.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* open class QueryApiProviders : QueryDb(), IReturn> { open var name:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryApiProviders.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) open var offset:Int? = null @DataMember(Order=2) open var total:Int? = null @DataMember(Order=3) open var results:ArrayList? = null @DataMember(Order=4) open var meta:HashMap? = null @DataMember(Order=5) open var responseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } open class ApiProvider { open var id:Int? = null open var name:String? = null open var apiBaseUrl:String? = null open var apiTypeId:Int? = null open var apiKeyVar:String? = null open var apiKey:String? = null open var apiKeyHeader:String? = null open var heartbeatUrl:String? = null open var concurrency:Int? = null open var priority:Int? = null open var enabled:Boolean? = null open var offlineDate:Date? = null open var createdDate:Date? = null open var models:ArrayList = ArrayList() open var apiType:ApiType? = null @Ignore() open var selectedModels:ArrayList = ArrayList() } open class ApiType { open var id:Int? = null open var provider:AiProvider? = null open var name:String? = null open var website:String? = null open var apiBaseUrl:String? = null open var heartbeatUrl:String? = null open var icon:String? = null open var apiModels:HashMap = HashMap() } open class ApiProviderModel { open var model:String? = null open var apiModel:String? = null } @DataContract open class QueryBase { @DataMember(Order=1) open var skip:Int? = null @DataMember(Order=2) open var take:Int? = null @DataMember(Order=3) open var orderBy:String? = null @DataMember(Order=4) open var orderByDesc:String? = null @DataMember(Order=5) open var include:String? = null @DataMember(Order=6) open var fields:String? = null @DataMember(Order=7) open var meta:HashMap? = null } enum class AiProvider { OpenAiProvider, GoogleAiProvider, }