/* Options: Date: 2024-05-15 01:22:01 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HelloAllTypes.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route("/all-types") open class HelloAllTypes : IReturn { var name:String? = null var allTypes:AllTypes? = null var allCollectionTypes:AllCollectionTypes? = null companion object { private val responseType = HelloAllTypesResponse::class.java } override fun getResponseType(): Any? = HelloAllTypes.responseType } open class AllTypes : IReturn { var id:Int? = null var nullableId:Int? = null @SerializedName("byte") var Byte:Short? = null @SerializedName("short") var Short:Short? = null @SerializedName("int") var Int:Int? = null @SerializedName("long") var Long:Long? = null var uShort:Int? = null var uInt:Long? = null var uLong:BigInteger? = null @SerializedName("float") var Float:Float? = null @SerializedName("double") var Double:Double? = null var decimal:BigDecimal? = null var string:String? = null var dateTime:Date? = null var timeSpan:TimeSpan? = null var dateTimeOffset:Date? = null var guid:UUID? = null @SerializedName("char") var Char:String? = null var keyValuePair:KeyValuePair? = null var nullableDateTime:Date? = null var nullableTimeSpan:TimeSpan? = null var stringList:ArrayList = ArrayList() var stringArray:ArrayList? = null var stringMap:HashMap = HashMap() var intStringMap:HashMap = HashMap() var subType:SubType? = null companion object { private val responseType = AllTypes::class.java } override fun getResponseType(): Any? = AllTypes.responseType } open class AllCollectionTypes : IReturn { var intArray:ArrayList? = null var intList:ArrayList = ArrayList() var stringArray:ArrayList? = null var stringList:ArrayList = ArrayList() var floatArray:ArrayList? = null var doubleList:ArrayList = ArrayList() var byteArray:ByteArray? = null var charArray:ArrayList? = null var decimalList:ArrayList = ArrayList() var pocoArray:ArrayList? = null var pocoList:ArrayList = ArrayList() var pocoLookup:HashMap> = HashMap>() var pocoLookupMap:HashMap>> = HashMap>>() companion object { private val responseType = AllCollectionTypes::class.java } override fun getResponseType(): Any? = AllCollectionTypes.responseType } open class HelloAllTypesResponse { var result:String? = null var allTypes:AllTypes? = null var allCollectionTypes:AllCollectionTypes? = null }