File tree Expand file tree Collapse file tree
src/main/java/org/gitlab4j/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ public String getApiNamespace() {
8181 private RepositoryApi repositoryApi ;
8282 private RepositoryFileApi repositoryFileApi ;
8383 private RunnersApi runnersApi ;
84+ private SearchApi searchApi ;
8485 private ServicesApi servicesApi ;
8586 private SessionApi sessionApi ;
8687 private SnippetsApi snippetsApi ;
@@ -1462,6 +1463,25 @@ public RunnersApi getRunnersApi() {
14621463 return (runnersApi );
14631464 }
14641465
1466+ /**
1467+ * Gets the SearchApi instance owned by this GitLabApi instance. The SearchApi is used
1468+ * to perform search related API calls.
1469+ *
1470+ * @return the SearchApi instance owned by this GitLabApi instance
1471+ */
1472+ public SearchApi getSearchApi () {
1473+
1474+ if (searchApi == null ) {
1475+ synchronized (this ) {
1476+ if (searchApi == null ) {
1477+ searchApi = new SearchApi (this );
1478+ }
1479+ }
1480+ }
1481+
1482+ return (searchApi );
1483+ }
1484+
14651485 /**
14661486 * Gets the ServicesApi instance owned by this GitLabApi instance. The ServicesApi is used
14671487 * to perform all services related API calls.
You can’t perform that action at this time.
0 commit comments