using System;
using System.Collections.Generic;

namespace WebHookService.Services.Models
{
    /// <summary>
    /// The subscription call represents a subscription of an endpoint to a specific event.
    /// </summary>
    public class Subscription
    {
        /// <summary>
        /// Specifies the Uri to call in order to invoke the event for this subscription.
        /// </summary>
        public Uri InvocationUri { get; set; }

        /// <summary>
        /// All headers contained in the invocation request will also be copied to the handling request.
        /// </summary>
        public IDictionary<string, string> AdditionalHeaders { get; set; }
    }
}