File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/main/java/org/gitlab4j/api Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ public String getApiNamespace() {
5252 private Session session ;
5353
5454 private ApplicationsApi applicationsApi ;
55+ private ApplicationSettingsApi applicationSettingsApi ;
5556 private AwardEmojiApi awardEmojiApi ;
5657 private BoardsApi boardsApi ;
5758 private CommitsApi commitsApi ;
@@ -912,6 +913,25 @@ public ApplicationsApi getApplicationsApi() {
912913 return (applicationsApi );
913914 }
914915
916+ /**
917+ * Gets the ApplicationSettingsApi instance owned by this GitLabApi instance. The ApplicationSettingsApi is used
918+ * to perform all application settingsrelated API calls.
919+ *
920+ * @return the ApplicationsApi instance owned by this GitLabApi instance
921+ */
922+ public ApplicationSettingsApi getApplicationSettingsApi () {
923+
924+ if (applicationSettingsApi == null ) {
925+ synchronized (this ) {
926+ if (applicationSettingsApi == null ) {
927+ applicationSettingsApi = new ApplicationSettingsApi (this );
928+ }
929+ }
930+ }
931+
932+ return (applicationSettingsApi );
933+ }
934+
915935 /**
916936 * Gets the AwardEmojiApi instance owned by this GitLabApi instance. The AwardEmojiApi is used
917937 * to perform all award emoji related API calls.
You can’t perform that action at this time.
0 commit comments