Example #1
0
 public CreateIssueParams(IdOrKey projectId, string summary, long issueTypeId, IssuePriorityType priority)
 {
     AddNewParam("projectId", projectId);
     AddNewParam("summary", summary);
     AddNewParam("issueTypeId", issueTypeId);
     AddNewParam("priorityId", priority.ToString("D"));
 }
 public AddPullRequestCommentParams(IdOrKey projectIdOrKey, IdOrKey repoIdOrName, long number, string content)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.RepoIdOrName   = repoIdOrName;
     this.Number         = number;
     AddNewParam("content", content);
 }
 public AddPullRequestParams(IdOrKey projectIdOrKey, IdOrKey repoIdOrName, string summary, string description, string @base, string branch)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.RepoIdOrName   = repoIdOrName;
     AddNewParam("summary", summary);
     AddNewParam("description", description);
     AddNewParam("base", @base);
     AddNewParam("branch", branch);
 }
Example #4
0
 protected AddCustomFieldParams(IdOrKey projectIdOrKey, CustomFieldType fieldType, string name)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("typeId", fieldType.ToString("D"));
     AddNewParam("name", name);
 }
 /// <param name="issueIdOrKey">the issue identifier</param>
 /// <param name="content">the comment content</param>
 public AddIssueCommentParams(IdOrKey issueIdOrKey, string content)
 {
     this.IssueIdOrKey = issueIdOrKey;
     AddNewParam("content", content);
 }
 public AddNumericCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.Numeric, name)
 {
 }
 public UpdateMultipleListCustomFieldParams(IdOrKey projectIdOrKey, long customFiledId)
     : base(projectIdOrKey, customFiledId)
 {
 }
Example #8
0
 public AddIssueTypeParams(IdOrKey projectIdOrKey, string name, string color)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("color", color);
     AddNewParam("name", name);
 }
Example #9
0
 public UpdateWebhookParams(IdOrKey projectIdOrKey, long webhookId)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.WebhookId      = webhookId;
 }
Example #10
0
 public UpdateCustomFieldParams(IdOrKey projectIdOrKey, long customFiledId)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.CustomFiledId  = customFiledId;
 }
Example #11
0
 /// <param name="projectidOrKey">the project identifier</param>
 /// <param name="name">the category name</param>
 public AddCategoryParams(IdOrKey projectIdOrKey, string name)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("name", name);
 }
Example #12
0
 public AddMilestoneParams(IdOrKey projectIdOrKey, string name)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("name", name);
 }
Example #13
0
 public AddVersionParams(IdOrKey projectIdOrKey, string name)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("name", name);
 }
 public AddDateCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.Date, name)
 {
 }
 public UpdateIssueCommentParams(IdOrKey issueIdOrKey, long commentId, string content)
 {
     this.IssueIdOrKey = issueIdOrKey;
     this.CommentId    = commentId;
     AddNewParam("content", content);
 }
Example #16
0
 public CreateWebhookParams(IdOrKey projectIdOrKey, string name, string hookUrl)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("name", name ?? "");
     AddNewParam("hookUrl", hookUrl ?? "");
 }
 public UpdatePullRequestParams(IdOrKey projectIdOrKey, IdOrKey repoIdOrName, long number)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.RepoIdOrName   = repoIdOrName;
     this.Number         = number;
 }
Example #18
0
 public ImportIssueParams(IdOrKey projectId, string summary, long issueTypeId, IssuePriorityType priority)
     : base(projectId, summary, issueTypeId, priority)
 {
 }
Example #19
0
 public AddTextCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.Text, name)
 {
 }
Example #20
0
 public UpdateIssueTypeParams(IdOrKey projectIdOrKey, long issueTypeId)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.IssueTypeId    = issueTypeId;
 }
Example #21
0
 public UpdateIssueParams(IdOrKey issueIdOrKey)
 {
     this.IssueIdOrKey = issueIdOrKey;
 }
Example #22
0
 public AddRadioCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.Radio, name)
 {
 }
Example #23
0
 public AddCheckBoxCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.CheckBox, name)
 {
 }
Example #24
0
 public UpdateDateCustomFieldParams(IdOrKey projectIdOrKey, long customFiledId)
     : base(projectIdOrKey, customFiledId)
 {
 }
 public ImportUpdateIssueParams(IdOrKey issueIdOrKey) : base(issueIdOrKey)
 {
 }
Example #26
0
 public AddMultipleListCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.MultipleList, name)
 {
 }
Example #27
0
 public UpdateVersionParams(IdOrKey projectIdOrKey, long versionId, string name)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.VersionId      = versionId;
     AddNewParam("name", name);
 }
Example #28
0
 /// <param name="issueIdOrKey">the issue identifier</param>
 /// <param name="commentId">the comment identifier</param>
 /// <param name="notifiedUserIds">the user identifiers for notification</param>
 public AddIssueCommentNotificationParams(IdOrKey issueIdOrKey, long commentId, IList <long> notifiedUserIds)
 {
     this.IssueIdOrKey = issueIdOrKey;
     this.CommentId    = commentId;
     AddNewArrayParams("notifiedUserId[]", notifiedUserIds);
 }
Example #29
0
 public GetWikiTagsParams(IdOrKey projectIdOrKey)
 {
     AddNewParam("projectIdOrKey", projectIdOrKey);
 }
Example #30
0
 public UpdateProjectParams(IdOrKey projectIdOrKey)
 {
     this.ProjectIdOrKey = projectIdOrKey;
 }