/* Options: Date: 2026-08-12 21:55:54 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //IncludeTypes: //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.*,java.io.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* import java.io.* open class QueryItems : QueryDb_2(), IReturn> { companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryItems.responseType } @Route(Path="/channels/{Channel}/raw") open class PostRawToChannel : IReturnVoid { open var from:String? = null open var toUserId:String? = null open var channel:String? = null open var message:String? = null open var selector:String? = null } @Route(Path="/channels/{Channel}/chat") open class PostChatToChannel : IReturn { open var from:String? = null open var toUserId:String? = null open var channel:String? = null open var message:String? = null open var selector:String? = null companion object { private val responseType = ChatMessage::class.java } override fun getResponseType(): Any? = PostChatToChannel.responseType } @Route(Path="/chathistory") open class GetChatHistory : IReturn { open var channels:ArrayList? = null open var afterId:Long? = null open var take:Int? = null companion object { private val responseType = GetChatHistoryResponse::class.java } override fun getResponseType(): Any? = GetChatHistory.responseType } @Route(Path="/reset") open class ClearChatHistory : IReturnVoid { } @Route(Path="/reset-serverevents") open class ResetServerEvents : IReturnVoid { } @Route(Path="/channels/{Channel}/object") open class PostObjectToChannel : IReturnVoid { open var toUserId:String? = null open var channel:String? = null open var selector:String? = null open var customType:CustomType? = null open var setterType:SetterType? = null } @Route(Path="/account") open class GetUserDetails : IReturn { companion object { private val responseType = GetUserDetailsResponse::class.java } override fun getResponseType(): Any? = GetUserDetails.responseType } open class CustomHttpError : IReturn { open var statusCode:Int? = null open var statusDescription:String? = null companion object { private val responseType = CustomHttpErrorResponse::class.java } override fun getResponseType(): Any? = CustomHttpError.responseType } open class AltQueryItems : IReturn> { open var name:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = AltQueryItems.responseType } open class GetItems : IReturn { companion object { private val responseType = Items::class.java } override fun getResponseType(): Any? = GetItems.responseType } open class GetNakedItems : IReturn> { companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetNakedItems.responseType } @ValidateRequest(Validator="IsAuthenticated") open class DeclarativeValidationAuth { open var name:String? = null } open class DeclarativeCollectiveValidationTest : IReturn { @Validate(Validator="NotEmpty") // @Validate(Validator="MaximumLength(20)") open var site:String? = null open var declarativeValidations:ArrayList = ArrayList() open var fluentValidations:ArrayList = ArrayList() companion object { private val responseType = EmptyResponse::class.java } override fun getResponseType(): Any? = DeclarativeCollectiveValidationTest.responseType } open class DeclarativeSingleValidationTest : IReturn { @Validate(Validator="NotEmpty") // @Validate(Validator="MaximumLength(20)") open var site:String? = null open var declarativeSingleValidation:DeclarativeSingleValidation? = null open var fluentSingleValidation:FluentSingleValidation? = null companion object { private val responseType = EmptyResponse::class.java } override fun getResponseType(): Any? = DeclarativeSingleValidationTest.responseType } open class DummyTypes { open var helloResponses:ArrayList? = null open var listResult:ArrayList? = null open var arrayResult:ArrayList? = null open var cancelRequest:CancelRequest? = null open var cancelRequestResponse:CancelRequestResponse? = null open var updateEventSubscriber:UpdateEventSubscriber? = null open var updateEventSubscriberResponse:UpdateEventSubscriberResponse? = null open var getApiKeys:GetApiKeys? = null open var getApiKeysResponse:GetApiKeysResponse? = null open var regenerateApiKeys:RegenerateApiKeys? = null open var regenerateApiKeysResponse:RegenerateApiKeysResponse? = null open var userApiKey:UserApiKey? = null open var convertSessionToToken:ConvertSessionToToken? = null open var convertSessionToTokenResponse:ConvertSessionToTokenResponse? = null open var getAccessToken:GetAccessToken? = null open var getAccessTokenResponse:GetAccessTokenResponse? = null open var navItem:NavItem? = null open var getNavItems:GetNavItems? = null open var getNavItemsResponse:GetNavItemsResponse? = null open var emptyResponse:EmptyResponse? = null open var idResponse:IdResponse? = null open var stringResponse:StringResponse? = null open var stringsResponse:StringsResponse? = null open var auditBase:AuditBase? = null } @Route(Path="/throwhttperror/{Status}") open class ThrowHttpError { open var status:Int? = null open var message:String? = null } @Route(Path="/throw404") // @Route(Path="/throw404/{Message}") open class Throw404 { open var message:String? = null } @Route(Path="/throwcustom400") // @Route(Path="/throwcustom400/{Message}") open class ThrowCustom400 { open var message:String? = null } @Route(Path="/returncustom400") // @Route(Path="/returncustom400/{Message}") open class ReturnCustom400 : IReturn { open var message:String? = null companion object { private val responseType = ReturnCustom400Response::class.java } override fun getResponseType(): Any? = ReturnCustom400.responseType } @Route(Path="/throw/{Type}") open class ThrowType : IReturn { @SerializedName("type") open var Type:String? = null open var message:String? = null companion object { private val responseType = ThrowTypeResponse::class.java } override fun getResponseType(): Any? = ThrowType.responseType } @Route(Path="/throwvalidation") open class ThrowValidation : IReturn { open var age:Int? = null open var required:String? = null open var email:String? = null companion object { private val responseType = ThrowValidationResponse::class.java } override fun getResponseType(): Any? = ThrowValidation.responseType } @Route(Path="/throwbusinesserror") open class ThrowBusinessError : IReturn { companion object { private val responseType = ThrowBusinessErrorResponse::class.java } override fun getResponseType(): Any? = ThrowBusinessError.responseType } /** * Convert speech to text */ @Api(Description="Convert speech to text") open class SpeechToText : IReturn, IGeneration { /** * The audio stream containing the speech to be transcribed */ @ApiMember(Description="The audio stream containing the speech to be transcribed") @Required() open var audio:String? = null /** * Optional client-provided identifier for the request */ @ApiMember(Description="Optional client-provided identifier for the request") override var refId:String? = null /** * Tag to identify the request */ @ApiMember(Description="Tag to identify the request") override var tag:String? = null companion object { private val responseType = TextGenerationResponse::class.java } override fun getResponseType(): Any? = SpeechToText.responseType } open class TestFileUploads : IReturn { open var id:Int? = null open var refId:String? = null companion object { private val responseType = TestFileUploadsResponse::class.java } override fun getResponseType(): Any? = TestFileUploads.responseType } open class TestUploadWithDto : IReturn, IPost { @SerializedName("int") open var Int:Int? = null open var nullableId:Int? = null @SerializedName("long") open var Long:Long? = null @SerializedName("double") open var Double:Double? = null open var string:String? = null open var dateTime:Date? = null open var intArray:ArrayList? = null open var intList:ArrayList? = null open var stringArray:ArrayList? = null open var stringList:ArrayList? = null open var pocoArray:ArrayList? = null open var pocoList:ArrayList? = null open var nullableByteArray:ArrayList? = null open var nullableByteList:ArrayList? = null open var nullableDateTimeArray:ArrayList? = null open var nullableDateTimeList:ArrayList? = null open var pocoLookup:HashMap>? = null open var pocoLookupMap:HashMap>>? = null open var mapList:HashMap>? = null companion object { private val responseType = TestUploadWithDto::class.java } override fun getResponseType(): Any? = TestUploadWithDto.responseType } open class RootPathRoutes { open var path:String? = null } open class GetAccount : IReturn { open var account:String? = null companion object { private val responseType = Account::class.java } override fun getResponseType(): Any? = GetAccount.responseType } open class GetProject : IReturn { open var account:String? = null open var project:String? = null companion object { private val responseType = Project::class.java } override fun getResponseType(): Any? = GetProject.responseType } @Route(Path="/image-stream") open class ImageAsStream : IReturn { open var format:String? = null companion object { private val responseType = InputStream::class.java } override fun getResponseType(): Any? = ImageAsStream.responseType } @Route(Path="/image-bytes") open class ImageAsBytes : IReturn { open var format:String? = null companion object { private val responseType = ByteArray::class.java } override fun getResponseType(): Any? = ImageAsBytes.responseType } @Route(Path="/image-custom") open class ImageAsCustomResult : IReturn { open var format:String? = null companion object { private val responseType = ByteArray::class.java } override fun getResponseType(): Any? = ImageAsCustomResult.responseType } @Route(Path="/image-response") open class ImageWriteToResponse : IReturn { open var format:String? = null companion object { private val responseType = ByteArray::class.java } override fun getResponseType(): Any? = ImageWriteToResponse.responseType } @Route(Path="/image-file") open class ImageAsFile : IReturn { open var format:String? = null companion object { private val responseType = ByteArray::class.java } override fun getResponseType(): Any? = ImageAsFile.responseType } @Route(Path="/image-redirect") open class ImageAsRedirect { open var format:String? = null } @Route(Path="/hello-image/{Name}") open class HelloImage : IReturn { open var name:String? = null open var format:String? = null open var width:Int? = null open var height:Int? = null open var fontSize:Int? = null open var fontFamily:String? = null open var foreground:String? = null open var background:String? = null companion object { private val responseType = ByteArray::class.java } override fun getResponseType(): Any? = HelloImage.responseType } @Route(Path="/secured") @ValidateRequest(Validator="IsAuthenticated") open class Secured : IReturn { open var name:String? = null companion object { private val responseType = SecuredResponse::class.java } override fun getResponseType(): Any? = Secured.responseType } @Route(Path="/jwt") open class CreateJwt : AuthUserSession(), IReturn { open var jwtExpiry:Date? = null companion object { private val responseType = CreateJwtResponse::class.java } override fun getResponseType(): Any? = CreateJwt.responseType } @Route(Path="/jwt-refresh") open class CreateRefreshJwt : IReturn { open var userAuthId:String? = null open var jwtExpiry:Date? = null companion object { private val responseType = CreateRefreshJwtResponse::class.java } override fun getResponseType(): Any? = CreateRefreshJwt.responseType } @Route(Path="/jwt-invalidate") open class InvalidateLastAccessToken : IReturn { companion object { private val responseType = EmptyResponse::class.java } override fun getResponseType(): Any? = InvalidateLastAccessToken.responseType } @Route(Path="/logs") open class ViewLogs : IReturn { open var clear:Boolean? = null companion object { private val responseType = String::class.java } override fun getResponseType(): Any? = ViewLogs.responseType } @Route(Path="/metadatatest") open class MetadataTest : IReturn { open var id:Int? = null companion object { private val responseType = MetadataTestResponse::class.java } override fun getResponseType(): Any? = MetadataTest.responseType } @Route(Path="/metadatatest-array") open class MetadataTestArray : IReturn> { open var id:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = MetadataTestArray.responseType } @Route(Path="/example", Verbs="GET") @DataContract open class GetExample : IReturn { companion object { private val responseType = GetExampleResponse::class.java } override fun getResponseType(): Any? = GetExample.responseType } @Route(Path="/messages/{Id}", Verbs="GET") open class RequestMessage : IReturn { open var id:Int? = null companion object { private val responseType = Message::class.java } override fun getResponseType(): Any? = RequestMessage.responseType } @Route(Path="/messages/{Id}", Verbs="PUT") open class Message : IReturn { open var id:Int? = null open var name:String? = null companion object { private val responseType = Message::class.java } override fun getResponseType(): Any? = Message.responseType } @Route(Path="/randomids") open class GetRandomIds : IReturn { open var take:Int? = null companion object { private val responseType = GetRandomIdsResponse::class.java } override fun getResponseType(): Any? = GetRandomIds.responseType } @Route(Path="/textfile-test") open class TextFileTest { open var asAttachment:Boolean? = null } @Route(Path="/return/text") open class ReturnText { open var text:String? = null } @Route(Path="/return/html") open class ReturnHtml { open var text:String? = null } @Route(Path="/hello") // @Route(Path="/hello/{Name}") open class Hello : IReturn { @Required() open var name:String? = null open var title:String? = null companion object { private val responseType = HelloResponse::class.java } override fun getResponseType(): Any? = Hello.responseType } @Route(Path="/hello-secure/{Name}") @ValidateRequest(Validator="IsAuthenticated") open class HelloSecure : IReturn { open var name:String? = null companion object { private val responseType = HelloResponse::class.java } override fun getResponseType(): Any? = HelloSecure.responseType } open class HelloWithNestedClass : IReturn { open var name:String? = null open var nestedClassProp:NestedClass? = null companion object { private val responseType = HelloResponse::class.java } override fun getResponseType(): Any? = HelloWithNestedClass.responseType } open class HelloList : IReturn> { open var names:ArrayList = ArrayList() companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = HelloList.responseType } open class HelloArray : IReturn> { open var names:ArrayList = ArrayList() companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = HelloArray.responseType } open class HelloMap : IReturn> { open var names:ArrayList = ArrayList() companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = HelloMap.responseType } open class HelloQueryResponse : IReturn> { open var names:ArrayList = ArrayList() companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = HelloQueryResponse.responseType } open class HelloWithEnum { open var enumProp:EnumType? = null open var enumTypeFlags:EnumTypeFlags? = null open var enumWithValues:EnumWithValues? = null open var nullableEnumProp:EnumType? = null open var enumFlags:EnumFlags? = null open var enumAsInt:EnumAsInt? = null open var enumStyle:EnumStyle? = null open var enumStyleMembers:EnumStyleMembers? = null } open class HelloWithEnumList { open var enumProp:ArrayList = ArrayList() open var enumWithValues:ArrayList = ArrayList() open var nullableEnumProp:ArrayList = ArrayList() open var enumFlags:ArrayList = ArrayList() open var enumStyle:ArrayList = ArrayList() } open class HelloWithEnumMap { open var enumProp:HashMap = HashMap() open var enumWithValues:HashMap = HashMap() open var nullableEnumProp:HashMap = HashMap() open var enumFlags:HashMap = HashMap() open var enumStyle:HashMap = HashMap() } open class HelloExternal { open var name:String? = null } /** * AllowedAttributes Description */ @Route(Path="/allowed-attributes", Verbs="GET") @Api(Description="AllowedAttributes Description") @ApiResponse(Description="Your request was not understood", StatusCode=400) @DataContract open class AllowedAttributes { /** * Range Description */ @DataMember(Name="Aliased") @SerializedName("Aliased") @ApiMember(DataType="double", Description="Range Description", IsRequired=true, ParameterType="path") open var range:Double? = null } @Route(Path="/all-types") open class HelloAllTypes : IReturn { open var name:String? = null open var allTypes:AllTypes? = null open var allCollectionTypes:AllCollectionTypes? = null companion object { private val responseType = HelloAllTypesResponse::class.java } override fun getResponseType(): Any? = HelloAllTypes.responseType } open class HelloSubAllTypes : AllTypesBase(), IReturn { open var hierarchy:Int? = null companion object { private val responseType = SubAllTypes::class.java } override fun getResponseType(): Any? = HelloSubAllTypes.responseType } open class AllTypes : IReturn { open var id:Int? = null open var nullableId:Int? = null @SerializedName("byte") open var Byte:Short? = null @SerializedName("short") open var Short:Short? = null @SerializedName("int") open var Int:Int? = null @SerializedName("long") open var Long:Long? = null open var uShort:Int? = null open var uInt:Long? = null open var uLong:BigInteger? = null @SerializedName("float") open var Float:Float? = null @SerializedName("double") open var Double:Double? = null open var decimal:BigDecimal? = null open var string:String? = null open var dateTime:Date? = null open var timeSpan:TimeSpan? = null open var dateTimeOffset:Date? = null open var guid:UUID? = null @SerializedName("char") open var Char:String? = null open var keyValuePair:KeyValuePair? = null open var nullableDateTime:Date? = null open var nullableTimeSpan:TimeSpan? = null open var stringList:ArrayList = ArrayList() open var stringArray:ArrayList = ArrayList() open var stringMap:HashMap = HashMap() open var intStringMap:HashMap = HashMap() open var subType:SubType? = null companion object { private val responseType = AllTypes::class.java } override fun getResponseType(): Any? = AllTypes.responseType } open class AllCollectionTypes : IReturn { open var intArray:ArrayList = ArrayList() open var intList:ArrayList = ArrayList() open var stringArray:ArrayList = ArrayList() open var stringList:ArrayList = ArrayList() open var floatArray:ArrayList = ArrayList() open var doubleList:ArrayList = ArrayList() open var byteArray:ByteArray = ByteArray(0) open var charArray:ArrayList = ArrayList() open var decimalList:ArrayList = ArrayList() open var pocoArray:ArrayList = ArrayList() open var pocoList:ArrayList = ArrayList() open var pocoLookup:HashMap> = HashMap>() open var pocoLookupMap:HashMap>> = HashMap>>() companion object { private val responseType = AllCollectionTypes::class.java } override fun getResponseType(): Any? = AllCollectionTypes.responseType } open class HelloString : IReturn { open var name:String? = null companion object { private val responseType = String::class.java } override fun getResponseType(): Any? = HelloString.responseType } open class HelloDateTime : IReturn { open var dateTime:Date? = null companion object { private val responseType = HelloDateTime::class.java } override fun getResponseType(): Any? = HelloDateTime.responseType } open class HelloVoid { open var name:String? = null } @DataContract open class HelloWithDataContract : IReturn { @DataMember(Name="name", Order=1, IsRequired=true, EmitDefaultValue=false) @SerializedName("name") open var name:String? = null @DataMember(Name="id", Order=2, EmitDefaultValue=false) @SerializedName("id") open var id:Int? = null companion object { private val responseType = HelloWithDataContractResponse::class.java } override fun getResponseType(): Any? = HelloWithDataContract.responseType } /** * Description on HelloWithDescription type */ open class HelloWithDescription : IReturn { open var name:String? = null companion object { private val responseType = HelloWithDescriptionResponse::class.java } override fun getResponseType(): Any? = HelloWithDescription.responseType } open class HelloWithInheritance : HelloBase(), IReturn { open var name:String? = null companion object { private val responseType = HelloWithInheritanceResponse::class.java } override fun getResponseType(): Any? = HelloWithInheritance.responseType } open class HelloWithGenericInheritance : HelloBase_1() { open var result:String? = null } open class HelloWithGenericInheritance2 : HelloBase_1() { open var result:String? = null } open class HelloWithReturn : IReturn { open var name:String? = null companion object { private val responseType = HelloWithAlternateReturnResponse::class.java } override fun getResponseType(): Any? = HelloWithReturn.responseType } @Route(Path="/helloroute") open class HelloWithRoute : IReturn { open var name:String? = null companion object { private val responseType = HelloWithRouteResponse::class.java } override fun getResponseType(): Any? = HelloWithRoute.responseType } open class HelloWithType : IReturn { open var name:String? = null companion object { private val responseType = HelloWithTypeResponse::class.java } override fun getResponseType(): Any? = HelloWithType.responseType } open class HelloInterface { open var poco:IPoco? = null open var emptyInterface:IEmptyInterface? = null open var emptyClass:EmptyClass? = null } open class HelloInnerTypes : IReturn { companion object { private val responseType = HelloInnerTypesResponse::class.java } override fun getResponseType(): Any? = HelloInnerTypes.responseType } open class HelloBuiltin { open var dayOfWeek:DayOfWeek? = null } open class HelloGet : IReturn, IGet { open var id:Int? = null companion object { private val responseType = HelloVerbResponse::class.java } override fun getResponseType(): Any? = HelloGet.responseType } open class HelloPost : HelloBase(), IReturn, IPost { companion object { private val responseType = HelloVerbResponse::class.java } override fun getResponseType(): Any? = HelloPost.responseType } open class HelloPut : IReturn, IPut { open var id:Int? = null companion object { private val responseType = HelloVerbResponse::class.java } override fun getResponseType(): Any? = HelloPut.responseType } open class HelloDelete : IReturn, IDelete { open var id:Int? = null companion object { private val responseType = HelloVerbResponse::class.java } override fun getResponseType(): Any? = HelloDelete.responseType } open class HelloPatch : IReturn, IPatch { open var id:Int? = null companion object { private val responseType = HelloVerbResponse::class.java } override fun getResponseType(): Any? = HelloPatch.responseType } open class HelloReturnVoid : IReturnVoid { open var id:Int? = null } open class EnumRequest : IReturn, IPut { @SerializedName("operator") open var Operator:ScopeType? = null companion object { private val responseType = EnumResponse::class.java } override fun getResponseType(): Any? = EnumRequest.responseType } @Route(Path="/hellotypes/{Name}") open class HelloTypes : IReturn { open var string:String? = null open var bool:Boolean? = null @SerializedName("int") open var Int:Int? = null companion object { private val responseType = HelloTypes::class.java } override fun getResponseType(): Any? = HelloTypes.responseType } @Route(Path="/hellozip") @DataContract open class HelloZip : IReturn { @DataMember open var name:String? = null @DataMember open var test:ArrayList = ArrayList() companion object { private val responseType = HelloZipResponse::class.java } override fun getResponseType(): Any? = HelloZip.responseType } @Route(Path="/ping") open class Ping : IReturn { companion object { private val responseType = PingResponse::class.java } override fun getResponseType(): Any? = Ping.responseType } @Route(Path="/reset-connections") open class ResetConnections { } @Route(Path="/requires-role") open class RequiresRole : IReturn { companion object { private val responseType = RequiresRoleResponse::class.java } override fun getResponseType(): Any? = RequiresRole.responseType } @Route(Path="/return/string") open class ReturnString : IReturn { @SerializedName("data") open var Data:String? = null companion object { private val responseType = String::class.java } override fun getResponseType(): Any? = ReturnString.responseType } @Route(Path="/return/bytes") open class ReturnBytes : IReturn { @SerializedName("data") open var Data:ByteArray = ByteArray(0) companion object { private val responseType = ByteArray::class.java } override fun getResponseType(): Any? = ReturnBytes.responseType } @Route(Path="/return/stream") open class ReturnStream : IReturn { @SerializedName("data") open var Data:ByteArray = ByteArray(0) companion object { private val responseType = InputStream::class.java } override fun getResponseType(): Any? = ReturnStream.responseType } @Route(Path="/return/json") open class ReturnJson { } @Route(Path="/return/json/header") open class ReturnJsonHeader { } @Route(Path="/write/json") open class WriteJson { } @Route(Path="/Request1", Verbs="GET") open class GetRequest1 : IReturn>, IGet { companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetRequest1.responseType } @Route(Path="/Request2", Verbs="GET") open class GetRequest2 : IReturn>, IGet { companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetRequest2.responseType } @Route(Path="/sendjson") open class SendJson : IReturn { open var id:Int? = null open var name:String? = null open var requestStream:InputStream? = null companion object { private val responseType = String::class.java } override fun getResponseType(): Any? = SendJson.responseType } @Route(Path="/sendtext") open class SendText : IReturn { open var id:Int? = null open var name:String? = null open var contentType:String? = null open var requestStream:InputStream? = null companion object { private val responseType = String::class.java } override fun getResponseType(): Any? = SendText.responseType } @Route(Path="/sendraw") open class SendRaw : IReturn { open var id:Int? = null open var name:String? = null open var contentType:String? = null open var requestStream:InputStream? = null companion object { private val responseType = ByteArray::class.java } override fun getResponseType(): Any? = SendRaw.responseType } open class SendDefault : IReturn { open var id:Int? = null companion object { private val responseType = SendVerbResponse::class.java } override fun getResponseType(): Any? = SendDefault.responseType } @Route(Path="/sendrestget/{Id}", Verbs="GET") open class SendRestGet : IReturn, IGet { open var id:Int? = null companion object { private val responseType = SendVerbResponse::class.java } override fun getResponseType(): Any? = SendRestGet.responseType } open class SendGet : IReturn, IGet { open var id:Int? = null companion object { private val responseType = SendVerbResponse::class.java } override fun getResponseType(): Any? = SendGet.responseType } open class SendPost : IReturn, IPost { open var id:Int? = null companion object { private val responseType = SendVerbResponse::class.java } override fun getResponseType(): Any? = SendPost.responseType } open class SendPut : IReturn, IPut { open var id:Int? = null companion object { private val responseType = SendVerbResponse::class.java } override fun getResponseType(): Any? = SendPut.responseType } open class SendReturnVoid : IReturnVoid { open var id:Int? = null } @Route(Path="/session") open class GetSession : IReturn { companion object { private val responseType = GetSessionResponse::class.java } override fun getResponseType(): Any? = GetSession.responseType } @Route(Path="/session/edit/{CustomName}") open class UpdateSession : IReturn { open var customName:String? = null companion object { private val responseType = GetSessionResponse::class.java } override fun getResponseType(): Any? = UpdateSession.responseType } @Route(Path="/Stuff") @DataContract(Namespace="http://schemas.servicestack.net/types") open class GetStuff : IReturn { @DataMember @ApiMember(DataType="DateTime", Name="Summary Date") open var summaryDate:Date? = null @DataMember @ApiMember(DataType="DateTime", Name="Summary End Date") open var summaryEndDate:Date? = null @DataMember @ApiMember(DataType="string", Name="Symbol") open var symbol:String? = null @DataMember @ApiMember(DataType="string", Name="Email") open var email:String? = null @DataMember @ApiMember(DataType="bool", Name="Is Enabled") open var isEnabled:Boolean? = null companion object { private val responseType = GetStuffResponse::class.java } override fun getResponseType(): Any? = GetStuff.responseType } open class StoreLogs : IReturn { open var loggers:ArrayList = ArrayList() companion object { private val responseType = StoreLogsResponse::class.java } override fun getResponseType(): Any? = StoreLogs.responseType } open class HelloAuth : IReturn { open var name:String? = null companion object { private val responseType = HelloResponse::class.java } override fun getResponseType(): Any? = HelloAuth.responseType } @Route(Path="/testauth") open class TestAuth : IReturn { companion object { private val responseType = TestAuthResponse::class.java } override fun getResponseType(): Any? = TestAuth.responseType } open class RequiresAdmin : IReturn { open var id:Int? = null companion object { private val responseType = RequiresAdmin::class.java } override fun getResponseType(): Any? = RequiresAdmin.responseType } @Route(Path="/testdata/AllTypes") open class TestDataAllTypes : IReturn { companion object { private val responseType = AllTypes::class.java } override fun getResponseType(): Any? = TestDataAllTypes.responseType } @Route(Path="/testdata/AllCollectionTypes") open class TestDataAllCollectionTypes : IReturn { companion object { private val responseType = AllCollectionTypes::class.java } override fun getResponseType(): Any? = TestDataAllCollectionTypes.responseType } @Route(Path="/custom") // @Route(Path="/custom/{Data}") open class CustomRoute : IReturn { @SerializedName("data") open var Data:String? = null companion object { private val responseType = CustomRoute::class.java } override fun getResponseType(): Any? = CustomRoute.responseType } @Route(Path="/void-response") open class TestVoidResponse { } @Route(Path="/null-response") open class TestNullResponse { } @Route(Path="/wait/{ForMs}") open class Wait : IReturn { open var forMs:Int? = null companion object { private val responseType = Wait::class.java } override fun getResponseType(): Any? = Wait.responseType } @Route(Path="/echo/types") open class EchoTypes : IReturn { @SerializedName("byte") open var Byte:Short? = null @SerializedName("short") open var Short:Short? = null @SerializedName("int") open var Int:Int? = null @SerializedName("long") open var Long:Long? = null open var uShort:Int? = null open var uInt:Long? = null open var uLong:BigInteger? = null @SerializedName("float") open var Float:Float? = null @SerializedName("double") open var Double:Double? = null open var decimal:BigDecimal? = null open var string:String? = null open var dateTime:Date? = null open var timeSpan:TimeSpan? = null open var dateTimeOffset:Date? = null open var guid:UUID? = null @SerializedName("char") open var Char:String? = null companion object { private val responseType = EchoTypes::class.java } override fun getResponseType(): Any? = EchoTypes.responseType } @Route(Path="/echo/collections") open class EchoCollections : IReturn { open var stringList:ArrayList? = null open var stringArray:ArrayList? = null open var stringMap:HashMap? = null open var intStringMap:HashMap? = null companion object { private val responseType = EchoCollections::class.java } override fun getResponseType(): Any? = EchoCollections.responseType } @Route(Path="/echo/complex") open class EchoComplexTypes : IReturn { open var subType:SubType? = null open var subTypes:ArrayList? = null open var subTypeMap:HashMap? = null open var stringMap:HashMap? = null open var intStringMap:HashMap? = null companion object { private val responseType = EchoComplexTypes::class.java } override fun getResponseType(): Any? = EchoComplexTypes.responseType } @Route(Path="/rockstars", Verbs="POST") open class StoreRockstars : ArrayList(), IReturn { companion object { private val responseType = StoreRockstars::class.java } override fun getResponseType(): Any? = StoreRockstars.responseType } /** * Sign Up */ @Route(Path="/register", Verbs="PUT,POST") @Api(Description="Sign Up") @DataContract open class Register : IReturn, IPost { @DataMember(Order=1) open var userName:String? = null @DataMember(Order=2) open var firstName:String? = null @DataMember(Order=3) open var lastName:String? = null @DataMember(Order=4) open var displayName:String? = null @DataMember(Order=5) open var email:String? = null @DataMember(Order=6) open var password:String? = null @DataMember(Order=7) open var confirmPassword:String? = null @DataMember(Order=8) open var autoLogin:Boolean? = null @DataMember(Order=10) open var errorView:String? = null @DataMember(Order=11) open var meta:HashMap? = null companion object { private val responseType = RegisterResponse::class.java } override fun getResponseType(): Any? = Register.responseType } /** * Sign In */ @Route(Path="/auth", Verbs="GET,POST") // @Route(Path="/auth/{provider}", Verbs="GET,POST") @Api(Description="Sign In") @DataContract open class Authenticate : IReturn, IPost { /** * AuthProvider, e.g. credentials */ @DataMember(Order=1) open var provider:String? = null @DataMember(Order=2) open var userName:String? = null @DataMember(Order=3) open var password:String? = null @DataMember(Order=4) open var rememberMe:Boolean? = null @DataMember(Order=5) open var accessToken:String? = null @DataMember(Order=6) open var accessTokenSecret:String? = null @DataMember(Order=7) open var returnUrl:String? = null @DataMember(Order=8) open var errorView:String? = null @DataMember(Order=9) open var meta:HashMap? = null companion object { private val responseType = AuthenticateResponse::class.java } override fun getResponseType(): Any? = Authenticate.responseType } @Route(Path="/assignroles", Verbs="POST") @DataContract open class AssignRoles : IReturn, IPost { @DataMember(Order=1) open var userName:String? = null @DataMember(Order=2) open var permissions:ArrayList? = null @DataMember(Order=3) open var roles:ArrayList? = null @DataMember(Order=4) open var meta:HashMap? = null companion object { private val responseType = AssignRolesResponse::class.java } override fun getResponseType(): Any? = AssignRoles.responseType } @Route(Path="/unassignroles", Verbs="POST") @DataContract open class UnAssignRoles : IReturn, IPost { @DataMember(Order=1) open var userName:String? = null @DataMember(Order=2) open var permissions:ArrayList? = null @DataMember(Order=3) open var roles:ArrayList? = null @DataMember(Order=4) open var meta:HashMap? = null companion object { private val responseType = UnAssignRolesResponse::class.java } override fun getResponseType(): Any? = UnAssignRoles.responseType } /** * Chat Completions API (OpenAI-Compatible) */ @Route(Path="/v1/chat/completions", Verbs="POST") @DataContract open class ChatCompletion : IReturn, IPost { /** * The messages to generate chat completions for. */ @DataMember(Name="messages") @SerializedName("messages") open var messages:ArrayList = ArrayList() /** * ID of the model to use. See the model endpoint compatibility table for details on which models work with the Chat API */ @DataMember(Name="model") @SerializedName("model") open var model:String? = null /** * Parameters for audio output. Required when audio output is requested with modalities: [audio] */ @DataMember(Name="audio") @SerializedName("audio") open var audio:AiChatAudio? = null /** * Modify the likelihood of specified tokens appearing in the completion. */ @DataMember(Name="logit_bias") @SerializedName("logit_bias") open var logitBias:HashMap? = null /** * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. */ @DataMember(Name="metadata") @SerializedName("metadata") open var metadata:HashMap? = null /** * Constrains effort on reasoning for reasoning models. Currently supported values are minimal, low, medium, and high (none, default). Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response. */ @DataMember(Name="reasoning_effort") @SerializedName("reasoning_effort") open var reasoningEffort:String? = null /** * An object specifying the format that the model must output. Compatible with GPT-4 Turbo and all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`. Setting Type to ResponseFormat.JsonObject enables JSON mode, which guarantees the message the model generates is valid JSON. */ @DataMember(Name="response_format") @SerializedName("response_format") open var responseFormat:AiResponseFormat? = null /** * Specifies the processing type used for serving the request. */ @DataMember(Name="service_tier") @SerializedName("service_tier") open var serviceTier:String? = null /** * A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies. The IDs should be a string that uniquely identifies each user. */ @DataMember(Name="safety_identifier") @SerializedName("safety_identifier") open var safetyIdentifier:String? = null /** * Up to 4 sequences where the API will stop generating further tokens. */ @DataMember(Name="stop") @SerializedName("stop") open var stop:ArrayList? = null /** * Output types that you would like the model to generate. Most models are capable of generating text, which is the default: */ @DataMember(Name="modalities") @SerializedName("modalities") open var modalities:ArrayList? = null /** * Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. */ @DataMember(Name="prompt_cache_key") @SerializedName("prompt_cache_key") open var promptCacheKey:String? = null /** * A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for. A max of 128 functions are supported. */ @DataMember(Name="tools") @SerializedName("tools") open var tools:ArrayList? = null /** * Constrains the verbosity of the model's response. Lower values will result in more concise responses, while higher values will result in more verbose responses. Currently supported values are low, medium, and high. */ @DataMember(Name="verbosity") @SerializedName("verbosity") open var verbosity:String? = null /** * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. */ @DataMember(Name="temperature") @SerializedName("temperature") open var temperature:Double? = null /** * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens. */ @DataMember(Name="max_completion_tokens") @SerializedName("max_completion_tokens") open var maxCompletionTokens:Int? = null /** * An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used. */ @DataMember(Name="top_logprobs") @SerializedName("top_logprobs") open var topLogprobs:Int? = null /** * An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. */ @DataMember(Name="top_p") @SerializedName("top_p") open var topP:Double? = null /** * Number between `-2.0` and `2.0`. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. */ @DataMember(Name="frequency_penalty") @SerializedName("frequency_penalty") open var frequencyPenalty:Double? = null /** * Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. */ @DataMember(Name="presence_penalty") @SerializedName("presence_penalty") open var presencePenalty:Double? = null /** * This feature is in Beta. If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed, and you should refer to the system_fingerprint response parameter to monitor changes in the backend. */ @DataMember(Name="seed") @SerializedName("seed") open var seed:Int? = null /** * How many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep `n` as `1` to minimize costs. */ @DataMember(Name="n") @SerializedName("n") open var n:Int? = null /** * Whether or not to store the output of this chat completion request for use in our model distillation or evals products. */ @DataMember(Name="store") @SerializedName("store") open var store:Boolean? = null /** * Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message. */ @DataMember(Name="logprobs") @SerializedName("logprobs") open var logprobs:Boolean? = null /** * Whether to enable parallel function calling during tool use. */ @DataMember(Name="parallel_tool_calls") @SerializedName("parallel_tool_calls") open var parallelToolCalls:Boolean? = null /** * Whether to enable thinking mode for some Qwen models and providers. */ @DataMember(Name="enable_thinking") @SerializedName("enable_thinking") open var enableThinking:Boolean? = null /** * If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a `data: [DONE]` message. */ @DataMember(Name="stream") @SerializedName("stream") open var stream:Boolean? = null companion object { private val responseType = ChatResponse::class.java } override fun getResponseType(): Any? = ChatCompletion.responseType } /** * Find Bookings */ @Route(Path="/bookings", Verbs="GET") // @Route(Path="/bookings/{Id}", Verbs="GET") open class QueryBookings : QueryDb_1(), IReturn> { open var id:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryBookings.responseType } /** * Find Coupons */ @Route(Path="/coupons", Verbs="GET") open class QueryCoupons : QueryDb_1(), IReturn> { open var id:String? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryCoupons.responseType } open class QueryAddresses : QueryDb_1
(), IReturn> { open var ids:ArrayList? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryAddresses.responseType } open class QueryRockstarAudit : QueryDbTenant_2(), IReturn> { open var id:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryRockstarAudit.responseType } open class QueryRockstarAuditSubOr : QueryDb_2(), IReturn> { open var firstNameStartsWith:String? = null open var ageOlderThan:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryRockstarAuditSubOr.responseType } open class QueryPocoBase : QueryDb_1(), IReturn> { open var id:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryPocoBase.responseType } open class QueryPocoIntoBase : QueryDb_2(), IReturn> { open var id:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryPocoIntoBase.responseType } @Route(Path="/message/query/{Id}", Verbs="GET") open class MessageQuery : QueryDb_1(), IReturn> { open var id:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = MessageQuery.responseType } @Route(Path="/rockstars", Verbs="GET") open class QueryRockstars : QueryDb_1(), IReturn> { companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryRockstars.responseType } /** * Create a new Booking */ @Route(Path="/bookings", Verbs="POST") @ValidateRequest(Validator="HasRole(`Employee`)") open class CreateBooking : IReturn, ICreateDb { /** * Name this Booking is for */ @Validate(Validator="NotEmpty") open var name:String? = null open var roomType:RoomType? = null @Validate(Validator="GreaterThan(0)") open var roomNumber:Int? = null @Validate(Validator="GreaterThan(0)") open var cost:BigDecimal? = null @Required() open var bookingStartDate:Date? = null open var bookingEndDate:Date? = null open var notes:String? = null open var couponId:String? = null open var permanentAddressId:Long? = null open var postalAddressId:Long? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = CreateBooking.responseType } /** * Update an existing Booking */ @Route(Path="/booking/{Id}", Verbs="PATCH") @ValidateRequest(Validator="HasRole(`Employee`)") // @ValidateRequest(Validator="HasRole(`Manager`)") open class UpdateBooking : IReturn, IPatchDb { open var id:Int? = null open var name:String? = null open var roomType:RoomType? = null @Validate(Validator="GreaterThan(0)") open var roomNumber:Int? = null @Validate(Validator="GreaterThan(0)") open var cost:BigDecimal? = null open var bookingStartDate:Date? = null open var bookingEndDate:Date? = null open var notes:String? = null open var couponId:String? = null open var cancelled:Boolean? = null open var permanentAddressId:Long? = null open var postalAddressId:Long? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = UpdateBooking.responseType } /** * Delete a Booking */ @Route(Path="/booking/{Id}", Verbs="DELETE") open class DeleteBooking : IReturnVoid, IDeleteDb { open var id:Int? = null } @Route(Path="/coupons", Verbs="POST") @ValidateRequest(Validator="HasRole(`Employee`)") open class CreateCoupon : IReturn, ICreateDb { @Validate(Validator="NotEmpty") open var id:String? = null @Validate(Validator="NotEmpty") open var description:String? = null @Validate(Validator="GreaterThan(0)") open var discount:Int? = null @Validate(Validator="NotNull") open var expiryDate:Date? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = CreateCoupon.responseType } @Route(Path="/coupons/{Id}", Verbs="PATCH") @ValidateRequest(Validator="HasRole(`Employee`)") open class UpdateCoupon : IReturn, IPatchDb { open var id:String? = null @Validate(Validator="NotEmpty") open var description:String? = null @Validate(Validator="NotNull") // @Validate(Validator="GreaterThan(0)") open var discount:Int? = null @Validate(Validator="NotNull") open var expiryDate:Date? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = UpdateCoupon.responseType } /** * Delete a Coupon */ @Route(Path="/coupons/{Id}", Verbs="DELETE") @ValidateRequest(Validator="HasRole(`Manager`)") open class DeleteCoupon : IReturnVoid, IDeleteDb { open var id:String? = null } open class CreateAddress : IReturn, ICreateDb
{ open var addressText:String? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = CreateAddress.responseType } open class UpdateAddress : IReturn, IPatchDb
{ open var id:Int? = null open var addressText:String? = null companion object { private val responseType = IdResponse::class.java } override fun getResponseType(): Any? = UpdateAddress.responseType } open class CreateRockstarAudit : RockstarBase(), IReturn, ICreateDb { companion object { private val responseType = RockstarWithIdResponse::class.java } override fun getResponseType(): Any? = CreateRockstarAudit.responseType } open class CreateRockstarAuditTenant : CreateAuditTenantBase(), IReturn, IHasSessionId { open var sessionId:String? = null open var firstName:String? = null open var lastName:String? = null open var age:Int? = null open var dateOfBirth:Date? = null open var dateDied:Date? = null open var livingStatus:LivingStatus? = null companion object { private val responseType = RockstarWithIdAndResultResponse::class.java } override fun getResponseType(): Any? = CreateRockstarAuditTenant.responseType } open class UpdateRockstarAuditTenant : UpdateAuditTenantBase(), IReturn, IHasSessionId { open var sessionId:String? = null open var id:Int? = null open var firstName:String? = null open var livingStatus:LivingStatus? = null companion object { private val responseType = RockstarWithIdAndResultResponse::class.java } override fun getResponseType(): Any? = UpdateRockstarAuditTenant.responseType } open class PatchRockstarAuditTenant : PatchAuditTenantBase(), IReturn, IHasSessionId { open var sessionId:String? = null open var id:Int? = null open var firstName:String? = null open var livingStatus:LivingStatus? = null companion object { private val responseType = RockstarWithIdAndResultResponse::class.java } override fun getResponseType(): Any? = PatchRockstarAuditTenant.responseType } open class SoftDeleteAuditTenant : SoftDeleteAuditTenantBase(), IReturn { open var id:Int? = null companion object { private val responseType = RockstarWithIdAndResultResponse::class.java } override fun getResponseType(): Any? = SoftDeleteAuditTenant.responseType } open class CreateRockstarAuditMqToken : RockstarBase(), IReturn, ICreateDb, IHasBearerToken { open var bearerToken:String? = null companion object { private val responseType = RockstarWithIdResponse::class.java } override fun getResponseType(): Any? = CreateRockstarAuditMqToken.responseType } open class RealDeleteAuditTenant : IReturn, IDeleteDb, IHasSessionId { open var sessionId:String? = null open var id:Int? = null open var age:Int? = null companion object { private val responseType = RockstarWithIdAndCountResponse::class.java } override fun getResponseType(): Any? = RealDeleteAuditTenant.responseType } open class CreateRockstarVersion : RockstarBase(), IReturn, ICreateDb { companion object { private val responseType = RockstarWithIdAndRowVersionResponse::class.java } override fun getResponseType(): Any? = CreateRockstarVersion.responseType } @Route(Path="/messages/crud/{Id}", Verbs="PUT") open class MessageCrud : IReturnVoid, ISaveDb { open var id:Int? = null open var name:String? = null } @Route(Path="/access-token") @DataContract open class GetAccessToken : IReturn, IPost { @DataMember(Order=1) open var refreshToken:String? = null @DataMember(Order=2) open var meta:HashMap? = null companion object { private val responseType = GetAccessTokenResponse::class.java } override fun getResponseType(): Any? = GetAccessToken.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 = ArrayList() @DataMember(Order=4) open var meta:HashMap? = null @DataMember(Order=5) open var responseStatus:ResponseStatus? = null } open class ChatMessage { open var id:Long? = null open var channel:String? = null open var fromUserId:String? = null open var fromName:String? = null open var displayName:String? = null open var message:String? = null open var userAuthId:String? = null @SerializedName("private") open var Private:Boolean? = null } open class GetChatHistoryResponse { open var results:ArrayList? = null open var responseStatus:ResponseStatus? = null } open class GetUserDetailsResponse { open var provider:String? = null open var userId:String? = null open var userName:String? = null open var fullName:String? = null open var displayName:String? = null open var firstName:String? = null open var lastName:String? = null open var company:String? = null open var email:String? = null open var phoneNumber:String? = null open var birthDate:Date? = null open var birthDateRaw:String? = null open var address:String? = null open var address2:String? = null open var city:String? = null open var state:String? = null open var country:String? = null open var culture:String? = null open var gender:String? = null open var language:String? = null open var mailAddress:String? = null open var nickname:String? = null open var postalCode:String? = null open var timeZone:String? = null } open class CustomHttpErrorResponse { open var custom:String? = null open var responseStatus:ResponseStatus? = null } open class QueryResponseAlt { open var offset:Int? = null open var total:Int? = null open var results:ArrayList = ArrayList() open var meta:HashMap = HashMap() open var responseStatus:ResponseStatus? = null } open class Items { open var results:ArrayList = ArrayList() } @DataContract open class EmptyResponse { @DataMember(Order=1) open var responseStatus:ResponseStatus? = null } open class ReturnCustom400Response { open var responseStatus:ResponseStatus? = null } open class ThrowTypeResponse { open var responseStatus:ResponseStatus? = null } open class ThrowValidationResponse { open var age:Int? = null open var required:String? = null open var email:String? = null open var responseStatus:ResponseStatus? = null } open class ThrowBusinessErrorResponse { open var responseStatus:ResponseStatus? = null } /** * Response object for text generation requests */ @Api(Description="Response object for text generation requests") open class TextGenerationResponse { /** * List of generated text outputs */ @ApiMember(Description="List of generated text outputs") open var results:ArrayList? = null /** * Detailed response status information */ @ApiMember(Description="Detailed response status information") open var responseStatus:ResponseStatus? = null } open class TestFileUploadsResponse { open var id:Int? = null open var refId:String? = null open var files:ArrayList = ArrayList() open var responseStatus:ResponseStatus? = null } open class Account { open var name:String? = null } open class Project { open var account:String? = null open var name:String? = null } open class SecuredResponse { open var result:String? = null open var responseStatus:ResponseStatus? = null } open class CreateJwtResponse { open var token:String? = null open var responseStatus:ResponseStatus? = null } open class CreateRefreshJwtResponse { open var token:String? = null open var responseStatus:ResponseStatus? = null } open class MetadataTestResponse { open var id:Int? = null open var results:ArrayList = ArrayList() } @DataContract open class GetExampleResponse { @DataMember(Order=1) open var responseStatus:ResponseStatus? = null @DataMember(Order=2) @ApiMember() open var menuExample1:MenuExample? = null } open class GetRandomIdsResponse { open var results:ArrayList = ArrayList() } open class HelloResponse { open var result:String? = null } open class HelloAllTypesResponse { open var result:String? = null open var allTypes:AllTypes? = null open var allCollectionTypes:AllCollectionTypes? = null } open class SubAllTypes : AllTypesBase() { open var hierarchy:Int? = null } @DataContract open class HelloWithDataContractResponse { @DataMember(Name="result", Order=1, IsRequired=true, EmitDefaultValue=false) @SerializedName("result") open var result:String? = null } /** * Description on HelloWithDescriptionResponse type */ open class HelloWithDescriptionResponse { open var result:String? = null } open class HelloWithInheritanceResponse : HelloResponseBase() { open var result:String? = null } open class HelloWithAlternateReturnResponse : HelloWithReturnResponse() { open var altResult:String? = null } open class HelloWithRouteResponse { open var result:String? = null } open class HelloWithTypeResponse { open var result:HelloType? = null } open class HelloInnerTypesResponse { open var innerType:InnerType? = null open var innerEnum:InnerEnum? = null } open class HelloVerbResponse { open var result:String? = null } open class EnumResponse { @SerializedName("operator") open var Operator:ScopeType? = null } @DataContract open class HelloZipResponse { @DataMember open var result:String? = null } open class PingResponse { open var responses:HashMap? = null open var responseStatus:ResponseStatus? = null } open class RequiresRoleResponse { open var result:String? = null open var responseStatus:ResponseStatus? = null } open class SendVerbResponse { open var id:Int? = null open var pathInfo:String? = null open var requestMethod:String? = null } open class GetSessionResponse { open var result:CustomUserSession? = null open var unAuthInfo:UnAuthInfo? = null open var responseStatus:ResponseStatus? = null } @DataContract(Namespace="http://schemas.servicestack.net/types") open class GetStuffResponse { @DataMember open var summaryDate:Date? = null @DataMember open var summaryEndDate:Date? = null @DataMember open var symbol:String? = null @DataMember open var email:String? = null @DataMember open var isEnabled:Boolean? = null } open class StoreLogsResponse { open var existingLogs:ArrayList = ArrayList() open var responseStatus:ResponseStatus? = null } open class TestAuthResponse { open var userId:String? = null open var sessionId:String? = null open var userName:String? = null open var displayName:String? = null open var responseStatus:ResponseStatus? = null } @DataContract open class RegisterResponse : IHasSessionId, IHasBearerToken { @DataMember(Order=1) open var userId:String? = null @DataMember(Order=2) open var sessionId:String? = null @DataMember(Order=3) open var userName:String? = null @DataMember(Order=4) open var referrerUrl:String? = null @DataMember(Order=5) open var bearerToken:String? = null @DataMember(Order=6) open var refreshToken:String? = null @DataMember(Order=7) open var refreshTokenExpiry:Date? = null @DataMember(Order=8) open var roles:ArrayList? = null @DataMember(Order=9) open var permissions:ArrayList? = null @DataMember(Order=10) open var redirectUrl:String? = null @DataMember(Order=11) open var responseStatus:ResponseStatus? = null @DataMember(Order=12) open var meta:HashMap? = null } @DataContract open class AuthenticateResponse : IHasSessionId, IHasBearerToken { @DataMember(Order=1) open var userId:String? = null @DataMember(Order=2) open var sessionId:String? = null @DataMember(Order=3) open var userName:String? = null @DataMember(Order=4) open var displayName:String? = null @DataMember(Order=5) open var referrerUrl:String? = null @DataMember(Order=6) open var bearerToken:String? = null @DataMember(Order=7) open var refreshToken:String? = null @DataMember(Order=8) open var refreshTokenExpiry:Date? = null @DataMember(Order=9) open var profileUrl:String? = null @DataMember(Order=10) open var roles:ArrayList? = null @DataMember(Order=11) open var permissions:ArrayList? = null @DataMember(Order=12) open var authProvider:String? = null @DataMember(Order=13) open var responseStatus:ResponseStatus? = null @DataMember(Order=14) open var meta:HashMap? = null } @DataContract open class AssignRolesResponse { @DataMember(Order=1) open var allRoles:ArrayList? = null @DataMember(Order=2) open var allPermissions:ArrayList? = null @DataMember(Order=3) open var meta:HashMap? = null @DataMember(Order=4) open var responseStatus:ResponseStatus? = null } @DataContract open class UnAssignRolesResponse { @DataMember(Order=1) open var allRoles:ArrayList? = null @DataMember(Order=2) open var allPermissions:ArrayList? = null @DataMember(Order=3) open var meta:HashMap? = null @DataMember(Order=4) open var responseStatus:ResponseStatus? = null } @DataContract open class ChatResponse { /** * A unique identifier for the chat completion. */ @DataMember(Name="id") @SerializedName("id") open var id:String? = null /** * A list of chat completion choices. Can be more than one if n is greater than 1. */ @DataMember(Name="choices") @SerializedName("choices") open var choices:ArrayList = ArrayList() /** * The Unix timestamp (in seconds) of when the chat completion was created. */ @DataMember(Name="created") @SerializedName("created") open var created:Long? = null /** * The model used for the chat completion. */ @DataMember(Name="model") @SerializedName("model") open var model:String? = null /** * This fingerprint represents the backend configuration that the model runs with. */ @DataMember(Name="system_fingerprint") @SerializedName("system_fingerprint") open var systemFingerprint:String? = null /** * The object type, which is always chat.completion. */ @DataMember(Name="object") @SerializedName("object") open var Object:String? = null /** * Specifies the processing type used for serving the request. */ @DataMember(Name="service_tier") @SerializedName("service_tier") open var serviceTier:String? = null /** * Usage statistics for the completion request. */ @DataMember(Name="usage") @SerializedName("usage") open var usage:AiUsage? = null /** * The provider used for the chat completion. */ @DataMember(Name="provider") @SerializedName("provider") open var provider:String? = null /** * Total cost of the completion in USD, accumulated across every request in the tool loop. */ @DataMember(Name="cost") @SerializedName("cost") open var cost:Double? = null /** * The assistant and tool messages exchanged during the tool-execution loop, in order. */ @DataMember(Name="tool_history") @SerializedName("tool_history") open var toolHistory:ArrayList? = null /** * Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. */ @DataMember(Name="metadata") @SerializedName("metadata") open var metadata:HashMap? = null @DataMember(Name="responseStatus") @SerializedName("responseStatus") open var responseStatus:ResponseStatus? = null } @DataContract open class IdResponse { @DataMember(Order=1) open var id:String? = null @DataMember(Order=2) open var responseStatus:ResponseStatus? = null } open class RockstarWithIdResponse { open var id:Int? = null open var responseStatus:ResponseStatus? = null } open class RockstarWithIdAndResultResponse { open var id:Int? = null open var result:RockstarAuto? = null open var responseStatus:ResponseStatus? = null } open class RockstarWithIdAndCountResponse { open var id:Int? = null open var count:Int? = null open var responseStatus:ResponseStatus? = null } open class RockstarWithIdAndRowVersionResponse { open var id:Int? = null open var rowVersion:Long? = null open var responseStatus:ResponseStatus? = null } @DataContract open class GetAccessTokenResponse { @DataMember(Order=1) open var accessToken:String? = null @DataMember(Order=2) open var meta:HashMap? = null @DataMember(Order=3) open var responseStatus:ResponseStatus? = null } open class QueryDb_2 : QueryBase() { } open class Item { open var name:String? = null open var description:String? = null } open class Poco { open var name:String? = null } open class CustomType { open var id:Int? = null open var name:String? = null } open class SetterType { open var id:Int? = null open var name:String? = null } open class DeclarativeChildValidation { open var name:String? = null @Validate(Validator="MaximumLength(20)") open var value:String? = null } open class FluentChildValidation { open var name:String? = null open var value:String? = null } open class DeclarativeSingleValidation { open var name:String? = null @Validate(Validator="MaximumLength(20)") open var value:String? = null } open class FluentSingleValidation { open var name:String? = null open var value:String? = null } @DataContract open class CancelRequest : IPost { @DataMember(Order=1) open var tag:String? = null @DataMember(Order=2) open var meta:HashMap? = null } @DataContract open class CancelRequestResponse { @DataMember(Order=1) open var tag:String? = null @DataMember(Order=2) open var elapsed:TimeSpan? = null @DataMember(Order=3) open var meta:HashMap? = null @DataMember(Order=4) open var responseStatus:ResponseStatus? = null } @DataContract open class UpdateEventSubscriber : IPost { @DataMember(Order=1) open var id:String? = null @DataMember(Order=2) open var subscribeChannels:ArrayList? = null @DataMember(Order=3) open var unsubscribeChannels:ArrayList? = null } @DataContract open class UpdateEventSubscriberResponse { @DataMember(Order=1) open var responseStatus:ResponseStatus? = null } @DataContract open class GetApiKeys : IGet { @DataMember(Order=1) open var environment:String? = null @DataMember(Order=2) open var meta:HashMap? = null } @DataContract open class GetApiKeysResponse { @DataMember(Order=1) open var results:ArrayList? = null @DataMember(Order=2) open var meta:HashMap? = null @DataMember(Order=3) open var responseStatus:ResponseStatus? = null } @DataContract open class RegenerateApiKeys : IPost { @DataMember(Order=1) open var environment:String? = null @DataMember(Order=2) open var meta:HashMap? = null } @DataContract open class RegenerateApiKeysResponse { @DataMember(Order=1) open var results:ArrayList? = null @DataMember(Order=2) open var meta:HashMap? = null @DataMember(Order=3) open var responseStatus:ResponseStatus? = null } @DataContract open class UserApiKey { @DataMember(Order=1) open var key:String? = null @DataMember(Order=2) open var keyType:String? = null @DataMember(Order=3) open var expiryDate:Date? = null @DataMember(Order=4) open var meta:HashMap? = null } @DataContract open class ConvertSessionToToken : IPost { @DataMember(Order=1) open var preserveSession:Boolean? = null @DataMember(Order=2) open var meta:HashMap? = null } @DataContract open class ConvertSessionToTokenResponse { @DataMember(Order=1) open var meta:HashMap? = null @DataMember(Order=2) open var accessToken:String? = null @DataMember(Order=3) open var refreshToken:String? = null @DataMember(Order=4) open var responseStatus:ResponseStatus? = null } open class NavItem { open var label:String? = null open var href:String? = null open var exact:Boolean? = null open var id:String? = null open var className:String? = null open var iconClass:String? = null open var iconSrc:String? = null open var show:String? = null open var hide:String? = null open var children:ArrayList? = null open var meta:HashMap? = null } @DataContract open class GetNavItems { @DataMember(Order=1) open var name:String? = null } @DataContract open class GetNavItemsResponse { @DataMember(Order=1) open var baseUrl:String? = null @DataMember(Order=2) open var results:ArrayList? = null @DataMember(Order=3) open var navItemsMap:HashMap>? = null @DataMember(Order=4) open var meta:HashMap? = null @DataMember(Order=5) open var responseStatus:ResponseStatus? = null } @DataContract open class StringResponse { @DataMember(Order=1) open var result:String? = null @DataMember(Order=2) open var meta:HashMap? = null @DataMember(Order=3) open var responseStatus:ResponseStatus? = null } @DataContract open class StringsResponse { @DataMember(Order=1) open var results:ArrayList = ArrayList() @DataMember(Order=2) open var meta:HashMap? = null @DataMember(Order=3) open var responseStatus:ResponseStatus? = null } @DataContract open class AuditBase { @DataMember(Order=1) open var createdDate:Date? = null @DataMember(Order=2) @Required() open var createdBy:String? = null @DataMember(Order=3) open var modifiedDate:Date? = null @DataMember(Order=4) @Required() open var modifiedBy:String? = null @DataMember(Order=5) open var deletedDate:Date? = null @DataMember(Order=6) open var deletedBy:String? = null } interface IGeneration { var refId:String? var tag:String? } interface IAuthTokens { var provider:String? var userId:String? var accessToken:String? var accessTokenSecret:String? var refreshToken:String? var refreshTokenExpiry:Date? var requestToken:String? var requestTokenSecret:String? var items:HashMap? } @DataContract open class AuthUserSession { @DataMember(Order=1) open var referrerUrl:String? = null @DataMember(Order=2) open var id:String? = null @DataMember(Order=3) open var userAuthId:String? = null @DataMember(Order=4) open var userAuthName:String? = null @DataMember(Order=5) open var userName:String? = null @DataMember(Order=6) open var twitterUserId:String? = null @DataMember(Order=7) open var twitterScreenName:String? = null @DataMember(Order=8) open var facebookUserId:String? = null @DataMember(Order=9) open var facebookUserName:String? = null @DataMember(Order=10) open var firstName:String? = null @DataMember(Order=11) open var lastName:String? = null @DataMember(Order=12) open var displayName:String? = null @DataMember(Order=13) open var company:String? = null @DataMember(Order=14) open var email:String? = null @DataMember(Order=15) open var primaryEmail:String? = null @DataMember(Order=16) open var phoneNumber:String? = null @DataMember(Order=17) open var birthDate:Date? = null @DataMember(Order=18) open var birthDateRaw:String? = null @DataMember(Order=19) open var address:String? = null @DataMember(Order=20) open var address2:String? = null @DataMember(Order=21) open var city:String? = null @DataMember(Order=22) open var state:String? = null @DataMember(Order=23) open var country:String? = null @DataMember(Order=24) open var culture:String? = null @DataMember(Order=25) open var fullName:String? = null @DataMember(Order=26) open var gender:String? = null @DataMember(Order=27) open var language:String? = null @DataMember(Order=28) open var mailAddress:String? = null @DataMember(Order=29) open var nickname:String? = null @DataMember(Order=30) open var postalCode:String? = null @DataMember(Order=31) open var timeZone:String? = null @DataMember(Order=32) open var requestTokenSecret:String? = null @DataMember(Order=33) open var createdAt:Date? = null @DataMember(Order=34) open var lastModified:Date? = null @DataMember(Order=35) open var roles:ArrayList? = null @DataMember(Order=36) open var permissions:ArrayList? = null @DataMember(Order=37) open var isAuthenticated:Boolean? = null @DataMember(Order=38) open var fromToken:Boolean? = null @DataMember(Order=39) open var profileUrl:String? = null @DataMember(Order=40) open var sequence:String? = null @DataMember(Order=41) open var tag:Long? = null @DataMember(Order=42) open var authProvider:String? = null @DataMember(Order=43) open var providerOAuthAccess:ArrayList? = null @DataMember(Order=44) open var meta:HashMap? = null @DataMember(Order=45) open var audiences:ArrayList? = null @DataMember(Order=46) open var scopes:ArrayList? = null @DataMember(Order=47) open var dns:String? = null @DataMember(Order=48) open var rsa:String? = null @DataMember(Order=49) open var sid:String? = null @DataMember(Order=50) open var hash:String? = null @DataMember(Order=51) open var homePhone:String? = null @DataMember(Order=52) open var mobilePhone:String? = null @DataMember(Order=53) open var webpage:String? = null @DataMember(Order=54) open var emailConfirmed:Boolean? = null @DataMember(Order=55) open var phoneNumberConfirmed:Boolean? = null @DataMember(Order=56) open var twoFactorEnabled:Boolean? = null @DataMember(Order=57) open var securityStamp:String? = null @DataMember(Order=58) @SerializedName("type") open var Type:String? = null @DataMember(Order=59) open var recoveryToken:String? = null @DataMember(Order=60) open var refId:Int? = null @DataMember(Order=61) open var refIdStr:String? = null } open class NestedClass { open var value:String? = null } enum class EnumType { Value1, Value2, Value3, } @Flags() enum class EnumTypeFlags(val value:Int) { @SerializedName("0") Value1(0), @SerializedName("1") Value2(1), @SerializedName("2") Value3(2), } enum class EnumWithValues { None, Value1, Value2, } @Flags() enum class EnumFlags(val value:Int) { @SerializedName("0") Value0(0), @SerializedName("1") Value1(1), @SerializedName("2") Value2(2), @SerializedName("4") Value3(4), @SerializedName("7") Value123(7), } enum class EnumAsInt(val value:Int) { Value1(1000), Value2(2000), Value3(3000), } enum class EnumStyle { Lower, Upper, PascalCase, CamelCase, CamelUPPER, PascalUPPER, } enum class EnumStyleMembers { Lower, Upper, PascalCase, CamelCase, CamelUpper, PascalUpper, } open class KeyValuePair { open var key:TKey? = null open var value:TValue? = null } open class SubType { open var id:Int? = null open var name:String? = null } open class AllTypesBase { open var id:Int? = null open var nullableId:Int? = null @SerializedName("byte") open var Byte:Short? = null @SerializedName("short") open var Short:Short? = null @SerializedName("int") open var Int:Int? = null @SerializedName("long") open var Long:Long? = null open var uShort:Int? = null open var uInt:Long? = null open var uLong:BigInteger? = null @SerializedName("float") open var Float:Float? = null @SerializedName("double") open var Double:Double? = null open var decimal:BigDecimal? = null open var string:String? = null open var dateTime:Date? = null open var timeSpan:TimeSpan? = null open var dateTimeOffset:Date? = null open var guid:UUID? = null @SerializedName("char") open var Char:String? = null open var keyValuePair:KeyValuePair? = null open var nullableDateTime:Date? = null open var nullableTimeSpan:TimeSpan? = null open var stringList:ArrayList = ArrayList() open var stringArray:ArrayList = ArrayList() open var stringMap:HashMap = HashMap() open var intStringMap:HashMap = HashMap() open var subType:SubType? = null } open class HelloBase { open var id:Int? = null } open class HelloBase_1 { open var items:ArrayList = ArrayList() open var counts:ArrayList = ArrayList() } interface IPoco { var name:String? } interface IEmptyInterface { } open class EmptyClass { } enum class DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, } @DataContract enum class ScopeType(val value:Int) { Global(1), Sale(2), } open class Logger { open var id:Long? = null open var devices:ArrayList = ArrayList() } open class Rockstar { open var id:Int? = null open var firstName:String? = null open var lastName:String? = null open var age:Int? = null } /** * A list of messages comprising the conversation so far. */ @DataContract open class AiMessage { /** * The contents of the message. */ @DataMember(Name="content") @SerializedName("content") open var content:ArrayList? = null /** * The role of the author of this message. Valid values are `system`, `user`, `assistant` and `tool`. */ @DataMember(Name="role") @SerializedName("role") open var role:String? = null /** * An optional name for the participant. Provides the model information to differentiate between participants of the same role. */ @DataMember(Name="name") @SerializedName("name") open var name:String? = null /** * The tool calls generated by the model, such as function calls. */ @DataMember(Name="tool_calls") @SerializedName("tool_calls") open var toolCalls:ArrayList? = null /** * Tool call that this message is responding to. */ @DataMember(Name="tool_call_id") @SerializedName("tool_call_id") open var toolCallId:String? = null /** * The reasoning an assistant message was generated with, normalized per provider when replayed as history. */ @DataMember(Name="reasoning") @SerializedName("reasoning") open var reasoning:String? = null /** * The reasoning an assistant message was generated with, as emitted by Gemini and most OpenAI-compatible providers. */ @DataMember(Name="reasoning_content") @SerializedName("reasoning_content") open var reasoningContent:String? = null /** * Unix timestamp (in milliseconds) the message was generated. */ @DataMember(Name="timestamp") @SerializedName("timestamp") open var timestamp:Long? = null /** * Images attached to the message. Folded into `content` parts before sending to a provider. */ @DataMember(Name="images") @SerializedName("images") open var images:ArrayList? = null } /** * Parameters for audio output. Required when audio output is requested with modalities: [audio] */ @DataContract open class AiChatAudio { /** * Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16. */ @DataMember(Name="format") @SerializedName("format") open var format:String? = null /** * The voice the model uses to respond. Supported voices are alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, and shimmer. */ @DataMember(Name="voice") @SerializedName("voice") open var voice:String? = null } @DataContract open class AiResponseFormat { /** * An object specifying the format that the model must output. Compatible with GPT-4 Turbo and all GPT-3.5 Turbo models newer than gpt-3.5-turbo-1106. */ @DataMember(Name="type") @SerializedName("type") open var Type:ResponseFormat? = null } @DataContract open class Tool { /** * The type of the tool. Currently, only function is supported. */ @DataMember(Name="type") @SerializedName("type") open var Type:ToolType? = null /** * The function definition the model may call. */ @DataMember(Name="function") @SerializedName("function") open var function:AiToolFunction? = null } open class QueryDb_1 : QueryBase() { } /** * Booking Details */ open class Booking : AuditBase() { open var id:Int? = null open var name:String? = null open var roomType:RoomType? = null open var roomNumber:Int? = null open var bookingStartDate:Date? = null open var bookingEndDate:Date? = null open var cost:BigDecimal? = null @References(Type=Coupon::class) open var couponId:String? = null open var discount:Coupon? = null open var notes:String? = null open var cancelled:Boolean? = null @References(Type=Address::class) open var permanentAddressId:Long? = null open var permanentAddress:Address? = null @References(Type=Address::class) open var postalAddressId:Long? = null open var postalAddress:Address? = null } /** * Discount Coupons */ open class Coupon { open var id:String? = null open var description:String? = null open var discount:Int? = null open var expiryDate:Date? = null } open class Address { open var id:Long? = null open var addressText:String? = null } open class QueryDbTenant_2 : QueryDb_2() { } open class RockstarAuditTenant : AuditBase() { open var tenantId:Int? = null open var id:Int? = null open var firstName:String? = null open var lastName:String? = null open var age:Int? = null open var dateOfBirth:Date? = null open var dateDied:Date? = null open var livingStatus:LivingStatus? = null } open class RockstarAuto : RockstarBase() { open var id:Int? = null } open class OnlyDefinedInGenericType { open var id:Int? = null open var name:String? = null } open class OnlyDefinedInGenericTypeFrom { open var id:Int? = null open var name:String? = null } open class OnlyDefinedInGenericTypeInto { open var id:Int? = null open var name:String? = null } enum class RoomType { Single, Double, Queen, Twin, Suite, } enum class LivingStatus { Alive, Dead, } open class RockstarBase { open var firstName:String? = null open var lastName:String? = null open var age:Int? = null open var dateOfBirth:Date? = null open var dateDied:Date? = null open var livingStatus:LivingStatus? = null } open class RockstarAudit : RockstarBase() { open var id:Int? = null open var createdDate:Date? = null open var createdBy:String? = null open var createdInfo:String? = null open var modifiedDate:Date? = null open var modifiedBy:String? = null open var modifiedInfo:String? = null } open class CreateAuditTenantBase : CreateAuditBase() { } open class UpdateAuditTenantBase : UpdateAuditBase() { } open class PatchAuditTenantBase : PatchAuditBase() { } open class SoftDeleteAuditTenantBase : SoftDeleteAuditBase() { } open class RockstarVersion : RockstarBase() { open var id:Int? = null open var rowVersion:BigInteger? = null } /** * Output object for generated text */ open class TextOutput { /** * The generated text */ @ApiMember(Description="The generated text") open var text:String? = null } open class UploadInfo { open var name:String? = null open var fileName:String? = null open var contentLength:Long? = null open var contentType:String? = null } open class MetadataTestChild { open var name:String? = null open var results:ArrayList = ArrayList() } @DataContract open class MenuExample { @DataMember(Order=1) @ApiMember() open var menuItemExample1:MenuItemExample? = null } open class ListResult { open var result:String? = null } open class ArrayResult { open var result:String? = null } open class HelloResponseBase { open var refId:Int? = null } open class HelloWithReturnResponse { open var result:String? = null } open class HelloType { open var result:String? = null } open class InnerType { open var id:Long? = null open var name:String? = null } enum class InnerEnum { Foo, Bar, Baz, } open class ReturnedDto { open var id:Int? = null } open class CustomUserSession : AuthUserSession() { @DataMember open var customName:String? = null @DataMember open var customInfo:String? = null } open class UnAuthInfo { open var customInfo:String? = null } @DataContract open class Choice { /** * The reason the model stopped generating tokens. This will be stop if the model hit a natural stop point or a provided stop sequence, length if the maximum number of tokens specified in the request was reached, content_filter if content was omitted due to a flag from our content filters, tool_calls if the model called a tool */ @DataMember(Name="finish_reason") @SerializedName("finish_reason") open var finishReason:String? = null /** * The index of the choice in the list of choices. */ @DataMember(Name="index") @SerializedName("index") open var index:Int? = null /** * A chat completion message generated by the model. */ @DataMember(Name="message") @SerializedName("message") open var message:ChoiceMessage? = null /** * Log probability information for the choice. */ @DataMember(Name="logprobs") @SerializedName("logprobs") open var logprobs:Logprobs? = null } /** * Usage statistics for the completion request. */ @DataContract open class AiUsage { /** * Number of tokens in the generated completion. */ @DataMember(Name="completion_tokens") @SerializedName("completion_tokens") open var completionTokens:Long? = null /** * Number of tokens in the prompt. */ @DataMember(Name="prompt_tokens") @SerializedName("prompt_tokens") open var promptTokens:Long? = null /** * Total number of tokens used in the request (prompt + completion). */ @DataMember(Name="total_tokens") @SerializedName("total_tokens") open var totalTokens:Long? = null /** * Breakdown of tokens used in a completion. */ @DataMember(Name="completion_tokens_details") @SerializedName("completion_tokens_details") open var completionTokensDetails:AiCompletionUsage? = null /** * Breakdown of tokens used in the prompt. */ @DataMember(Name="prompt_tokens_details") @SerializedName("prompt_tokens_details") open var promptTokensDetails:AiPromptUsage? = null /** * Seconds spent servicing the completion, including every request in the tool loop. */ @DataMember(Name="duration") @SerializedName("duration") open var duration:Long? = null } @DataContract open class ChoiceMessage { /** * The contents of the message. */ @DataMember(Name="content") @SerializedName("content") open var content:String? = null /** * The refusal message generated by the model. */ @DataMember(Name="refusal") @SerializedName("refusal") open var refusal:String? = null /** * The reasoning process used by the model. */ @DataMember(Name="reasoning") @SerializedName("reasoning") open var reasoning:String? = null /** * The reasoning process used by the model, as emitted by Gemini and most OpenAI-compatible providers. */ @DataMember(Name="reasoning_content") @SerializedName("reasoning_content") open var reasoningContent:String? = null /** * The reasoning process used by the model, as emitted by Anthropic. */ @DataMember(Name="thinking") @SerializedName("thinking") open var thinking:String? = null /** * The role of the author of this message. */ @DataMember(Name="role") @SerializedName("role") open var role:String? = null /** * Unix timestamp (in milliseconds) the message was generated. */ @DataMember(Name="timestamp") @SerializedName("timestamp") open var timestamp:Long? = null /** * The tool call this message is responding to, set on `tool` role messages in tool_history. */ @DataMember(Name="tool_call_id") @SerializedName("tool_call_id") open var toolCallId:String? = null /** * Images generated by the model or produced by a tool call. */ @DataMember(Name="images") @SerializedName("images") open var images:ArrayList? = null /** * Audio generated by the model or produced by a tool call. */ @DataMember(Name="audios") @SerializedName("audios") open var audios:ArrayList? = null /** * Files produced by a tool call. */ @DataMember(Name="files") @SerializedName("files") open var files:ArrayList? = null /** * Annotations for the message, when applicable, as when using the web search tool. */ @DataMember(Name="annotations") @SerializedName("annotations") open var annotations:ArrayList? = null /** * If the audio output modality is requested, this object contains data about the audio response from the model. */ @DataMember(Name="audio") @SerializedName("audio") open var audio:ChoiceAudio? = null /** * The tool calls generated by the model, such as function calls. */ @DataMember(Name="tool_calls") @SerializedName("tool_calls") open var toolCalls:ArrayList? = 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 } open class Device { open var id:Long? = null @SerializedName("type") open var Type:String? = null open var timeStamp:Long? = null open var channels:ArrayList = ArrayList() } @DataContract open class AiContent { /** * The type of the content part. */ @DataMember(Name="type") @SerializedName("type") open var Type:String? = null } /** * The tool calls generated by the model, such as function calls. */ @DataContract open class ToolCall { /** * The ID of the tool call. */ @DataMember(Name="id") @SerializedName("id") open var id:String? = null /** * The type of the tool. Currently, only `function` is supported. */ @DataMember(Name="type") @SerializedName("type") open var Type:String? = null /** * The function that the model called. */ @DataMember(Name="function") @SerializedName("function") open var function:ToolFunction? = null } enum class ResponseFormat { Text, JsonObject, } enum class ToolType { Function, } @DataContract open class AiToolFunction { /** * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. */ @DataMember(Name="name") @SerializedName("name") open var name:String? = null /** * A description of what the function does, used by the model to choose when and how to call the function. */ @DataMember(Name="description") @SerializedName("description") open var description:String? = null /** * The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format. */ @DataMember(Name="parameters") @SerializedName("parameters") open var parameters:HashMap? = null } open class CreateAuditBase : ICreateDb { } open class UpdateAuditBase : IUpdateDb
{ } open class PatchAuditBase : IPatchDb
{ } open class SoftDeleteAuditBase : IUpdateDb
{ } open class MetadataTestNestedChild { open var name:String? = null } open class MenuItemExample { @DataMember(Order=1) @ApiMember() open var name1:String? = null open var menuItemExampleItem:MenuItemExampleItem? = null } open class TypesGroup { } /** * Log probability information for the choice. */ @DataContract open class Logprobs { /** * A list of message content tokens with log probability information. */ @DataMember(Name="content") @SerializedName("content") open var content:ArrayList = ArrayList() } /** * Usage statistics for the completion request. */ @DataContract open class AiCompletionUsage { /** * When using Predicted Outputs, the number of tokens in the prediction that appeared in the completion. */ @DataMember(Name="accepted_prediction_tokens") @SerializedName("accepted_prediction_tokens") open var acceptedPredictionTokens:Long? = null /** * Audio input tokens generated by the model. */ @DataMember(Name="audio_tokens") @SerializedName("audio_tokens") open var audioTokens:Long? = null /** * Tokens generated by the model for reasoning. */ @DataMember(Name="reasoning_tokens") @SerializedName("reasoning_tokens") open var reasoningTokens:Long? = null /** * When using Predicted Outputs, the number of tokens in the prediction that did not appear in the completion. */ @DataMember(Name="rejected_prediction_tokens") @SerializedName("rejected_prediction_tokens") open var rejectedPredictionTokens:Long? = null } /** * Breakdown of tokens used in the prompt. */ @DataContract open class AiPromptUsage { /** * When using Predicted Outputs, the number of tokens in the prediction that appeared in the completion. */ @DataMember(Name="accepted_prediction_tokens") @SerializedName("accepted_prediction_tokens") open var acceptedPredictionTokens:Long? = null /** * Audio input tokens present in the prompt. */ @DataMember(Name="audio_tokens") @SerializedName("audio_tokens") open var audioTokens:Long? = null /** * Cached tokens present in the prompt. */ @DataMember(Name="cached_tokens") @SerializedName("cached_tokens") open var cachedTokens:Long? = null } /** * Annotations for the message, when applicable, as when using the web search tool. */ @DataContract open class ChoiceAnnotation { /** * The type of the URL citation. Always url_citation. */ @DataMember(Name="type") @SerializedName("type") open var Type:String? = null /** * A URL citation when using web search. */ @DataMember(Name="url_citation") @SerializedName("url_citation") open var urlCitation:UrlCitation? = null } /** * If the audio output modality is requested, this object contains data about the audio response from the model. */ @DataContract open class ChoiceAudio { /** * Base64 encoded audio bytes generated by the model, in the format specified in the request. */ @DataMember(Name="data") @SerializedName("data") open var Data:String? = null /** * The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations. */ @DataMember(Name="expires_at") @SerializedName("expires_at") open var expiresAt:Long? = null /** * Unique identifier for this audio response. */ @DataMember(Name="id") @SerializedName("id") open var id:String? = null /** * Transcript of the audio generated by the model. */ @DataMember(Name="transcript") @SerializedName("transcript") open var transcript:String? = null } open class Channel { open var name:String? = null open var value:String? = null } /** * Text content part */ @DataContract open class AiTextContent : AiContent() { /** * The text content. */ @DataMember(Name="text") @SerializedName("text") open var text:String? = null } /** * Image content part */ @DataContract open class AiImageContent : AiContent() { /** * The image for this content. */ @DataMember(Name="image_url") @SerializedName("image_url") open var imageUrl:AiImageUrl? = null } /** * Audio content part */ @DataContract open class AiAudioContent : AiContent() { /** * The audio input for this content. */ @DataMember(Name="input_audio") @SerializedName("input_audio") open var inputAudio:AiInputAudio? = null } /** * File content part */ @DataContract open class AiFileContent : AiContent() { /** * The file input for this content. */ @DataMember(Name="file") @SerializedName("file") open var file:AiFile? = null } /** * Generated audio content part, referenced by URL (emitted by tool calls and audio models) */ @DataContract open class AiAudioUrlContent : AiContent() { /** * The audio for this content. */ @DataMember(Name="audio_url") @SerializedName("audio_url") open var audioUrl:AiAudioUrl? = null } /** * The function that the model called. */ @DataContract open class ToolFunction { /** * The name of the function to call. */ @DataMember(Name="name") @SerializedName("name") open var name:String? = null /** * The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function. */ @DataMember(Name="arguments") @SerializedName("arguments") open var arguments:String? = null } open class MenuItemExampleItem { @DataMember(Order=1) @ApiMember() open var name1:String? = null } /** * A list of message content tokens with log probability information. */ @DataContract open class LogprobItem { /** * The token. */ @DataMember(Name="token") @SerializedName("token") open var token:String? = null /** * The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value `-9999`.0 is used to signify that the token is very unlikely. */ @DataMember(Name="logprob") @SerializedName("logprob") open var logprob:Double? = null /** * A list of integers representing the UTF-8 bytes representation of the token. Useful in instances where characters are represented by multiple tokens and their byte representations must be combined to generate the correct text representation. Can be `null` if there is no bytes representation for the token. */ @DataMember(Name="bytes") @SerializedName("bytes") open var bytes:ByteArray = ByteArray(0) /** * List of the most likely tokens and their log probability, at this token position. In rare cases, there may be fewer than the number of requested `top_logprobs` returned. */ @DataMember(Name="top_logprobs") @SerializedName("top_logprobs") open var topLogprobs:ArrayList = ArrayList() } /** * Annotations for the message, when applicable, as when using the web search tool. */ @DataContract open class UrlCitation { /** * The index of the last character of the URL citation in the message. */ @DataMember(Name="end_index") @SerializedName("end_index") open var endIndex:Int? = null /** * The index of the first character of the URL citation in the message. */ @DataMember(Name="start_index") @SerializedName("start_index") open var startIndex:Int? = null /** * The title of the web resource. */ @DataMember(Name="title") @SerializedName("title") open var title:String? = null /** * The URL of the web resource. */ @DataMember(Name="url") @SerializedName("url") open var url:String? = null } @DataContract open class AiImageUrl { /** * Either a URL of the image or the base64 encoded image data. */ @DataMember(Name="url") @SerializedName("url") open var url:String? = null } /** * Audio content part */ @DataContract open class AiInputAudio { /** * URL or Base64 encoded audio data. */ @DataMember(Name="data") @SerializedName("data") open var Data:String? = null /** * The format of the encoded audio data. Currently supports 'wav' and 'mp3'. */ @DataMember(Name="format") @SerializedName("format") open var format:String? = null } /** * File content part */ @DataContract open class AiFile { /** * The URL or base64 encoded file data, used when passing the file to the model as a string. */ @DataMember(Name="file_data") @SerializedName("file_data") open var fileData:String? = null /** * The name of the file, used when passing the file to the model as a string. */ @DataMember(Name="filename") @SerializedName("filename") open var filename:String? = null /** * The ID of an uploaded file to use as input. */ @DataMember(Name="file_id") @SerializedName("file_id") open var fileId:String? = null } @DataContract open class AiAudioUrl { /** * Either a URL of the audio or the base64 encoded audio data. */ @DataMember(Name="url") @SerializedName("url") open var url:String? = null }