Class StatusApi


  • public class StatusApi
    extends Object
    • Constructor Detail

      • StatusApi

        public StatusApi()
      • StatusApi

        public StatusApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getStatusCall

        public okhttp3.Call getStatusCall​(String datasource,
                                          String ifNoneMatch,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for getStatus
        Parameters:
        datasource - The server name you would like data from (optional, default to tranquility)
        ifNoneMatch - ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getStatus

        public StatusResponse getStatus​(String datasource,
                                        String ifNoneMatch)
                                 throws ApiException
        Retrieve the uptime and player counts EVE Server status --- This route is cached for up to 30 seconds
        Parameters:
        datasource - The server name you would like data from (optional, default to tranquility)
        ifNoneMatch - ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)
        Returns:
        StatusResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStatusWithHttpInfo

        public ApiResponse<StatusResponse> getStatusWithHttpInfo​(String datasource,
                                                                 String ifNoneMatch)
                                                          throws ApiException
        Retrieve the uptime and player counts EVE Server status --- This route is cached for up to 30 seconds
        Parameters:
        datasource - The server name you would like data from (optional, default to tranquility)
        ifNoneMatch - ETag from a previous request. A 304 will be returned if this matches the current ETag (optional)
        Returns:
        ApiResponse<StatusResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStatusAsync

        public okhttp3.Call getStatusAsync​(String datasource,
                                           String ifNoneMatch,
                                           ApiCallback<StatusResponse> _callback)
                                    throws ApiException
        Retrieve the uptime and player counts (asynchronously) EVE Server status --- This route is cached for up to 30 seconds
        Parameters:
        datasource - The server name you would like data from (optional, default to tranquility)
        ifNoneMatch - ETag from a previous request. A 304 will be returned if this matches the current ETag (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