public SubscriptionData(string channelName, string sourceRepository, string targetRepository, string targetBranch, Models.SubscriptionPolicy policy) { ChannelName = channelName; SourceRepository = sourceRepository; TargetRepository = targetRepository; TargetBranch = targetBranch; Policy = policy; }
public SubscriptionData(string channelName, string sourceRepository, string targetRepository, string targetBranch, Models.SubscriptionPolicy policy, string failureNotificationTags) { ChannelName = channelName; SourceRepository = sourceRepository; TargetRepository = targetRepository; TargetBranch = targetBranch; Policy = policy; PullRequestFailureNotificationTags = failureNotificationTags; }