Skip to content

Add 'project' parameter to Markdown API #1086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
}