﻿//------------------------------------------------------------------------------
// <auto-generated>
//     Этот код создан программой.
//     Исполняемая версия:4.0.30319.42000
//
//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
//     повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------

namespace NewPlatform.Flexberry.ServiceBus
{
    using System;
    using System.Xml;
    
    
    // *** Start programmer edit section *** (Using statements)

    // *** End programmer edit section *** (Using statements)


    /// <summary>
    /// HttpSubscription.
    /// </summary>
    // *** Start programmer edit section *** (HttpSubscription CustomAttributes)

    // *** End programmer edit section *** (HttpSubscription CustomAttributes)
    public class HttpSubscription
    {
        
        private string fClientId;
        
        private string fMessageTypeId;
        
        private DateTime? fExpiryDate;
        
        private bool fCallback;
        
        private string fSendBy;
        
        private string fDescription;
        
        // *** Start programmer edit section *** (HttpSubscription CustomMembers)

        // *** End programmer edit section *** (HttpSubscription CustomMembers)

        
        /// <summary>
        /// ClientId.
        /// </summary>
        // *** Start programmer edit section *** (HttpSubscription.ClientId CustomAttributes)

        // *** End programmer edit section *** (HttpSubscription.ClientId CustomAttributes)
        public virtual string ClientId
        {
            get
            {
                // *** Start programmer edit section *** (HttpSubscription.ClientId Get start)

                // *** End programmer edit section *** (HttpSubscription.ClientId Get start)
                string result = this.fClientId;
                // *** Start programmer edit section *** (HttpSubscription.ClientId Get end)

                // *** End programmer edit section *** (HttpSubscription.ClientId Get end)
                return result;
            }
            set
            {
                // *** Start programmer edit section *** (HttpSubscription.ClientId Set start)

                // *** End programmer edit section *** (HttpSubscription.ClientId Set start)
                this.fClientId = value;
                // *** Start programmer edit section *** (HttpSubscription.ClientId Set end)

                // *** End programmer edit section *** (HttpSubscription.ClientId Set end)
            }
        }
        
        /// <summary>
        /// MessageTypeId.
        /// </summary>
        // *** Start programmer edit section *** (HttpSubscription.MessageTypeId CustomAttributes)

        // *** End programmer edit section *** (HttpSubscription.MessageTypeId CustomAttributes)
        public virtual string MessageTypeId
        {
            get
            {
                // *** Start programmer edit section *** (HttpSubscription.MessageTypeId Get start)

                // *** End programmer edit section *** (HttpSubscription.MessageTypeId Get start)
                string result = this.fMessageTypeId;
                // *** Start programmer edit section *** (HttpSubscription.MessageTypeId Get end)

                // *** End programmer edit section *** (HttpSubscription.MessageTypeId Get end)
                return result;
            }
            set
            {
                // *** Start programmer edit section *** (HttpSubscription.MessageTypeId Set start)

                // *** End programmer edit section *** (HttpSubscription.MessageTypeId Set start)
                this.fMessageTypeId = value;
                // *** Start programmer edit section *** (HttpSubscription.MessageTypeId Set end)

                // *** End programmer edit section *** (HttpSubscription.MessageTypeId Set end)
            }
        }
        
        /// <summary>
        /// ExpiryDate.
        /// </summary>
        // *** Start programmer edit section *** (HttpSubscription.ExpiryDate CustomAttributes)

        // *** End programmer edit section *** (HttpSubscription.ExpiryDate CustomAttributes)
        public virtual DateTime? ExpiryDate
        {
            get
            {
                // *** Start programmer edit section *** (HttpSubscription.ExpiryDate Get start)

                // *** End programmer edit section *** (HttpSubscription.ExpiryDate Get start)
                DateTime? result = this.fExpiryDate;
                // *** Start programmer edit section *** (HttpSubscription.ExpiryDate Get end)

                // *** End programmer edit section *** (HttpSubscription.ExpiryDate Get end)
                return result;
            }
            set
            {
                // *** Start programmer edit section *** (HttpSubscription.ExpiryDate Set start)

                // *** End programmer edit section *** (HttpSubscription.ExpiryDate Set start)
                this.fExpiryDate = value;
                // *** Start programmer edit section *** (HttpSubscription.ExpiryDate Set end)

                // *** End programmer edit section *** (HttpSubscription.ExpiryDate Set end)
            }
        }
        
        /// <summary>
        /// Callback.
        /// </summary>
        // *** Start programmer edit section *** (HttpSubscription.Callback CustomAttributes)

        // *** End programmer edit section *** (HttpSubscription.Callback CustomAttributes)
        public virtual bool Callback
        {
            get
            {
                // *** Start programmer edit section *** (HttpSubscription.Callback Get start)

                // *** End programmer edit section *** (HttpSubscription.Callback Get start)
                bool result = this.fCallback;
                // *** Start programmer edit section *** (HttpSubscription.Callback Get end)

                // *** End programmer edit section *** (HttpSubscription.Callback Get end)
                return result;
            }
            set
            {
                // *** Start programmer edit section *** (HttpSubscription.Callback Set start)

                // *** End programmer edit section *** (HttpSubscription.Callback Set start)
                this.fCallback = value;
                // *** Start programmer edit section *** (HttpSubscription.Callback Set end)

                // *** End programmer edit section *** (HttpSubscription.Callback Set end)
            }
        }
        
        /// <summary>
        /// SendBy.
        /// </summary>
        // *** Start programmer edit section *** (HttpSubscription.SendBy CustomAttributes)

        // *** End programmer edit section *** (HttpSubscription.SendBy CustomAttributes)
        public virtual string SendBy
        {
            get
            {
                // *** Start programmer edit section *** (HttpSubscription.SendBy Get start)

                // *** End programmer edit section *** (HttpSubscription.SendBy Get start)
                string result = this.fSendBy;
                // *** Start programmer edit section *** (HttpSubscription.SendBy Get end)

                // *** End programmer edit section *** (HttpSubscription.SendBy Get end)
                return result;
            }
            set
            {
                // *** Start programmer edit section *** (HttpSubscription.SendBy Set start)

                // *** End programmer edit section *** (HttpSubscription.SendBy Set start)
                this.fSendBy = value;
                // *** Start programmer edit section *** (HttpSubscription.SendBy Set end)

                // *** End programmer edit section *** (HttpSubscription.SendBy Set end)
            }
        }
        
        /// <summary>
        /// Description.
        /// </summary>
        // *** Start programmer edit section *** (HttpSubscription.Description CustomAttributes)

        // *** End programmer edit section *** (HttpSubscription.Description CustomAttributes)
        public virtual string Description
        {
            get
            {
                // *** Start programmer edit section *** (HttpSubscription.Description Get start)

                // *** End programmer edit section *** (HttpSubscription.Description Get start)
                string result = this.fDescription;
                // *** Start programmer edit section *** (HttpSubscription.Description Get end)

                // *** End programmer edit section *** (HttpSubscription.Description Get end)
                return result;
            }
            set
            {
                // *** Start programmer edit section *** (HttpSubscription.Description Set start)

                // *** End programmer edit section *** (HttpSubscription.Description Set start)
                this.fDescription = value;
                // *** Start programmer edit section *** (HttpSubscription.Description Set end)

                // *** End programmer edit section *** (HttpSubscription.Description Set end)
            }
        }
    }
}
