2019-06-03 23:25:05 +02:00
|
|
|
package org.mian.gitnex.models;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Author M M Arif
|
|
|
|
*/
|
|
|
|
|
|
|
|
public class CreateIssue {
|
|
|
|
|
|
|
|
private String body;
|
|
|
|
private boolean closed;
|
|
|
|
private String due_date;
|
|
|
|
private int milestone;
|
|
|
|
private String title;
|
|
|
|
|
|
|
|
private List<String> assignees;
|
2020-10-09 17:47:52 +02:00
|
|
|
private List<Integer> labels;
|
2019-06-03 23:25:05 +02:00
|
|
|
|
2020-10-09 17:47:52 +02:00
|
|
|
public CreateIssue(String assignee, String body, boolean closed, String due_date, int milestone, String title, List<String> assignees, List<Integer> labels) {
|
2019-06-03 23:25:05 +02:00
|
|
|
this.body = body;
|
|
|
|
this.closed = closed;
|
|
|
|
this.due_date = due_date;
|
|
|
|
this.milestone = milestone;
|
|
|
|
this.title = title;
|
|
|
|
this.assignees = assignees;
|
|
|
|
this.labels = labels;
|
|
|
|
}
|
|
|
|
|
2019-06-23 22:30:53 +02:00
|
|
|
public CreateIssue(String title, String body, String due_date, int milestone) {
|
2019-06-03 23:25:05 +02:00
|
|
|
this.title = title;
|
|
|
|
this.body = body;
|
|
|
|
this.due_date = due_date;
|
2019-06-23 22:30:53 +02:00
|
|
|
this.milestone = milestone;
|
2019-06-03 23:25:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
private class Assignees {
|
|
|
|
}
|
|
|
|
|
|
|
|
private class Labels {
|
|
|
|
}
|
|
|
|
}
|