//------------------------------------------------------------------------------
// <auto-generated>
//     Il codice è stato generato da uno strumento.
//     Versione runtime:4.0.30319.18052
//
//     Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
//     il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------

namespace PhotoData.wsProposta {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", ConfigurationName="wsProposta.WsProposta")]
    public interface WsProposta {
        
        // CODEGEN: Il parametro 'operazioni' richiede informazioni sullo schema aggiuntive che non possono essere acquisite utilizzando la modalità parametro. L'attributo specifico è 'System.Xml.Serialization.XmlElementAttribute'.
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        [return: System.ServiceModel.MessageParameterAttribute(Name="modificaStatoPropostaReturn")]
        PhotoData.wsProposta.modificaStatoPropostaResponse modificaStatoProposta(PhotoData.wsProposta.modificaStatoPropostaRequest request);
        
        // CODEGEN: Il parametro 'getListeReturn' richiede informazioni sullo schema aggiuntive che non possono essere acquisite utilizzando la modalità parametro. L'attributo specifico è 'System.Xml.Serialization.XmlElementAttribute'.
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        [return: System.ServiceModel.MessageParameterAttribute(Name="getListeReturn")]
        PhotoData.wsProposta.getListeResponse getListe(PhotoData.wsProposta.getListeRequest request);
        
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        [return: System.ServiceModel.MessageParameterAttribute(Name="cancellaPropostaReturn")]
        int cancellaProposta(string propostaID);
        
        [System.ServiceModel.OperationContractAttribute(Action="", ReplyAction="*")]
        [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
        [return: System.ServiceModel.MessageParameterAttribute(Name="caricamentoMassivoReturn")]
        int caricamentoMassivo(int parallelCounter);
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.18054")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ws.proposta.services.fxc.bf.it")]
    public partial class Operazioni : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string idOperazioneField;
        
        private System.Nullable<bool> operazioneGestitaField;
        
        private string statoValidazioneField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)]
        public string idOperazione {
            get {
                return this.idOperazioneField;
            }
            set {
                this.idOperazioneField = value;
                this.RaisePropertyChanged("idOperazione");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)]
        public System.Nullable<bool> operazioneGestita {
            get {
                return this.operazioneGestitaField;
            }
            set {
                this.operazioneGestitaField = value;
                this.RaisePropertyChanged("operazioneGestita");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)]
        public string statoValidazione {
            get {
                return this.statoValidazioneField;
            }
            set {
                this.statoValidazioneField = value;
                this.RaisePropertyChanged("statoValidazione");
            }
        }
        
        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.18054")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://ws.proposta.services.fxc.bf.it")]
    public partial class Proposte : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string nomeField;
        
        private string idField;
        
        private string statoField;
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=0)]
        public string nome {
            get {
                return this.nomeField;
            }
            set {
                this.nomeField = value;
                this.RaisePropertyChanged("nome");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=1)]
        public string id {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
                this.RaisePropertyChanged("id");
            }
        }
        
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable=true, Order=2)]
        public string stato {
            get {
                return this.statoField;
            }
            set {
                this.statoField = value;
                this.RaisePropertyChanged("stato");
            }
        }
        
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="modificaStatoProposta", WrapperNamespace="http://ws.proposta.services.fxc.bf.it", IsWrapped=true)]
    public partial class modificaStatoPropostaRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=0)]
        public string propostaID;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=1)]
        public string statoFinale;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=2)]
        public string codiceAdeguatezza;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=3)]
        public System.DateTime dataValidazioneAdeguatezza;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=4)]
        [System.Xml.Serialization.XmlElementAttribute("operazioni")]
        public PhotoData.wsProposta.Operazioni[] operazioni;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=5)]
        public string urlSimulazione;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=6)]
        public string urlAdeguatezza;
        
        public modificaStatoPropostaRequest() {
        }
        
        public modificaStatoPropostaRequest(string propostaID, string statoFinale, string codiceAdeguatezza, System.DateTime dataValidazioneAdeguatezza, PhotoData.wsProposta.Operazioni[] operazioni, string urlSimulazione, string urlAdeguatezza) {
            this.propostaID = propostaID;
            this.statoFinale = statoFinale;
            this.codiceAdeguatezza = codiceAdeguatezza;
            this.dataValidazioneAdeguatezza = dataValidazioneAdeguatezza;
            this.operazioni = operazioni;
            this.urlSimulazione = urlSimulazione;
            this.urlAdeguatezza = urlAdeguatezza;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="modificaStatoPropostaResponse", WrapperNamespace="http://ws.proposta.services.fxc.bf.it", IsWrapped=true)]
    public partial class modificaStatoPropostaResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=0)]
        public int modificaStatoPropostaReturn;
        
        public modificaStatoPropostaResponse() {
        }
        
        public modificaStatoPropostaResponse(int modificaStatoPropostaReturn) {
            this.modificaStatoPropostaReturn = modificaStatoPropostaReturn;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="getListe", WrapperNamespace="http://ws.proposta.services.fxc.bf.it", IsWrapped=true)]
    public partial class getListeRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=0)]
        public string rete;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=1)]
        public string codiceFiscale;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=2)]
        public string mandato;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=3)]
        public string partitaIva;
        
        public getListeRequest() {
        }
        
        public getListeRequest(string rete, string codiceFiscale, string mandato, string partitaIva) {
            this.rete = rete;
            this.codiceFiscale = codiceFiscale;
            this.mandato = mandato;
            this.partitaIva = partitaIva;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
    [System.ServiceModel.MessageContractAttribute(WrapperName="getListeResponse", WrapperNamespace="http://ws.proposta.services.fxc.bf.it", IsWrapped=true)]
    public partial class getListeResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://ws.proposta.services.fxc.bf.it", Order=0)]
        [System.Xml.Serialization.XmlElementAttribute("getListeReturn")]
        public PhotoData.wsProposta.Proposte[] getListeReturn;
        
        public getListeResponse() {
        }
        
        public getListeResponse(PhotoData.wsProposta.Proposte[] getListeReturn) {
            this.getListeReturn = getListeReturn;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface WsPropostaChannel : PhotoData.wsProposta.WsProposta, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class WsPropostaClient : System.ServiceModel.ClientBase<PhotoData.wsProposta.WsProposta>, PhotoData.wsProposta.WsProposta {
        
        public WsPropostaClient() {
        }
        
        public WsPropostaClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public WsPropostaClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WsPropostaClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public WsPropostaClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        PhotoData.wsProposta.modificaStatoPropostaResponse PhotoData.wsProposta.WsProposta.modificaStatoProposta(PhotoData.wsProposta.modificaStatoPropostaRequest request) {
            return base.Channel.modificaStatoProposta(request);
        }
        
        public int modificaStatoProposta(string propostaID, string statoFinale, string codiceAdeguatezza, System.DateTime dataValidazioneAdeguatezza, PhotoData.wsProposta.Operazioni[] operazioni, string urlSimulazione, string urlAdeguatezza) {
            PhotoData.wsProposta.modificaStatoPropostaRequest inValue = new PhotoData.wsProposta.modificaStatoPropostaRequest();
            inValue.propostaID = propostaID;
            inValue.statoFinale = statoFinale;
            inValue.codiceAdeguatezza = codiceAdeguatezza;
            inValue.dataValidazioneAdeguatezza = dataValidazioneAdeguatezza;
            inValue.operazioni = operazioni;
            inValue.urlSimulazione = urlSimulazione;
            inValue.urlAdeguatezza = urlAdeguatezza;
            PhotoData.wsProposta.modificaStatoPropostaResponse retVal = ((PhotoData.wsProposta.WsProposta)(this)).modificaStatoProposta(inValue);
            return retVal.modificaStatoPropostaReturn;
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        PhotoData.wsProposta.getListeResponse PhotoData.wsProposta.WsProposta.getListe(PhotoData.wsProposta.getListeRequest request) {
            return base.Channel.getListe(request);
        }
        
        public PhotoData.wsProposta.Proposte[] getListe(string rete, string codiceFiscale, string mandato, string partitaIva) {
            PhotoData.wsProposta.getListeRequest inValue = new PhotoData.wsProposta.getListeRequest();
            inValue.rete = rete;
            inValue.codiceFiscale = codiceFiscale;
            inValue.mandato = mandato;
            inValue.partitaIva = partitaIva;
            PhotoData.wsProposta.getListeResponse retVal = ((PhotoData.wsProposta.WsProposta)(this)).getListe(inValue);
            return retVal.getListeReturn;
        }
        
        public int cancellaProposta(string propostaID) {
            return base.Channel.cancellaProposta(propostaID);
        }
        
        public int caricamentoMassivo(int parallelCounter) {
            return base.Channel.caricamentoMassivo(parallelCounter);
        }
    }
}