Class InsightsRepositoriesBetaApi


  • public class InsightsRepositoriesBetaApi
    extends java.lang.Object
    • 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 ApiException
        Build 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 ApiException
        Remove 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 ApiException
        Remove 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 ApiException
        Build 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 ApiException
        List 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