/* Options: Date: 2025-06-27 00:40:55 Version: 6.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://webservices.mbukdatabase.co.uk/AddressLookup //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddressRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/2.0/address/{Postcode}", Verbs="GET") // @Route(Path="/2.0/address/{Postcode}/{HouseNo}", Verbs="GET") open class AddressRequest : IReturn, IHasVersion { var Version:Int? = null /** * Using a Postcode to return addresses. */ @ApiMember(DataType="string", Description="Using a Postcode to return addresses.", IsRequired=true, Name="Postcode", ParameterType="path") var Postcode:String? = null /** * Optional input value to limit the return data to a specific address. */ @ApiMember(DataType="string", Description="Optional input value to limit the return data to a specific address.", Name="House Name or Number", ParameterType="path") var HouseNo:String? = null companion object { private val responseType = LookupResult::class.java } override fun getResponseType(): Any? = AddressRequest.responseType } @DataContract(Name="LookupResult", Namespace="http://schemas.datacontract.org/2004/07/PostcodeLookupService") open class LookupResult { @DataMember var Addresses:ArrayList
? = null @DataMember var errormsg:String? = null }