/* Options: Date: 2024-11-21 08:31:56 Version: 8.41 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: True //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 = ArrayList() open var listResult:ArrayList = ArrayList() 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:InputStream? = 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 = GenerationResponse::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 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 } /** * Description on HelloAll type */ @DataContract open class HelloAnnotated : IReturn { @DataMember open var name:String? = null companion object { private val responseType = HelloAnnotatedResponse::class.java } override fun getResponseType(): Any? = HelloAnnotated.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 RestrictedAttributes { open var id:Int? = null open var name:String? = null open var hello:Hello? = 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? = null 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? = null open var intList:ArrayList = ArrayList() open var stringArray:ArrayList? = null open var stringList:ArrayList = ArrayList() open var floatArray:ArrayList? = null open var doubleList:ArrayList = ArrayList() open var byteArray:ByteArray? = null open var charArray:ArrayList? = null open var decimalList:ArrayList = ArrayList() open var pocoArray:ArrayList? = null 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? = null 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? = null 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 = ArrayList() open var stringArray:ArrayList? = null open var stringMap:HashMap = HashMap() open var intStringMap:HashMap = HashMap() 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 = ArrayList() open var subTypeMap:HashMap = HashMap() open var stringMap:HashMap = HashMap() open var intStringMap:HashMap = HashMap() 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 = HashMap() 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 = HashMap() 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 = ArrayList() @DataMember(Order=3) open var roles:ArrayList = ArrayList() @DataMember(Order=4) open var meta:HashMap = HashMap() 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 = ArrayList() @DataMember(Order=3) open var roles:ArrayList = ArrayList() @DataMember(Order=4) open var meta:HashMap = HashMap() companion object { private val responseType = UnAssignRolesResponse::class.java } override fun getResponseType(): Any? = UnAssignRoles.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 } 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 = HashMap() 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 = HashMap() @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 = ArrayList() 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 generation requests */ open class GenerationResponse { /** * List of generated outputs */ @ApiMember(Description="List of generated outputs") open var outputs:ArrayList = ArrayList() /** * List of generated text outputs */ @ApiMember(Description="List of generated text outputs") open var textOutputs:ArrayList = ArrayList() /** * 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 } /** * Description on HelloAllResponse type */ @DataContract open class HelloAnnotatedResponse { @DataMember 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 = HashMap() 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 = ArrayList() @DataMember(Order=9) open var permissions:ArrayList = ArrayList() @DataMember(Order=10) open var redirectUrl:String? = null @DataMember(Order=11) open var responseStatus:ResponseStatus? = null @DataMember(Order=12) open var meta:HashMap = HashMap() } @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 = ArrayList() @DataMember(Order=11) open var permissions:ArrayList = ArrayList() @DataMember(Order=12) open var authProvider:String? = null @DataMember(Order=13) open var responseStatus:ResponseStatus? = null @DataMember(Order=14) open var meta:HashMap = HashMap() } @DataContract open class AssignRolesResponse { @DataMember(Order=1) open var allRoles:ArrayList = ArrayList() @DataMember(Order=2) open var allPermissions:ArrayList = ArrayList() @DataMember(Order=3) open var meta:HashMap = HashMap() @DataMember(Order=4) open var responseStatus:ResponseStatus? = null } @DataContract open class UnAssignRolesResponse { @DataMember(Order=1) open var allRoles:ArrayList = ArrayList() @DataMember(Order=2) open var allPermissions:ArrayList = ArrayList() @DataMember(Order=3) open var meta:HashMap = HashMap() @DataMember(Order=4) 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 = HashMap() @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 = HashMap() } @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 = HashMap() @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 = HashMap() } @DataContract open class GetApiKeysResponse { @DataMember(Order=1) open var results:ArrayList = ArrayList() @DataMember(Order=2) open var meta:HashMap = HashMap() @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 = HashMap() } @DataContract open class RegenerateApiKeysResponse { @DataMember(Order=1) open var results:ArrayList = ArrayList() @DataMember(Order=2) open var meta:HashMap = HashMap() @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 = HashMap() } @DataContract open class ConvertSessionToToken : IPost { @DataMember(Order=1) open var preserveSession:Boolean? = null @DataMember(Order=2) open var meta:HashMap = HashMap() } @DataContract open class ConvertSessionToTokenResponse { @DataMember(Order=1) open var meta:HashMap = HashMap() @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 = ArrayList() open var meta:HashMap = HashMap() } @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 = ArrayList() @DataMember(Order=3) open var navItemsMap:HashMap> = HashMap>() @DataMember(Order=4) open var meta:HashMap = HashMap() @DataMember(Order=5) 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 } @DataContract open class StringResponse { @DataMember(Order=1) open var result:String? = null @DataMember(Order=2) open var meta:HashMap = HashMap() @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 = HashMap() @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 = ArrayList() @DataMember(Order=36) open var permissions:ArrayList = ArrayList() @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 = ArrayList() @DataMember(Order=44) open var meta:HashMap = HashMap() @DataMember(Order=45) open var audiences:ArrayList = ArrayList() @DataMember(Order=46) open var scopes:ArrayList = ArrayList() @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? = null 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 } 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 QueryDb_1 : QueryBase() { } 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 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 artifacts */ open class ArtifactOutput { /** * URL to access the generated image */ @ApiMember(Description="URL to access the generated image") open var url:String? = null /** * Filename of the generated image */ @ApiMember(Description="Filename of the generated image") open var fileName:String? = null /** * Provider used for image generation */ @ApiMember(Description="Provider used for image generation") open var provider:String? = 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 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 = HashMap() } 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() } 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 { } open class Channel { open var name:String? = null open var value:String? = null } open class MenuItemExampleItem { @DataMember(Order=1) @ApiMember() open var name1:String? = null }