Class IntegrationLinksApi


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

      • IntegrationLinksApi

        public IntegrationLinksApi()
      • IntegrationLinksApi

        public IntegrationLinksApi​(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)
      • addOrUpdateIntegrationLinkCall

        public okhttp3.Call addOrUpdateIntegrationLinkCall​(java.util.UUID environmentId,
                                                           java.lang.Integer settingId,
                                                           IntegrationLinkType integrationLinkType,
                                                           java.lang.String key,
                                                           AddOrUpdateIntegrationLinkModel addOrUpdateIntegrationLinkModel,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for addOrUpdateIntegrationLink
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (required)
        addOrUpdateIntegrationLinkModel - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • addOrUpdateIntegrationLink

        public IntegrationLinkModel addOrUpdateIntegrationLink​(java.util.UUID environmentId,
                                                               java.lang.Integer settingId,
                                                               IntegrationLinkType integrationLinkType,
                                                               java.lang.String key,
                                                               AddOrUpdateIntegrationLinkModel addOrUpdateIntegrationLinkModel)
                                                        throws ApiException
        Add or update Integration link
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (required)
        addOrUpdateIntegrationLinkModel - (optional)
        Returns:
        IntegrationLinkModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • addOrUpdateIntegrationLinkWithHttpInfo

        public ApiResponse<IntegrationLinkModel> addOrUpdateIntegrationLinkWithHttpInfo​(java.util.UUID environmentId,
                                                                                        java.lang.Integer settingId,
                                                                                        IntegrationLinkType integrationLinkType,
                                                                                        java.lang.String key,
                                                                                        AddOrUpdateIntegrationLinkModel addOrUpdateIntegrationLinkModel)
                                                                                 throws ApiException
        Add or update Integration link
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (required)
        addOrUpdateIntegrationLinkModel - (optional)
        Returns:
        ApiResponse<IntegrationLinkModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • addOrUpdateIntegrationLinkAsync

        public okhttp3.Call addOrUpdateIntegrationLinkAsync​(java.util.UUID environmentId,
                                                            java.lang.Integer settingId,
                                                            IntegrationLinkType integrationLinkType,
                                                            java.lang.String key,
                                                            AddOrUpdateIntegrationLinkModel addOrUpdateIntegrationLinkModel,
                                                            ApiCallback<IntegrationLinkModel> _callback)
                                                     throws ApiException
        Add or update Integration link (asynchronously)
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (required)
        addOrUpdateIntegrationLinkModel - (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
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteIntegrationLinkCall

        public okhttp3.Call deleteIntegrationLinkCall​(java.util.UUID environmentId,
                                                      java.lang.Integer settingId,
                                                      IntegrationLinkType integrationLinkType,
                                                      java.lang.String key,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for deleteIntegrationLink
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration's type. (required)
        key - The key of the integration link. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteIntegrationLink

        public DeleteIntegrationLinkModel deleteIntegrationLink​(java.util.UUID environmentId,
                                                                java.lang.Integer settingId,
                                                                IntegrationLinkType integrationLinkType,
                                                                java.lang.String key)
                                                         throws ApiException
        Delete Integration link
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration's type. (required)
        key - The key of the integration link. (required)
        Returns:
        DeleteIntegrationLinkModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteIntegrationLinkWithHttpInfo

        public ApiResponse<DeleteIntegrationLinkModel> deleteIntegrationLinkWithHttpInfo​(java.util.UUID environmentId,
                                                                                         java.lang.Integer settingId,
                                                                                         IntegrationLinkType integrationLinkType,
                                                                                         java.lang.String key)
                                                                                  throws ApiException
        Delete Integration link
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration's type. (required)
        key - The key of the integration link. (required)
        Returns:
        ApiResponse<DeleteIntegrationLinkModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteIntegrationLinkAsync

        public okhttp3.Call deleteIntegrationLinkAsync​(java.util.UUID environmentId,
                                                       java.lang.Integer settingId,
                                                       IntegrationLinkType integrationLinkType,
                                                       java.lang.String key,
                                                       ApiCallback<DeleteIntegrationLinkModel> _callback)
                                                throws ApiException
        Delete Integration link (asynchronously)
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        integrationLinkType - The integration's type. (required)
        key - The key of the integration link. (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
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getIntegrationLinkDetailsCall

        public okhttp3.Call getIntegrationLinkDetailsCall​(IntegrationLinkType integrationLinkType,
                                                          java.lang.String key,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for getIntegrationLinkDetails
        Parameters:
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the details for the integration link returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getIntegrationLinkDetails

        public IntegrationLinkDetailsModel getIntegrationLinkDetails​(IntegrationLinkType integrationLinkType,
                                                                     java.lang.String key)
                                                              throws ApiException
        Get Integration link
        Parameters:
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (required)
        Returns:
        IntegrationLinkDetailsModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the details for the integration link returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getIntegrationLinkDetailsWithHttpInfo

        public ApiResponse<IntegrationLinkDetailsModel> getIntegrationLinkDetailsWithHttpInfo​(IntegrationLinkType integrationLinkType,
                                                                                              java.lang.String key)
                                                                                       throws ApiException
        Get Integration link
        Parameters:
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (required)
        Returns:
        ApiResponse<IntegrationLinkDetailsModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the details for the integration link returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getIntegrationLinkDetailsAsync

        public okhttp3.Call getIntegrationLinkDetailsAsync​(IntegrationLinkType integrationLinkType,
                                                           java.lang.String key,
                                                           ApiCallback<IntegrationLinkDetailsModel> _callback)
                                                    throws ApiException
        Get Integration link (asynchronously)
        Parameters:
        integrationLinkType - The integration link's type. (required)
        key - The key of the integration link. (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
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the details for the integration link returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraAddOrUpdateIntegrationLinkCall

        public okhttp3.Call jiraAddOrUpdateIntegrationLinkCall​(java.util.UUID environmentId,
                                                               java.lang.Integer settingId,
                                                               java.lang.String key,
                                                               AddOrUpdateJiraIntegrationLinkModel addOrUpdateJiraIntegrationLinkModel,
                                                               ApiCallback _callback)
                                                        throws ApiException
        Build call for jiraAddOrUpdateIntegrationLink
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        key - The key of the integration link. (required)
        addOrUpdateJiraIntegrationLinkModel - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraAddOrUpdateIntegrationLink

        public IntegrationLinkModel jiraAddOrUpdateIntegrationLink​(java.util.UUID environmentId,
                                                                   java.lang.Integer settingId,
                                                                   java.lang.String key,
                                                                   AddOrUpdateJiraIntegrationLinkModel addOrUpdateJiraIntegrationLinkModel)
                                                            throws ApiException
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        key - The key of the integration link. (required)
        addOrUpdateJiraIntegrationLinkModel - (optional)
        Returns:
        IntegrationLinkModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraAddOrUpdateIntegrationLinkWithHttpInfo

        public ApiResponse<IntegrationLinkModel> jiraAddOrUpdateIntegrationLinkWithHttpInfo​(java.util.UUID environmentId,
                                                                                            java.lang.Integer settingId,
                                                                                            java.lang.String key,
                                                                                            AddOrUpdateJiraIntegrationLinkModel addOrUpdateJiraIntegrationLinkModel)
                                                                                     throws ApiException
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        key - The key of the integration link. (required)
        addOrUpdateJiraIntegrationLinkModel - (optional)
        Returns:
        ApiResponse<IntegrationLinkModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraAddOrUpdateIntegrationLinkAsync

        public okhttp3.Call jiraAddOrUpdateIntegrationLinkAsync​(java.util.UUID environmentId,
                                                                java.lang.Integer settingId,
                                                                java.lang.String key,
                                                                AddOrUpdateJiraIntegrationLinkModel addOrUpdateJiraIntegrationLinkModel,
                                                                ApiCallback<IntegrationLinkModel> _callback)
                                                         throws ApiException
        (asynchronously)
        Parameters:
        environmentId - The identifier of the Environment. (required)
        settingId - The id of the Setting. (required)
        key - The key of the integration link. (required)
        addOrUpdateJiraIntegrationLinkModel - (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
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the integration link data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraConnectCall

        public okhttp3.Call jiraConnectCall​(ConnectRequest connectRequest,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for jiraConnect
        Parameters:
        connectRequest - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 OK -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraConnect

        public void jiraConnect​(ConnectRequest connectRequest)
                         throws ApiException
        Parameters:
        connectRequest - (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 OK -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraConnectWithHttpInfo

        public ApiResponse<java.lang.Void> jiraConnectWithHttpInfo​(ConnectRequest connectRequest)
                                                            throws ApiException
        Parameters:
        connectRequest - (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 OK -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • jiraConnectAsync

        public okhttp3.Call jiraConnectAsync​(ConnectRequest connectRequest,
                                             ApiCallback<java.lang.Void> _callback)
                                      throws ApiException
        (asynchronously)
        Parameters:
        connectRequest - (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
        Http Response Details
        Status Code Description Response Headers
        200 OK -
        429 Too many requests. In case of the request rate exceeds the rate limits. -