You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

288 lines
15 KiB

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.42000
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace Business.api.addressy {
  11. using System.Runtime.Serialization;
  12. using System;
  13. [System.Diagnostics.DebuggerStepThroughAttribute()]
  14. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  15. [System.Runtime.Serialization.CollectionDataContractAttribute(Name="Capture_Interactive_Find_v1_10_ArrayOfResults", Namespace="http://services.postcodeanywhere.co.uk/", ItemName="Capture_Interactive_Find_v1_10_Results")]
  16. [System.SerializableAttribute()]
  17. public class Capture_Interactive_Find_v1_10_ArrayOfResults : System.Collections.Generic.List<Business.api.addressy.Capture_Interactive_Find_v1_10_Results> {
  18. }
  19. [System.Diagnostics.DebuggerStepThroughAttribute()]
  20. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  21. [System.Runtime.Serialization.DataContractAttribute(Name="Capture_Interactive_Find_v1_10_Results", Namespace="http://services.postcodeanywhere.co.uk/")]
  22. [System.SerializableAttribute()]
  23. public partial class Capture_Interactive_Find_v1_10_Results : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  24. [System.NonSerializedAttribute()]
  25. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  26. [System.Runtime.Serialization.OptionalFieldAttribute()]
  27. private string IdField;
  28. [System.Runtime.Serialization.OptionalFieldAttribute()]
  29. private string TypeField;
  30. [System.Runtime.Serialization.OptionalFieldAttribute()]
  31. private string TextField;
  32. [System.Runtime.Serialization.OptionalFieldAttribute()]
  33. private string HighlightField;
  34. [System.Runtime.Serialization.OptionalFieldAttribute()]
  35. private string DescriptionField;
  36. [global::System.ComponentModel.BrowsableAttribute(false)]
  37. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  38. get {
  39. return this.extensionDataField;
  40. }
  41. set {
  42. this.extensionDataField = value;
  43. }
  44. }
  45. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  46. public string Id {
  47. get {
  48. return this.IdField;
  49. }
  50. set {
  51. if ((object.ReferenceEquals(this.IdField, value) != true)) {
  52. this.IdField = value;
  53. this.RaisePropertyChanged("Id");
  54. }
  55. }
  56. }
  57. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
  58. public string Type {
  59. get {
  60. return this.TypeField;
  61. }
  62. set {
  63. if ((object.ReferenceEquals(this.TypeField, value) != true)) {
  64. this.TypeField = value;
  65. this.RaisePropertyChanged("Type");
  66. }
  67. }
  68. }
  69. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
  70. public string Text {
  71. get {
  72. return this.TextField;
  73. }
  74. set {
  75. if ((object.ReferenceEquals(this.TextField, value) != true)) {
  76. this.TextField = value;
  77. this.RaisePropertyChanged("Text");
  78. }
  79. }
  80. }
  81. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
  82. public string Highlight {
  83. get {
  84. return this.HighlightField;
  85. }
  86. set {
  87. if ((object.ReferenceEquals(this.HighlightField, value) != true)) {
  88. this.HighlightField = value;
  89. this.RaisePropertyChanged("Highlight");
  90. }
  91. }
  92. }
  93. [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
  94. public string Description {
  95. get {
  96. return this.DescriptionField;
  97. }
  98. set {
  99. if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
  100. this.DescriptionField = value;
  101. this.RaisePropertyChanged("Description");
  102. }
  103. }
  104. }
  105. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  106. protected void RaisePropertyChanged(string propertyName) {
  107. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  108. if ((propertyChanged != null)) {
  109. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  110. }
  111. }
  112. }
  113. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  114. [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.postcodeanywhere.co.uk/", ConfigurationName="api.addressy.PostcodeAnywhere_Soap")]
  115. public interface PostcodeAnywhere_Soap {
  116. // CODEGEN: Generating message contract since the wrapper name (Capture_Interactive_Find_v1_10_Response) of message Capture_Interactive_Find_v1_10Response does not match the default value (Capture_Interactive_Find_v1_10)
  117. [System.ServiceModel.OperationContractAttribute(Action="http://services.postcodeanywhere.co.uk/Capture_Interactive_Find_v1_10", ReplyAction="*")]
  118. Business.api.addressy.Capture_Interactive_Find_v1_10Response Capture_Interactive_Find_v1_10(Business.api.addressy.Capture_Interactive_Find_v1_10Request request);
  119. [System.ServiceModel.OperationContractAttribute(Action="http://services.postcodeanywhere.co.uk/Capture_Interactive_Find_v1_10", ReplyAction="*")]
  120. System.Threading.Tasks.Task<Business.api.addressy.Capture_Interactive_Find_v1_10Response> Capture_Interactive_Find_v1_10Async(Business.api.addressy.Capture_Interactive_Find_v1_10Request request);
  121. }
  122. [System.Diagnostics.DebuggerStepThroughAttribute()]
  123. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  124. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  125. [System.ServiceModel.MessageContractAttribute(WrapperName="Capture_Interactive_Find_v1_10", WrapperNamespace="http://services.postcodeanywhere.co.uk/", IsWrapped=true)]
  126. public partial class Capture_Interactive_Find_v1_10Request {
  127. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=0)]
  128. public string Key;
  129. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=1)]
  130. public string Text;
  131. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=2)]
  132. public bool IsMiddleware;
  133. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=3)]
  134. public string Container;
  135. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=4)]
  136. public string Origin;
  137. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=5)]
  138. public string Countries;
  139. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=6)]
  140. public int Limit;
  141. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=7)]
  142. public string Language;
  143. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=8)]
  144. public bool Bias;
  145. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=9)]
  146. public string Filters;
  147. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=10)]
  148. public string GeoFence;
  149. public Capture_Interactive_Find_v1_10Request() {
  150. }
  151. public Capture_Interactive_Find_v1_10Request(string Key, string Text, bool IsMiddleware, string Container, string Origin, string Countries, int Limit, string Language, bool Bias, string Filters, string GeoFence) {
  152. this.Key = Key;
  153. this.Text = Text;
  154. this.IsMiddleware = IsMiddleware;
  155. this.Container = Container;
  156. this.Origin = Origin;
  157. this.Countries = Countries;
  158. this.Limit = Limit;
  159. this.Language = Language;
  160. this.Bias = Bias;
  161. this.Filters = Filters;
  162. this.GeoFence = GeoFence;
  163. }
  164. }
  165. [System.Diagnostics.DebuggerStepThroughAttribute()]
  166. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  167. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  168. [System.ServiceModel.MessageContractAttribute(WrapperName="Capture_Interactive_Find_v1_10_Response", WrapperNamespace="http://services.postcodeanywhere.co.uk/", IsWrapped=true)]
  169. public partial class Capture_Interactive_Find_v1_10Response {
  170. [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=0)]
  171. public Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10_Result;
  172. public Capture_Interactive_Find_v1_10Response() {
  173. }
  174. public Capture_Interactive_Find_v1_10Response(Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10_Result) {
  175. this.Capture_Interactive_Find_v1_10_Result = Capture_Interactive_Find_v1_10_Result;
  176. }
  177. }
  178. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  179. public interface PostcodeAnywhere_SoapChannel : Business.api.addressy.PostcodeAnywhere_Soap, System.ServiceModel.IClientChannel {
  180. }
  181. [System.Diagnostics.DebuggerStepThroughAttribute()]
  182. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  183. public partial class PostcodeAnywhere_SoapClient : System.ServiceModel.ClientBase<Business.api.addressy.PostcodeAnywhere_Soap>, Business.api.addressy.PostcodeAnywhere_Soap {
  184. public PostcodeAnywhere_SoapClient() {
  185. }
  186. public PostcodeAnywhere_SoapClient(string endpointConfigurationName) :
  187. base(endpointConfigurationName) {
  188. }
  189. public PostcodeAnywhere_SoapClient(string endpointConfigurationName, string remoteAddress) :
  190. base(endpointConfigurationName, remoteAddress) {
  191. }
  192. public PostcodeAnywhere_SoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  193. base(endpointConfigurationName, remoteAddress) {
  194. }
  195. public PostcodeAnywhere_SoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  196. base(binding, remoteAddress) {
  197. }
  198. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  199. Business.api.addressy.Capture_Interactive_Find_v1_10Response Business.api.addressy.PostcodeAnywhere_Soap.Capture_Interactive_Find_v1_10(Business.api.addressy.Capture_Interactive_Find_v1_10Request request) {
  200. return base.Channel.Capture_Interactive_Find_v1_10(request);
  201. }
  202. public Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10(string Key, string Text, bool IsMiddleware, string Container, string Origin, string Countries, int Limit, string Language, bool Bias, string Filters, string GeoFence) {
  203. Business.api.addressy.Capture_Interactive_Find_v1_10Request inValue = new Business.api.addressy.Capture_Interactive_Find_v1_10Request();
  204. inValue.Key = Key;
  205. inValue.Text = Text;
  206. inValue.IsMiddleware = IsMiddleware;
  207. inValue.Container = Container;
  208. inValue.Origin = Origin;
  209. inValue.Countries = Countries;
  210. inValue.Limit = Limit;
  211. inValue.Language = Language;
  212. inValue.Bias = Bias;
  213. inValue.Filters = Filters;
  214. inValue.GeoFence = GeoFence;
  215. Business.api.addressy.Capture_Interactive_Find_v1_10Response retVal = ((Business.api.addressy.PostcodeAnywhere_Soap)(this)).Capture_Interactive_Find_v1_10(inValue);
  216. return retVal.Capture_Interactive_Find_v1_10_Result;
  217. }
  218. [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
  219. System.Threading.Tasks.Task<Business.api.addressy.Capture_Interactive_Find_v1_10Response> Business.api.addressy.PostcodeAnywhere_Soap.Capture_Interactive_Find_v1_10Async(Business.api.addressy.Capture_Interactive_Find_v1_10Request request) {
  220. return base.Channel.Capture_Interactive_Find_v1_10Async(request);
  221. }
  222. public System.Threading.Tasks.Task<Business.api.addressy.Capture_Interactive_Find_v1_10Response> Capture_Interactive_Find_v1_10Async(string Key, string Text, bool IsMiddleware, string Container, string Origin, string Countries, int Limit, string Language, bool Bias, string Filters, string GeoFence) {
  223. Business.api.addressy.Capture_Interactive_Find_v1_10Request inValue = new Business.api.addressy.Capture_Interactive_Find_v1_10Request();
  224. inValue.Key = Key;
  225. inValue.Text = Text;
  226. inValue.IsMiddleware = IsMiddleware;
  227. inValue.Container = Container;
  228. inValue.Origin = Origin;
  229. inValue.Countries = Countries;
  230. inValue.Limit = Limit;
  231. inValue.Language = Language;
  232. inValue.Bias = Bias;
  233. inValue.Filters = Filters;
  234. inValue.GeoFence = GeoFence;
  235. return ((Business.api.addressy.PostcodeAnywhere_Soap)(this)).Capture_Interactive_Find_v1_10Async(inValue);
  236. }
  237. }
  238. }