Class ReleasePipelinesBetaApi


  • public class ReleasePipelinesBetaApi
    extends java.lang.Object
    • Constructor Detail

      • ReleasePipelinesBetaApi

        public ReleasePipelinesBetaApi()
      • ReleasePipelinesBetaApi

        public ReleasePipelinesBetaApi​(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)
      • deleteReleasePipelineCall

        public okhttp3.Call deleteReleasePipelineCall​(java.lang.String projectKey,
                                                      java.lang.String pipelineKey,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for deleteReleasePipeline
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteReleasePipeline

        public void deleteReleasePipeline​(java.lang.String projectKey,
                                          java.lang.String pipelineKey)
                                   throws ApiException
        Delete release pipeline Delete a release pipeline
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteReleasePipelineWithHttpInfo

        public ApiResponse<java.lang.Void> deleteReleasePipelineWithHttpInfo​(java.lang.String projectKey,
                                                                             java.lang.String pipelineKey)
                                                                      throws ApiException
        Delete release pipeline Delete a release pipeline
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteReleasePipelineAsync

        public okhttp3.Call deleteReleasePipelineAsync​(java.lang.String projectKey,
                                                       java.lang.String pipelineKey,
                                                       ApiCallback<java.lang.Void> _callback)
                                                throws ApiException
        Delete release pipeline (asynchronously) Delete a release pipeline
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline 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
      • getAllReleasePipelinesCall

        public okhttp3.Call getAllReleasePipelinesCall​(java.lang.String projectKey,
                                                       ApiCallback _callback)
                                                throws ApiException
        Build call for getAllReleasePipelines
        Parameters:
        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
      • getAllReleasePipelines

        public ReleasePipelineCollection getAllReleasePipelines​(java.lang.String projectKey)
                                                         throws ApiException
        Get all release pipelines Get all release pipelines for a project
        Parameters:
        projectKey - The project key (required)
        Returns:
        ReleasePipelineCollection
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllReleasePipelinesWithHttpInfo

        public ApiResponse<ReleasePipelineCollection> getAllReleasePipelinesWithHttpInfo​(java.lang.String projectKey)
                                                                                  throws ApiException
        Get all release pipelines Get all release pipelines for a project
        Parameters:
        projectKey - The project key (required)
        Returns:
        ApiResponse<ReleasePipelineCollection>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllReleasePipelinesAsync

        public okhttp3.Call getAllReleasePipelinesAsync​(java.lang.String projectKey,
                                                        ApiCallback<ReleasePipelineCollection> _callback)
                                                 throws ApiException
        Get all release pipelines (asynchronously) Get all release pipelines for a project
        Parameters:
        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
      • getReleasePipelineByKeyCall

        public okhttp3.Call getReleasePipelineByKeyCall​(java.lang.String projectKey,
                                                        java.lang.String pipelineKey,
                                                        ApiCallback _callback)
                                                 throws ApiException
        Build call for getReleasePipelineByKey
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getReleasePipelineByKey

        public ReleasePipeline getReleasePipelineByKey​(java.lang.String projectKey,
                                                       java.lang.String pipelineKey)
                                                throws ApiException
        Get release pipeline by key Get a release pipeline by key
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        Returns:
        ReleasePipeline
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getReleasePipelineByKeyWithHttpInfo

        public ApiResponse<ReleasePipeline> getReleasePipelineByKeyWithHttpInfo​(java.lang.String projectKey,
                                                                                java.lang.String pipelineKey)
                                                                         throws ApiException
        Get release pipeline by key Get a release pipeline by key
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        Returns:
        ApiResponse<ReleasePipeline>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getReleasePipelineByKeyAsync

        public okhttp3.Call getReleasePipelineByKeyAsync​(java.lang.String projectKey,
                                                         java.lang.String pipelineKey,
                                                         ApiCallback<ReleasePipeline> _callback)
                                                  throws ApiException
        Get release pipeline by key (asynchronously) Get a release pipeline by key
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline 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
      • patchReleasePipelineCall

        public okhttp3.Call patchReleasePipelineCall​(java.lang.String projectKey,
                                                     java.lang.String pipelineKey,
                                                     ApiCallback _callback)
                                              throws ApiException
        Build call for patchReleasePipeline
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • patchReleasePipeline

        public ReleasePipeline patchReleasePipeline​(java.lang.String projectKey,
                                                    java.lang.String pipelineKey)
                                             throws ApiException
        Update a release pipeline Updates a release pipeline. Updating a release pipeline uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        Returns:
        ReleasePipeline
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchReleasePipelineWithHttpInfo

        public ApiResponse<ReleasePipeline> patchReleasePipelineWithHttpInfo​(java.lang.String projectKey,
                                                                             java.lang.String pipelineKey)
                                                                      throws ApiException
        Update a release pipeline Updates a release pipeline. Updating a release pipeline uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline key (required)
        Returns:
        ApiResponse<ReleasePipeline>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • patchReleasePipelineAsync

        public okhttp3.Call patchReleasePipelineAsync​(java.lang.String projectKey,
                                                      java.lang.String pipelineKey,
                                                      ApiCallback<ReleasePipeline> _callback)
                                               throws ApiException
        Update a release pipeline (asynchronously) Updates a release pipeline. Updating a release pipeline uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](/#section/Overview/Updates).
        Parameters:
        projectKey - The project key (required)
        pipelineKey - The release pipeline 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
      • postReleasePipelineCall

        public okhttp3.Call postReleasePipelineCall​(java.lang.String projectKey,
                                                    CreateReleasePipelineInput createReleasePipelineInput,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for postReleasePipeline
        Parameters:
        projectKey - The project key (required)
        createReleasePipelineInput - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • postReleasePipeline

        public ReleasePipeline postReleasePipeline​(java.lang.String projectKey,
                                                   CreateReleasePipelineInput createReleasePipelineInput)
                                            throws ApiException
        Create a release pipeline Creates a new release pipeline
        Parameters:
        projectKey - The project key (required)
        createReleasePipelineInput - (required)
        Returns:
        ReleasePipeline
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postReleasePipelineWithHttpInfo

        public ApiResponse<ReleasePipeline> postReleasePipelineWithHttpInfo​(java.lang.String projectKey,
                                                                            CreateReleasePipelineInput createReleasePipelineInput)
                                                                     throws ApiException
        Create a release pipeline Creates a new release pipeline
        Parameters:
        projectKey - The project key (required)
        createReleasePipelineInput - (required)
        Returns:
        ApiResponse<ReleasePipeline>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postReleasePipelineAsync

        public okhttp3.Call postReleasePipelineAsync​(java.lang.String projectKey,
                                                     CreateReleasePipelineInput createReleasePipelineInput,
                                                     ApiCallback<ReleasePipeline> _callback)
                                              throws ApiException
        Create a release pipeline (asynchronously) Creates a new release pipeline
        Parameters:
        projectKey - The project key (required)
        createReleasePipelineInput - (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