/* Options: Date: 2025-12-15 03:17:23 Version: 8.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: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream 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 { open 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") open 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") open 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 open var Addresses:ArrayList
? = null @DataMember open var errormsg:String? = null }