public CreateSubscriptionQuery(CreateSubscription subscription)
 {
     EventType             = subscription.EventType;
     ConsumerId            = subscription.ConsumerId;
     ConsumerActionId      = subscription.ConsumerActionId;
     PublisherId           = subscription.PublisherId;
     PublisherInputFilters = subscription.PublisherInputs
                             .Select(pi => new InputFilter
     {
         Conditions = new List <InputFilterCondition>
         {
             new InputFilterCondition
             {
                 InputId    = pi.Key,
                 InputValue = pi.Value,
                 Operator   = 0
             }
         }
     })
                             .ToList();
     ConsumerInputFilters = new List <InputFilter>
     {
         new InputFilter
         {
             Conditions = new List <InputFilterCondition>
             {
                 new InputFilterCondition
                 {
                     InputId    = "url",
                     InputValue = subscription.ConsumerInputs.Url,
                     Operator   = 0
                 }
             }
         }
     };
 }