public SubscriptionData(string channelName, string sourceRepository, string targetRepository, string targetBranch, Models.SubscriptionPolicy policy)
 {
     ChannelName      = channelName;
     SourceRepository = sourceRepository;
     TargetRepository = targetRepository;
     TargetBranch     = targetBranch;
     Policy           = policy;
 }
Example #2
0
 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;
 }