//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// This code was generated by XmlSchemaClassGenerator version 3.0.1270.0 using the following command:
// xscgen --namespace http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement=AyCode.Services.Nav.Ekaer.Models --namespace http://schemas.nav.gov.hu/EKAER/1.0/common=AyCode.Services.Nav.Ekaer.Models.Common --nullable --separateFiles --output C:/Users/Fullepi/Downloads/ekaer/Generated2 C:/Users/Fullepi/Downloads/ekaer/ekaermanagement.xsd
namespace AyCode.Services.Nav.Ekaer.Models
{
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "3.0.1270.0")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute("TradeCardOperationResultType", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class TradeCardOperationResultType
    {
        
        [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)]
        [System.Xml.Serialization.XmlElementAttribute("result")]
        public OperationResultType Result { get; set; }
        
        /// <summary>
        /// <para>A server oldalon aktuális adatok a bejelentésről. Ha create volt az operation és nem sikerült a végrehajtás akkor ez az elem nem fog létezni a váalszban!</para>
        /// </summary>
        [System.ComponentModel.DescriptionAttribute(("A server oldalon aktuális adatok a bejelentésről. Ha create volt az operation és " +
            "nem sikerült a végrehajtás akkor ez az elem nem fog létezni a váalszban!"))]
        [System.Xml.Serialization.XmlElementAttribute("tradeCardInfo")]
        public TradeCardInfoType TradeCardInfo { get; set; }
        
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        private System.Collections.ObjectModel.Collection<NavValidationType> _navValidations;
        
        [System.Xml.Serialization.XmlArrayAttribute("NAVValidations")]
        [System.Xml.Serialization.XmlArrayItemAttribute("NAVValidation", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement")]
        public System.Collections.ObjectModel.Collection<NavValidationType> NavValidations
        {
            get
            {
                return _navValidations;
            }
            private set
            {
                _navValidations = value;
            }
        }
        
        /// <summary>
        /// <para xml:lang="en">Gets a value indicating whether the NavValidations collection is empty.</para>
        /// </summary>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool NavValidationsSpecified
        {
            get
            {
                return (this.NavValidations.Count != 0);
            }
        }
        
        /// <summary>
        /// <para xml:lang="en">Initializes a new instance of the <see cref="TradeCardOperationResultType" /> class.</para>
        /// </summary>
        public TradeCardOperationResultType()
        {
            this._navValidations = new System.Collections.ObjectModel.Collection<NavValidationType>();
            this._warnings = new System.Collections.ObjectModel.Collection<AyCode.Services.Nav.Ekaer.Models.Common.ReasonCodeType>();
        }
        
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        private System.Collections.ObjectModel.Collection<AyCode.Services.Nav.Ekaer.Models.Common.ReasonCodeType> _warnings;
        
        [System.Xml.Serialization.XmlArrayAttribute("warnings")]
        [System.Xml.Serialization.XmlArrayItemAttribute("warning", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/ekaermanagement")]
        public System.Collections.ObjectModel.Collection<AyCode.Services.Nav.Ekaer.Models.Common.ReasonCodeType> Warnings
        {
            get
            {
                return _warnings;
            }
            private set
            {
                _warnings = value;
            }
        }
        
        /// <summary>
        /// <para xml:lang="en">Gets a value indicating whether the Warnings collection is empty.</para>
        /// </summary>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool WarningsSpecified
        {
            get
            {
                return (this.Warnings.Count != 0);
            }
        }
    }
}
