Package com.launchdarkly.api.api
Class InsightsRepositoriesBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.InsightsRepositoriesBetaApi
-
public class InsightsRepositoriesBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InsightsRepositoriesBetaApi()InsightsRepositoriesBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightsRepositoryProjectCollectionassociateRepositoriesAndProjects(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings)Associate repositories with projects Associate repositories with projectsokhttp3.CallassociateRepositoriesAndProjectsAsync(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings, ApiCallback<InsightsRepositoryProjectCollection> _callback)Associate repositories with projects (asynchronously) Associate repositories with projectsokhttp3.CallassociateRepositoriesAndProjectsCall(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings, ApiCallback _callback)Build call for associateRepositoriesAndProjectsApiResponse<InsightsRepositoryProjectCollection>associateRepositoriesAndProjectsWithHttpInfo(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings)Associate repositories with projects Associate repositories with projectsvoiddeleteRepositoryProject(java.lang.String repositoryKey, java.lang.String projectKey)Remove repository project association Remove repository project associationokhttp3.CalldeleteRepositoryProjectAsync(java.lang.String repositoryKey, java.lang.String projectKey, ApiCallback<java.lang.Void> _callback)Remove repository project association (asynchronously) Remove repository project associationokhttp3.CalldeleteRepositoryProjectCall(java.lang.String repositoryKey, java.lang.String projectKey, ApiCallback _callback)Build call for deleteRepositoryProjectApiResponse<java.lang.Void>deleteRepositoryProjectWithHttpInfo(java.lang.String repositoryKey, java.lang.String projectKey)Remove repository project association Remove repository project associationApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()InsightsRepositoryCollectiongetInsightsRepositories(java.lang.String expand)List repositories Get a list of repositories ### Expanding the repository collection response LaunchDarkly supports expanding the repository collection response to include additional fields.okhttp3.CallgetInsightsRepositoriesAsync(java.lang.String expand, ApiCallback<InsightsRepositoryCollection> _callback)List repositories (asynchronously) Get a list of repositories ### Expanding the repository collection response LaunchDarkly supports expanding the repository collection response to include additional fields.okhttp3.CallgetInsightsRepositoriesCall(java.lang.String expand, ApiCallback _callback)Build call for getInsightsRepositoriesApiResponse<InsightsRepositoryCollection>getInsightsRepositoriesWithHttpInfo(java.lang.String expand)List repositories Get a list of repositories ### Expanding the repository collection response LaunchDarkly supports expanding the repository collection response to include additional fields.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
InsightsRepositoriesBetaApi
public InsightsRepositoriesBetaApi()
-
InsightsRepositoriesBetaApi
public InsightsRepositoriesBetaApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
associateRepositoriesAndProjectsCall
public okhttp3.Call associateRepositoriesAndProjectsCall(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings, ApiCallback _callback) throws ApiException
Build call for associateRepositoriesAndProjects- Parameters:
insightsRepositoryProjectMappings- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
associateRepositoriesAndProjects
public InsightsRepositoryProjectCollection associateRepositoriesAndProjects(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings) throws ApiException
Associate repositories with projects Associate repositories with projects- Parameters:
insightsRepositoryProjectMappings- (required)- Returns:
- InsightsRepositoryProjectCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
associateRepositoriesAndProjectsWithHttpInfo
public ApiResponse<InsightsRepositoryProjectCollection> associateRepositoriesAndProjectsWithHttpInfo(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings) throws ApiException
Associate repositories with projects Associate repositories with projects- Parameters:
insightsRepositoryProjectMappings- (required)- Returns:
- ApiResponse<InsightsRepositoryProjectCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
associateRepositoriesAndProjectsAsync
public okhttp3.Call associateRepositoriesAndProjectsAsync(InsightsRepositoryProjectMappings insightsRepositoryProjectMappings, ApiCallback<InsightsRepositoryProjectCollection> _callback) throws ApiException
Associate repositories with projects (asynchronously) Associate repositories with projects- Parameters:
insightsRepositoryProjectMappings- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deleteRepositoryProjectCall
public okhttp3.Call deleteRepositoryProjectCall(java.lang.String repositoryKey, java.lang.String projectKey, ApiCallback _callback) throws ApiExceptionBuild call for deleteRepositoryProject- Parameters:
repositoryKey- The repository key (required)projectKey- The project key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteRepositoryProject
public void deleteRepositoryProject(java.lang.String repositoryKey, java.lang.String projectKey) throws ApiExceptionRemove repository project association Remove repository project association- Parameters:
repositoryKey- The repository key (required)projectKey- The project key (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteRepositoryProjectWithHttpInfo
public ApiResponse<java.lang.Void> deleteRepositoryProjectWithHttpInfo(java.lang.String repositoryKey, java.lang.String projectKey) throws ApiException
Remove repository project association Remove repository project association- Parameters:
repositoryKey- The repository key (required)projectKey- The project key (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteRepositoryProjectAsync
public okhttp3.Call deleteRepositoryProjectAsync(java.lang.String repositoryKey, java.lang.String projectKey, ApiCallback<java.lang.Void> _callback) throws ApiExceptionRemove repository project association (asynchronously) Remove repository project association- Parameters:
repositoryKey- The repository key (required)projectKey- The project key (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getInsightsRepositoriesCall
public okhttp3.Call getInsightsRepositoriesCall(java.lang.String expand, ApiCallback _callback) throws ApiExceptionBuild call for getInsightsRepositories- Parameters:
expand- Expand properties in response. Options: `projects` (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getInsightsRepositories
public InsightsRepositoryCollection getInsightsRepositories(java.lang.String expand) throws ApiException
List repositories Get a list of repositories ### Expanding the repository collection response LaunchDarkly supports expanding the repository collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `projects` includes details on all of the LaunchDarkly projects associated with each repository For example, use `?expand=projects` to include the `projects` field in the response. By default, this field is **not** included in the response.- Parameters:
expand- Expand properties in response. Options: `projects` (optional)- Returns:
- InsightsRepositoryCollection
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightsRepositoriesWithHttpInfo
public ApiResponse<InsightsRepositoryCollection> getInsightsRepositoriesWithHttpInfo(java.lang.String expand) throws ApiException
List repositories Get a list of repositories ### Expanding the repository collection response LaunchDarkly supports expanding the repository collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `projects` includes details on all of the LaunchDarkly projects associated with each repository For example, use `?expand=projects` to include the `projects` field in the response. By default, this field is **not** included in the response.- Parameters:
expand- Expand properties in response. Options: `projects` (optional)- Returns:
- ApiResponse<InsightsRepositoryCollection>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getInsightsRepositoriesAsync
public okhttp3.Call getInsightsRepositoriesAsync(java.lang.String expand, ApiCallback<InsightsRepositoryCollection> _callback) throws ApiExceptionList repositories (asynchronously) Get a list of repositories ### Expanding the repository collection response LaunchDarkly supports expanding the repository collection response to include additional fields. To expand the response, append the `expand` query parameter and include the following: * `projects` includes details on all of the LaunchDarkly projects associated with each repository For example, use `?expand=projects` to include the `projects` field in the response. By default, this field is **not** included in the response.- Parameters:
expand- Expand properties in response. Options: `projects` (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-