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
d1f61ecf
Commit
d1f61ecf
authored
Dec 13, 2018
by
Greg Messner
Browse files
Added getDiscussionsApi() (#279).
parent
87d8dcfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/GitLabApi.java
View file @
d1f61ecf
...
@@ -51,6 +51,7 @@ public class GitLabApi {
...
@@ -51,6 +51,7 @@ public class GitLabApi {
private
AwardEmojiApi
awardEmojiApi
;
private
AwardEmojiApi
awardEmojiApi
;
private
CommitsApi
commitsApi
;
private
CommitsApi
commitsApi
;
private
DiscussionsApi
discussionsApi
;
private
DeployKeysApi
deployKeysApi
;
private
DeployKeysApi
deployKeysApi
;
private
EpicsApi
epicsApi
;
private
EpicsApi
epicsApi
;
private
EventsApi
eventsApi
;
private
EventsApi
eventsApi
;
...
@@ -916,7 +917,7 @@ public class GitLabApi {
...
@@ -916,7 +917,7 @@ public class GitLabApi {
* Gets the DeployKeysApi instance owned by this GitLabApi instance. The DeployKeysApi is used
* Gets the DeployKeysApi instance owned by this GitLabApi instance. The DeployKeysApi is used
* to perform all deploy key related API calls.
* to perform all deploy key related API calls.
*
*
* @return the
Commit
sApi instance owned by this GitLabApi instance
* @return the
DeployKey
sApi instance owned by this GitLabApi instance
*/
*/
public
DeployKeysApi
getDeployKeysApi
()
{
public
DeployKeysApi
getDeployKeysApi
()
{
...
@@ -931,6 +932,25 @@ public class GitLabApi {
...
@@ -931,6 +932,25 @@ public class GitLabApi {
return
(
deployKeysApi
);
return
(
deployKeysApi
);
}
}
/**
* Gets the DiscussionsApi instance owned by this GitLabApi instance. The DiscussionsApi is used
* to perform all discussion related API calls.
*
* @return the DiscussionsApi instance owned by this GitLabApi instance
*/
public
DiscussionsApi
getDiscussionsApi
()
{
if
(
discussionsApi
==
null
)
{
synchronized
(
this
)
{
if
(
discussionsApi
==
null
)
{
discussionsApi
=
new
DiscussionsApi
(
this
);
}
}
}
return
(
discussionsApi
);
}
/**
/**
* Gets the EpicsApi instance owned by this GitLabApi instance. The EpicsApi is used
* Gets the EpicsApi instance owned by this GitLabApi instance. The EpicsApi is used
* to perform all Epics and Epic Issues related API calls.
* to perform all Epics and Epic Issues related API calls.
...
...
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