Skip to content

Commit

Permalink
Add 'project' parameter to Markdown API (#1086)
Browse files Browse the repository at this point in the history
Co-authored-by: jskim <jskim0450@argonet.co.kr>
  • Loading branch information
jmini and ddoleye authored Feb 5, 2024
1 parent 0028d7e commit ef3ffb7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/java/org/gitlab4j/api/models/MarkdownRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@ public class MarkdownRequest implements Serializable {

private String text;
private boolean gfm;
private String project;

public MarkdownRequest(String text, boolean gfm) {
this.text = text;
this.gfm = gfm;
}

public MarkdownRequest(String text, boolean gfm, String project) {
this.text = text;
this.gfm = gfm;
this.project = project;
}

public String getText() {
return text;
}
Expand All @@ -28,4 +35,12 @@ public boolean isGfm() {
public void setGfm(boolean gfm) {
this.gfm = gfm;
}

public String getProject() {
return project;
}

public void setProject(String project) {
this.project = project;
}
}

0 comments on commit ef3ffb7

Please sign in to comment.