git_bsmd/nsw/NSWClient/Service References/ataServiceReference/Reference.cs
2015-02-13 16:53:05 +00:00

436 lines
18 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace NSWClient.ataServiceReference {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://new.webservice.namespace", ConfigurationName="ataServiceReference.AtaNotificationService")]
public interface AtaNotificationService {
// CODEGEN: Generating message contract since the operation notify is neither RPC nor document wrapped.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
NSWClient.ataServiceReference.notifyResponse notify(NSWClient.ataServiceReference.notifyRequest request);
// CODEGEN: Generating message contract since the operation cancelAtaNotificationForVisitId is neither RPC nor document wrapped.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
NSWClient.ataServiceReference.cancelAtaNotificationForVisitIdResponse cancelAtaNotificationForVisitId(NSWClient.ataServiceReference.cancelAtaNotificationForVisitIdRequest request);
// CODEGEN: Generating message contract since the operation cancelAtaNotificationForTransitId is neither RPC nor document wrapped.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
NSWClient.ataServiceReference.cancelAtaNotificationForTransitIdResponse cancelAtaNotificationForTransitId(NSWClient.ataServiceReference.cancelAtaNotificationForTransitIdRequest request);
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34234")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class ataNotification : object, System.ComponentModel.INotifyPropertyChanged {
private identificationType identificationField;
private idType idField;
private System.DateTime ataField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public identificationType identification {
get {
return this.identificationField;
}
set {
this.identificationField = value;
this.RaisePropertyChanged("identification");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public idType id {
get {
return this.idField;
}
set {
this.idField = value;
this.RaisePropertyChanged("id");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public System.DateTime ata {
get {
return this.ataField;
}
set {
this.ataField = value;
this.RaisePropertyChanged("ata");
}
}
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));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34234")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class identificationType : object, System.ComponentModel.INotifyPropertyChanged {
private string typeField;
private string nameField;
private string addressField;
private string firstContactField;
private string emailField;
private string phoneField;
private string faxField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string type {
get {
return this.typeField;
}
set {
this.typeField = value;
this.RaisePropertyChanged("type");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
public string name {
get {
return this.nameField;
}
set {
this.nameField = value;
this.RaisePropertyChanged("name");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public string address {
get {
return this.addressField;
}
set {
this.addressField = value;
this.RaisePropertyChanged("address");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public string firstContact {
get {
return this.firstContactField;
}
set {
this.firstContactField = value;
this.RaisePropertyChanged("firstContact");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public string email {
get {
return this.emailField;
}
set {
this.emailField = value;
this.RaisePropertyChanged("email");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=5)]
public string phone {
get {
return this.phoneField;
}
set {
this.phoneField = value;
this.RaisePropertyChanged("phone");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=6)]
public string fax {
get {
return this.faxField;
}
set {
this.faxField = value;
this.RaisePropertyChanged("fax");
}
}
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));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34234")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class idType : object, System.ComponentModel.INotifyPropertyChanged {
private string itemField;
private ItemChoiceType itemElementNameField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("transitId", typeof(string), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("visitId", typeof(string), Order=0)]
[System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemElementName")]
public string Item {
get {
return this.itemField;
}
set {
this.itemField = value;
this.RaisePropertyChanged("Item");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
[System.Xml.Serialization.XmlIgnoreAttribute()]
public ItemChoiceType ItemElementName {
get {
return this.itemElementNameField;
}
set {
this.itemElementNameField = value;
this.RaisePropertyChanged("ItemElementName");
}
}
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));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.34234")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(IncludeInSchema=false)]
public enum ItemChoiceType {
/// <remarks/>
transitId,
/// <remarks/>
visitId,
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class notifyRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public NSWClient.ataServiceReference.ataNotification ataNotification;
public notifyRequest() {
}
public notifyRequest(NSWClient.ataServiceReference.ataNotification ataNotification) {
this.ataNotification = ataNotification;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class notifyResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public bool accepted;
public notifyResponse() {
}
public notifyResponse(bool accepted) {
this.accepted = accepted;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class cancelAtaNotificationForVisitIdRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public string visitId;
public cancelAtaNotificationForVisitIdRequest() {
}
public cancelAtaNotificationForVisitIdRequest(string visitId) {
this.visitId = visitId;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class cancelAtaNotificationForVisitIdResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public bool success;
public cancelAtaNotificationForVisitIdResponse() {
}
public cancelAtaNotificationForVisitIdResponse(bool success) {
this.success = success;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class cancelAtaNotificationForTransitIdRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public string transitId;
public cancelAtaNotificationForTransitIdRequest() {
}
public cancelAtaNotificationForTransitIdRequest(string transitId) {
this.transitId = transitId;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class cancelAtaNotificationForTransitIdResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public bool success;
public cancelAtaNotificationForTransitIdResponse() {
}
public cancelAtaNotificationForTransitIdResponse(bool success) {
this.success = success;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface AtaNotificationServiceChannel : NSWClient.ataServiceReference.AtaNotificationService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class AtaNotificationServiceClient : System.ServiceModel.ClientBase<NSWClient.ataServiceReference.AtaNotificationService>, NSWClient.ataServiceReference.AtaNotificationService {
public AtaNotificationServiceClient() {
}
public AtaNotificationServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public AtaNotificationServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public AtaNotificationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public AtaNotificationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
NSWClient.ataServiceReference.notifyResponse NSWClient.ataServiceReference.AtaNotificationService.notify(NSWClient.ataServiceReference.notifyRequest request) {
return base.Channel.notify(request);
}
public bool notify(NSWClient.ataServiceReference.ataNotification ataNotification) {
NSWClient.ataServiceReference.notifyRequest inValue = new NSWClient.ataServiceReference.notifyRequest();
inValue.ataNotification = ataNotification;
NSWClient.ataServiceReference.notifyResponse retVal = ((NSWClient.ataServiceReference.AtaNotificationService)(this)).notify(inValue);
return retVal.accepted;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
NSWClient.ataServiceReference.cancelAtaNotificationForVisitIdResponse NSWClient.ataServiceReference.AtaNotificationService.cancelAtaNotificationForVisitId(NSWClient.ataServiceReference.cancelAtaNotificationForVisitIdRequest request) {
return base.Channel.cancelAtaNotificationForVisitId(request);
}
public bool cancelAtaNotificationForVisitId(string visitId) {
NSWClient.ataServiceReference.cancelAtaNotificationForVisitIdRequest inValue = new NSWClient.ataServiceReference.cancelAtaNotificationForVisitIdRequest();
inValue.visitId = visitId;
NSWClient.ataServiceReference.cancelAtaNotificationForVisitIdResponse retVal = ((NSWClient.ataServiceReference.AtaNotificationService)(this)).cancelAtaNotificationForVisitId(inValue);
return retVal.success;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
NSWClient.ataServiceReference.cancelAtaNotificationForTransitIdResponse NSWClient.ataServiceReference.AtaNotificationService.cancelAtaNotificationForTransitId(NSWClient.ataServiceReference.cancelAtaNotificationForTransitIdRequest request) {
return base.Channel.cancelAtaNotificationForTransitId(request);
}
public bool cancelAtaNotificationForTransitId(string transitId) {
NSWClient.ataServiceReference.cancelAtaNotificationForTransitIdRequest inValue = new NSWClient.ataServiceReference.cancelAtaNotificationForTransitIdRequest();
inValue.transitId = transitId;
NSWClient.ataServiceReference.cancelAtaNotificationForTransitIdResponse retVal = ((NSWClient.ataServiceReference.AtaNotificationService)(this)).cancelAtaNotificationForTransitId(inValue);
return retVal.success;
}
}
}