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

618 lines
26 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.wasteNotificationServiceReference {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://new.webservice.namespace", ConfigurationName="wasteNotificationServiceReference.WasteNotificationService")]
public interface WasteNotificationService {
// 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.wasteNotificationServiceReference.notifyResponse notify(NSWClient.wasteNotificationServiceReference.notifyRequest request);
// CODEGEN: Generating message contract since the operation cancelWasteNotificationForVisitId is neither RPC nor document wrapped.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForVisitIdResponse cancelWasteNotificationForVisitId(NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForVisitIdRequest request);
// CODEGEN: Generating message contract since the operation cancelWasteNotificationForTransitId is neither RPC nor document wrapped.
[System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForTransitIdResponse cancelWasteNotificationForTransitId(NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForTransitIdRequest 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 wasteNotification : object, System.ComponentModel.INotifyPropertyChanged {
private identificationType identificationField;
private idType idField;
private wasteType wasteField;
/// <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 wasteType waste {
get {
return this.wasteField;
}
set {
this.wasteField = value;
this.RaisePropertyChanged("waste");
}
}
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 wasteType : object, System.ComponentModel.INotifyPropertyChanged {
private object itemField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("exemption", typeof(wasteTypeExemption), Order=0)]
[System.Xml.Serialization.XmlElementAttribute("notification", typeof(wasteTypeNotification), Order=0)]
public object Item {
get {
return this.itemField;
}
set {
this.itemField = value;
this.RaisePropertyChanged("Item");
}
}
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")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class wasteTypeExemption : object, System.ComponentModel.INotifyPropertyChanged {
private string[] wasteManagementCompantyField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("wasteManagementCompanty", Order=0)]
public string[] wasteManagementCompanty {
get {
return this.wasteManagementCompantyField;
}
set {
this.wasteManagementCompantyField = value;
this.RaisePropertyChanged("wasteManagementCompanty");
}
}
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")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class wasteTypeNotification : object, System.ComponentModel.INotifyPropertyChanged {
private string lastPortOfWasteDischargedField;
private System.DateTime lastDisposalField;
private wasteTypeNotificationWasteDeliveryType wasteDeliveryTypeField;
private object typeAndQuantityField;
private string portForDisposalOfRemainingWasteField;
private string wasteAmountGeneratedBetweenPortOfCallsField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
public string lastPortOfWasteDischarged {
get {
return this.lastPortOfWasteDischargedField;
}
set {
this.lastPortOfWasteDischargedField = value;
this.RaisePropertyChanged("lastPortOfWasteDischarged");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=1)]
public System.DateTime lastDisposal {
get {
return this.lastDisposalField;
}
set {
this.lastDisposalField = value;
this.RaisePropertyChanged("lastDisposal");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
public wasteTypeNotificationWasteDeliveryType wasteDeliveryType {
get {
return this.wasteDeliveryTypeField;
}
set {
this.wasteDeliveryTypeField = value;
this.RaisePropertyChanged("wasteDeliveryType");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
public object typeAndQuantity {
get {
return this.typeAndQuantityField;
}
set {
this.typeAndQuantityField = value;
this.RaisePropertyChanged("typeAndQuantity");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
public string portForDisposalOfRemainingWaste {
get {
return this.portForDisposalOfRemainingWasteField;
}
set {
this.portForDisposalOfRemainingWasteField = value;
this.RaisePropertyChanged("portForDisposalOfRemainingWaste");
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Order=5)]
public string wasteAmountGeneratedBetweenPortOfCalls {
get {
return this.wasteAmountGeneratedBetweenPortOfCallsField;
}
set {
this.wasteAmountGeneratedBetweenPortOfCallsField = value;
this.RaisePropertyChanged("wasteAmountGeneratedBetweenPortOfCalls");
}
}
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(AnonymousType=true)]
public enum wasteTypeNotificationWasteDeliveryType {
/// <remarks/>
ALL,
/// <remarks/>
SOME,
/// <remarks/>
NONE,
}
/// <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.wasteNotificationServiceReference.wasteNotification wasteNotification;
public notifyRequest() {
}
public notifyRequest(NSWClient.wasteNotificationServiceReference.wasteNotification wasteNotification) {
this.wasteNotification = wasteNotification;
}
}
[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 cancelWasteNotificationForVisitIdRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public string visitId;
public cancelWasteNotificationForVisitIdRequest() {
}
public cancelWasteNotificationForVisitIdRequest(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 cancelWasteNotificationForVisitIdResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public bool success;
public cancelWasteNotificationForVisitIdResponse() {
}
public cancelWasteNotificationForVisitIdResponse(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 cancelWasteNotificationForTransitIdRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public string transitId;
public cancelWasteNotificationForTransitIdRequest() {
}
public cancelWasteNotificationForTransitIdRequest(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 cancelWasteNotificationForTransitIdResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=0)]
public bool success;
public cancelWasteNotificationForTransitIdResponse() {
}
public cancelWasteNotificationForTransitIdResponse(bool success) {
this.success = success;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface WasteNotificationServiceChannel : NSWClient.wasteNotificationServiceReference.WasteNotificationService, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class WasteNotificationServiceClient : System.ServiceModel.ClientBase<NSWClient.wasteNotificationServiceReference.WasteNotificationService>, NSWClient.wasteNotificationServiceReference.WasteNotificationService {
public WasteNotificationServiceClient() {
}
public WasteNotificationServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public WasteNotificationServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public WasteNotificationServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public WasteNotificationServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
NSWClient.wasteNotificationServiceReference.notifyResponse NSWClient.wasteNotificationServiceReference.WasteNotificationService.notify(NSWClient.wasteNotificationServiceReference.notifyRequest request) {
return base.Channel.notify(request);
}
public bool notify(NSWClient.wasteNotificationServiceReference.wasteNotification wasteNotification) {
NSWClient.wasteNotificationServiceReference.notifyRequest inValue = new NSWClient.wasteNotificationServiceReference.notifyRequest();
inValue.wasteNotification = wasteNotification;
NSWClient.wasteNotificationServiceReference.notifyResponse retVal = ((NSWClient.wasteNotificationServiceReference.WasteNotificationService)(this)).notify(inValue);
return retVal.accepted;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForVisitIdResponse NSWClient.wasteNotificationServiceReference.WasteNotificationService.cancelWasteNotificationForVisitId(NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForVisitIdRequest request) {
return base.Channel.cancelWasteNotificationForVisitId(request);
}
public bool cancelWasteNotificationForVisitId(string visitId) {
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForVisitIdRequest inValue = new NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForVisitIdRequest();
inValue.visitId = visitId;
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForVisitIdResponse retVal = ((NSWClient.wasteNotificationServiceReference.WasteNotificationService)(this)).cancelWasteNotificationForVisitId(inValue);
return retVal.success;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForTransitIdResponse NSWClient.wasteNotificationServiceReference.WasteNotificationService.cancelWasteNotificationForTransitId(NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForTransitIdRequest request) {
return base.Channel.cancelWasteNotificationForTransitId(request);
}
public bool cancelWasteNotificationForTransitId(string transitId) {
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForTransitIdRequest inValue = new NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForTransitIdRequest();
inValue.transitId = transitId;
NSWClient.wasteNotificationServiceReference.cancelWasteNotificationForTransitIdResponse retVal = ((NSWClient.wasteNotificationServiceReference.WasteNotificationService)(this)).cancelWasteNotificationForTransitId(inValue);
return retVal.success;
}
}
}