Class OtherApi


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

      • OtherApi

        public OtherApi()
      • OtherApi

        public OtherApi​(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)
      • getIpsCall

        public okhttp3.Call getIpsCall​(ApiCallback _callback)
                                throws ApiException
        Build call for getIps
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getIps

        public IpList getIps()
                      throws ApiException
        Gets the public IP list Get a list of IP ranges the LaunchDarkly service uses. You can use this list to allow LaunchDarkly through your firewall. <br /><br />This endpoint returns a JSON object with two attributes: `addresses` and `outboundAddresses`. The `addresses` element contains the IP addresses LaunchDarkly's service uses. The `outboundAddresses` element contains the IP addresses outgoing webhook notifications use.<br /><br />We post upcoming changes to this list in advance on our [status page](https://status.launchdarkly.com/). <br /><br />In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Returns:
        IpList
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getIpsWithHttpInfo

        public ApiResponse<IpList> getIpsWithHttpInfo()
                                               throws ApiException
        Gets the public IP list Get a list of IP ranges the LaunchDarkly service uses. You can use this list to allow LaunchDarkly through your firewall. <br /><br />This endpoint returns a JSON object with two attributes: `addresses` and `outboundAddresses`. The `addresses` element contains the IP addresses LaunchDarkly's service uses. The `outboundAddresses` element contains the IP addresses outgoing webhook notifications use.<br /><br />We post upcoming changes to this list in advance on our [status page](https://status.launchdarkly.com/). <br /><br />In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Returns:
        ApiResponse<IpList>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getIpsAsync

        public okhttp3.Call getIpsAsync​(ApiCallback<IpList> _callback)
                                 throws ApiException
        Gets the public IP list (asynchronously) Get a list of IP ranges the LaunchDarkly service uses. You can use this list to allow LaunchDarkly through your firewall. <br /><br />This endpoint returns a JSON object with two attributes: `addresses` and `outboundAddresses`. The `addresses` element contains the IP addresses LaunchDarkly's service uses. The `outboundAddresses` element contains the IP addresses outgoing webhook notifications use.<br /><br />We post upcoming changes to this list in advance on our [status page](https://status.launchdarkly.com/). <br /><br />In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Parameters:
        _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
      • getOpenapiSpecCall

        public okhttp3.Call getOpenapiSpecCall​(ApiCallback _callback)
                                        throws ApiException
        Build call for getOpenapiSpec
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getOpenapiSpec

        public void getOpenapiSpec()
                            throws ApiException
        Gets the OpenAPI spec in json Get the latest version of the OpenAPI specification for LaunchDarkly's API in JSON format. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getOpenapiSpecWithHttpInfo

        public ApiResponse<java.lang.Void> getOpenapiSpecWithHttpInfo()
                                                               throws ApiException
        Gets the OpenAPI spec in json Get the latest version of the OpenAPI specification for LaunchDarkly's API in JSON format. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getOpenapiSpecAsync

        public okhttp3.Call getOpenapiSpecAsync​(ApiCallback<java.lang.Void> _callback)
                                         throws ApiException
        Gets the OpenAPI spec in json (asynchronously) Get the latest version of the OpenAPI specification for LaunchDarkly's API in JSON format. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Parameters:
        _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
      • getRootCall

        public okhttp3.Call getRootCall​(ApiCallback _callback)
                                 throws ApiException
        Build call for getRoot
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getRoot

        public java.util.Map<java.lang.String,​Link> getRoot()
                                                           throws ApiException
        Root resource Get all of the resource categories the API supports. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Returns:
        Map<String, Link>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getRootWithHttpInfo

        public ApiResponse<java.util.Map<java.lang.String,​Link>> getRootWithHttpInfo()
                                                                                    throws ApiException
        Root resource Get all of the resource categories the API supports. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Returns:
        ApiResponse<Map<String, Link>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getRootAsync

        public okhttp3.Call getRootAsync​(ApiCallback<java.util.Map<java.lang.String,​Link>> _callback)
                                  throws ApiException
        Root resource (asynchronously) Get all of the resource categories the API supports. In the sandbox, click 'Try it' and enter any string in the 'Authorization' field to test this endpoint.
        Parameters:
        _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
      • getVersionsCall

        public okhttp3.Call getVersionsCall​(ApiCallback _callback)
                                     throws ApiException
        Build call for getVersions
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getVersions

        public VersionsRep getVersions()
                                throws ApiException
        Get version information Get the latest API version, the list of valid API versions in ascending order, and the version being used for this request. These are all in the external, date-based format.
        Returns:
        VersionsRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getVersionsWithHttpInfo

        public ApiResponse<VersionsRep> getVersionsWithHttpInfo()
                                                         throws ApiException
        Get version information Get the latest API version, the list of valid API versions in ascending order, and the version being used for this request. These are all in the external, date-based format.
        Returns:
        ApiResponse<VersionsRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getVersionsAsync

        public okhttp3.Call getVersionsAsync​(ApiCallback<VersionsRep> _callback)
                                      throws ApiException
        Get version information (asynchronously) Get the latest API version, the list of valid API versions in ascending order, and the version being used for this request. These are all in the external, date-based format.
        Parameters:
        _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