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);
 }
Beispiel #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)
 {
 }
Beispiel #8
0
 public AddIssueTypeParams(IdOrKey projectIdOrKey, string name, string color)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("color", color);
     AddNewParam("name", name);
 }
Beispiel #9
0
 public UpdateWebhookParams(IdOrKey projectIdOrKey, long webhookId)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.WebhookId      = webhookId;
 }
Beispiel #10
0
 public UpdateCustomFieldParams(IdOrKey projectIdOrKey, long customFiledId)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.CustomFiledId  = customFiledId;
 }
Beispiel #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);
 }
 public AddMilestoneParams(IdOrKey projectIdOrKey, string name)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     AddNewParam("name", name);
 }
Beispiel #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);
 }
Beispiel #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;
 }
Beispiel #18
0
 public ImportIssueParams(IdOrKey projectId, string summary, long issueTypeId, IssuePriorityType priority)
     : base(projectId, summary, issueTypeId, priority)
 {
 }
Beispiel #19
0
 public AddTextCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.Text, name)
 {
 }
Beispiel #20
0
 public UpdateIssueTypeParams(IdOrKey projectIdOrKey, long issueTypeId)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.IssueTypeId    = issueTypeId;
 }
Beispiel #21
0
 public UpdateIssueParams(IdOrKey issueIdOrKey)
 {
     this.IssueIdOrKey = issueIdOrKey;
 }
Beispiel #22
0
 public AddRadioCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.Radio, name)
 {
 }
Beispiel #23
0
 public AddCheckBoxCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.CheckBox, name)
 {
 }
Beispiel #24
0
 public UpdateDateCustomFieldParams(IdOrKey projectIdOrKey, long customFiledId)
     : base(projectIdOrKey, customFiledId)
 {
 }
 public ImportUpdateIssueParams(IdOrKey issueIdOrKey) : base(issueIdOrKey)
 {
 }
Beispiel #26
0
 public AddMultipleListCustomFieldParams(IdOrKey projectIdOrKey, string name)
     : base(projectIdOrKey, CustomFieldType.MultipleList, name)
 {
 }
 public UpdateVersionParams(IdOrKey projectIdOrKey, long versionId, string name)
 {
     this.ProjectIdOrKey = projectIdOrKey;
     this.VersionId      = versionId;
     AddNewParam("name", name);
 }
Beispiel #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);
 }
Beispiel #29
0
 public GetWikiTagsParams(IdOrKey projectIdOrKey)
 {
     AddNewParam("projectIdOrKey", projectIdOrKey);
 }
 public UpdateProjectParams(IdOrKey projectIdOrKey)
 {
     this.ProjectIdOrKey = projectIdOrKey;
 }