//------------------------------------------------------------------------------
// <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.Common
{
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("XmlSchemaClassGenerator", "3.0.1270.0")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute("BasicHeaderType", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/common")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlRootAttribute("BasicHeaderType", Namespace="http://schemas.nav.gov.hu/EKAER/1.0/common")]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(BasicPackageQueryRequestType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(BasicPackageQueryResponseType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(BasicRequestType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(BasicResponseType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(Fault))]
    public partial class BasicHeaderType
    {
        
        /// <summary>
        /// <para>A kérés azonosítója, minden request-nél más</para>
        /// <para xml:lang="en">Maximum length: 30.</para>
        /// </summary>
        [System.ComponentModel.DescriptionAttribute("A kérés azonosítója, minden request-nél más")]
        [System.ComponentModel.DataAnnotations.MaxLengthAttribute(30)]
        [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)]
        [System.Xml.Serialization.XmlAttributeAttribute("requestId")]
        public string RequestId { get; set; }
        
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        private string _version = "1.0";
        
        /// <summary>
        /// <para>A request verziószáma, a request struktúra verziója</para>
        /// <para xml:lang="en">Minimum length: 3.</para>
        /// <para xml:lang="en">Maximum length: 6.</para>
        /// <para xml:lang="en">Pattern: [0-9]{1,2}\.[0-9]{1,3}.</para>
        /// </summary>
        [System.ComponentModel.DefaultValueAttribute("1.0")]
        [System.ComponentModel.DescriptionAttribute("A request verziószáma, a request struktúra verziója")]
        [System.ComponentModel.DataAnnotations.MinLengthAttribute(3)]
        [System.ComponentModel.DataAnnotations.MaxLengthAttribute(6)]
        [System.ComponentModel.DataAnnotations.RegularExpressionAttribute("[0-9]{1,2}\\.[0-9]{1,3}")]
        [System.Xml.Serialization.XmlAttributeAttribute("version")]
        public string Version
        {
            get
            {
                return _version;
            }
            set
            {
                _version = value;
            }
        }
        
        /// <summary>
        /// <para>A kérés keletkezésének ideje</para>
        /// </summary>
        [System.ComponentModel.DescriptionAttribute("A kérés keletkezésének ideje")]
        [System.ComponentModel.DataAnnotations.RequiredAttribute(AllowEmptyStrings=true)]
        [System.Xml.Serialization.XmlAttributeAttribute("timestamp", DataType="dateTime")]
        public System.DateTime Timestamp { get; set; }
    }
}
