Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
ef3ffb73
Unverified
Commit
ef3ffb73
authored
1 year ago
by
Jérémie Bresson
Committed by
GitHub
1 year ago
Browse files
Options
Download
Email Patches
Plain Diff
Add 'project' parameter to Markdown API (#1086)
Co-authored-by:
jskim
<
jskim0450@argonet.co.kr
>
parent
0028d7e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/gitlab4j/api/models/MarkdownRequest.java
+15
-0
src/main/java/org/gitlab4j/api/models/MarkdownRequest.java
with
15 additions
and
0 deletions
+15
-0
src/main/java/org/gitlab4j/api/models/MarkdownRequest.java
+
15
-
0
View file @
ef3ffb73
...
...
@@ -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
;
}
...
...
@@ -28,4 +35,12 @@ public class MarkdownRequest implements Serializable {
public
void
setGfm
(
boolean
gfm
)
{
this
.
gfm
=
gfm
;
}
public
String
getProject
()
{
return
project
;
}
public
void
setProject
(
String
project
)
{
this
.
project
=
project
;
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment