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
288 lines
15 KiB
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.42000
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Business.api.addressy {
|
|
using System.Runtime.Serialization;
|
|
using System;
|
|
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
|
[System.Runtime.Serialization.CollectionDataContractAttribute(Name="Capture_Interactive_Find_v1_10_ArrayOfResults", Namespace="http://services.postcodeanywhere.co.uk/", ItemName="Capture_Interactive_Find_v1_10_Results")]
|
|
[System.SerializableAttribute()]
|
|
public class Capture_Interactive_Find_v1_10_ArrayOfResults : System.Collections.Generic.List<Business.api.addressy.Capture_Interactive_Find_v1_10_Results> {
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
|
[System.Runtime.Serialization.DataContractAttribute(Name="Capture_Interactive_Find_v1_10_Results", Namespace="http://services.postcodeanywhere.co.uk/")]
|
|
[System.SerializableAttribute()]
|
|
public partial class Capture_Interactive_Find_v1_10_Results : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
|
|
[System.NonSerializedAttribute()]
|
|
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string IdField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string TypeField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string TextField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string HighlightField;
|
|
|
|
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
private string DescriptionField;
|
|
|
|
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|
get {
|
|
return this.extensionDataField;
|
|
}
|
|
set {
|
|
this.extensionDataField = value;
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
|
|
public string Id {
|
|
get {
|
|
return this.IdField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.IdField, value) != true)) {
|
|
this.IdField = value;
|
|
this.RaisePropertyChanged("Id");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
|
|
public string Type {
|
|
get {
|
|
return this.TypeField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.TypeField, value) != true)) {
|
|
this.TypeField = value;
|
|
this.RaisePropertyChanged("Type");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
|
|
public string Text {
|
|
get {
|
|
return this.TextField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.TextField, value) != true)) {
|
|
this.TextField = value;
|
|
this.RaisePropertyChanged("Text");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
|
|
public string Highlight {
|
|
get {
|
|
return this.HighlightField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.HighlightField, value) != true)) {
|
|
this.HighlightField = value;
|
|
this.RaisePropertyChanged("Highlight");
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
|
|
public string Description {
|
|
get {
|
|
return this.DescriptionField;
|
|
}
|
|
set {
|
|
if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
|
|
this.DescriptionField = value;
|
|
this.RaisePropertyChanged("Description");
|
|
}
|
|
}
|
|
}
|
|
|
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected void RaisePropertyChanged(string propertyName) {
|
|
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
|
if ((propertyChanged != null)) {
|
|
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
[System.ServiceModel.ServiceContractAttribute(Namespace="http://services.postcodeanywhere.co.uk/", ConfigurationName="api.addressy.PostcodeAnywhere_Soap")]
|
|
public interface PostcodeAnywhere_Soap {
|
|
|
|
// 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)
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://services.postcodeanywhere.co.uk/Capture_Interactive_Find_v1_10", ReplyAction="*")]
|
|
Business.api.addressy.Capture_Interactive_Find_v1_10Response Capture_Interactive_Find_v1_10(Business.api.addressy.Capture_Interactive_Find_v1_10Request request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://services.postcodeanywhere.co.uk/Capture_Interactive_Find_v1_10", ReplyAction="*")]
|
|
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);
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="Capture_Interactive_Find_v1_10", WrapperNamespace="http://services.postcodeanywhere.co.uk/", IsWrapped=true)]
|
|
public partial class Capture_Interactive_Find_v1_10Request {
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=0)]
|
|
public string Key;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=1)]
|
|
public string Text;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=2)]
|
|
public bool IsMiddleware;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=3)]
|
|
public string Container;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=4)]
|
|
public string Origin;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=5)]
|
|
public string Countries;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=6)]
|
|
public int Limit;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=7)]
|
|
public string Language;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=8)]
|
|
public bool Bias;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=9)]
|
|
public string Filters;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=10)]
|
|
public string GeoFence;
|
|
|
|
public Capture_Interactive_Find_v1_10Request() {
|
|
}
|
|
|
|
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) {
|
|
this.Key = Key;
|
|
this.Text = Text;
|
|
this.IsMiddleware = IsMiddleware;
|
|
this.Container = Container;
|
|
this.Origin = Origin;
|
|
this.Countries = Countries;
|
|
this.Limit = Limit;
|
|
this.Language = Language;
|
|
this.Bias = Bias;
|
|
this.Filters = Filters;
|
|
this.GeoFence = GeoFence;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="Capture_Interactive_Find_v1_10_Response", WrapperNamespace="http://services.postcodeanywhere.co.uk/", IsWrapped=true)]
|
|
public partial class Capture_Interactive_Find_v1_10Response {
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://services.postcodeanywhere.co.uk/", Order=0)]
|
|
public Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10_Result;
|
|
|
|
public Capture_Interactive_Find_v1_10Response() {
|
|
}
|
|
|
|
public Capture_Interactive_Find_v1_10Response(Business.api.addressy.Capture_Interactive_Find_v1_10_ArrayOfResults Capture_Interactive_Find_v1_10_Result) {
|
|
this.Capture_Interactive_Find_v1_10_Result = Capture_Interactive_Find_v1_10_Result;
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public interface PostcodeAnywhere_SoapChannel : Business.api.addressy.PostcodeAnywhere_Soap, System.ServiceModel.IClientChannel {
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public partial class PostcodeAnywhere_SoapClient : System.ServiceModel.ClientBase<Business.api.addressy.PostcodeAnywhere_Soap>, Business.api.addressy.PostcodeAnywhere_Soap {
|
|
|
|
public PostcodeAnywhere_SoapClient() {
|
|
}
|
|
|
|
public PostcodeAnywhere_SoapClient(string endpointConfigurationName) :
|
|
base(endpointConfigurationName) {
|
|
}
|
|
|
|
public PostcodeAnywhere_SoapClient(string endpointConfigurationName, string remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public PostcodeAnywhere_SoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public PostcodeAnywhere_SoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress) {
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
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) {
|
|
return base.Channel.Capture_Interactive_Find_v1_10(request);
|
|
}
|
|
|
|
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) {
|
|
Business.api.addressy.Capture_Interactive_Find_v1_10Request inValue = new Business.api.addressy.Capture_Interactive_Find_v1_10Request();
|
|
inValue.Key = Key;
|
|
inValue.Text = Text;
|
|
inValue.IsMiddleware = IsMiddleware;
|
|
inValue.Container = Container;
|
|
inValue.Origin = Origin;
|
|
inValue.Countries = Countries;
|
|
inValue.Limit = Limit;
|
|
inValue.Language = Language;
|
|
inValue.Bias = Bias;
|
|
inValue.Filters = Filters;
|
|
inValue.GeoFence = GeoFence;
|
|
Business.api.addressy.Capture_Interactive_Find_v1_10Response retVal = ((Business.api.addressy.PostcodeAnywhere_Soap)(this)).Capture_Interactive_Find_v1_10(inValue);
|
|
return retVal.Capture_Interactive_Find_v1_10_Result;
|
|
}
|
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
|
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) {
|
|
return base.Channel.Capture_Interactive_Find_v1_10Async(request);
|
|
}
|
|
|
|
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) {
|
|
Business.api.addressy.Capture_Interactive_Find_v1_10Request inValue = new Business.api.addressy.Capture_Interactive_Find_v1_10Request();
|
|
inValue.Key = Key;
|
|
inValue.Text = Text;
|
|
inValue.IsMiddleware = IsMiddleware;
|
|
inValue.Container = Container;
|
|
inValue.Origin = Origin;
|
|
inValue.Countries = Countries;
|
|
inValue.Limit = Limit;
|
|
inValue.Language = Language;
|
|
inValue.Bias = Bias;
|
|
inValue.Filters = Filters;
|
|
inValue.GeoFence = GeoFence;
|
|
return ((Business.api.addressy.PostcodeAnywhere_Soap)(this)).Capture_Interactive_Find_v1_10Async(inValue);
|
|
}
|
|
}
|
|
}
|