Class FittingsApi


  • public class FittingsApi
    extends Object
    • Constructor Detail

      • FittingsApi

        public FittingsApi()
      • FittingsApi

        public FittingsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • deleteCharactersCharacterIdFittingsFittingIdCall

        public okhttp3.Call deleteCharactersCharacterIdFittingsFittingIdCall​(Integer characterId,
                                                                             Integer fittingId,
                                                                             String datasource,
                                                                             String token,
                                                                             ApiCallback _callback)
                                                                      throws ApiException
        Build call for deleteCharactersCharacterIdFittingsFittingId
        Parameters:
        characterId - An EVE character ID (required)
        fittingId - ID for a fitting of this character (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteCharactersCharacterIdFittingsFittingId

        public void deleteCharactersCharacterIdFittingsFittingId​(Integer characterId,
                                                                 Integer fittingId,
                                                                 String datasource,
                                                                 String token)
                                                          throws ApiException
        Delete fitting Delete a fitting from a character --- SSO Scope: esi-fittings.write_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        fittingId - ID for a fitting of this character (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (optional)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteCharactersCharacterIdFittingsFittingIdWithHttpInfo

        public ApiResponse<Void> deleteCharactersCharacterIdFittingsFittingIdWithHttpInfo​(Integer characterId,
                                                                                          Integer fittingId,
                                                                                          String datasource,
                                                                                          String token)
                                                                                   throws ApiException
        Delete fitting Delete a fitting from a character --- SSO Scope: esi-fittings.write_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        fittingId - ID for a fitting of this character (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (optional)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteCharactersCharacterIdFittingsFittingIdAsync

        public okhttp3.Call deleteCharactersCharacterIdFittingsFittingIdAsync​(Integer characterId,
                                                                              Integer fittingId,
                                                                              String datasource,
                                                                              String token,
                                                                              ApiCallback<Void> _callback)
                                                                       throws ApiException
        Delete fitting (asynchronously) Delete a fitting from a character --- SSO Scope: esi-fittings.write_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        fittingId - ID for a fitting of this character (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (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
      • getCharactersCharacterIdFittingsCall

        public okhttp3.Call getCharactersCharacterIdFittingsCall​(Integer characterId,
                                                                 String datasource,
                                                                 String ifNoneMatch,
                                                                 String token,
                                                                 ApiCallback _callback)
                                                          throws ApiException
        Build call for getCharactersCharacterIdFittings
        Parameters:
        characterId - An EVE character ID (required)
        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)
        token - Access token to use if unable to set a header (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getCharactersCharacterIdFittings

        public List<CharacterFittingsResponse> getCharactersCharacterIdFittings​(Integer characterId,
                                                                                String datasource,
                                                                                String ifNoneMatch,
                                                                                String token)
                                                                         throws ApiException
        Get fittings Return fittings of a character --- This route is cached for up to 300 seconds SSO Scope: esi-fittings.read_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        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)
        token - Access token to use if unable to set a header (optional)
        Returns:
        List<CharacterFittingsResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getCharactersCharacterIdFittingsWithHttpInfo

        public ApiResponse<List<CharacterFittingsResponse>> getCharactersCharacterIdFittingsWithHttpInfo​(Integer characterId,
                                                                                                         String datasource,
                                                                                                         String ifNoneMatch,
                                                                                                         String token)
                                                                                                  throws ApiException
        Get fittings Return fittings of a character --- This route is cached for up to 300 seconds SSO Scope: esi-fittings.read_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        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)
        token - Access token to use if unable to set a header (optional)
        Returns:
        ApiResponse<List<CharacterFittingsResponse>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getCharactersCharacterIdFittingsAsync

        public okhttp3.Call getCharactersCharacterIdFittingsAsync​(Integer characterId,
                                                                  String datasource,
                                                                  String ifNoneMatch,
                                                                  String token,
                                                                  ApiCallback<List<CharacterFittingsResponse>> _callback)
                                                           throws ApiException
        Get fittings (asynchronously) Return fittings of a character --- This route is cached for up to 300 seconds SSO Scope: esi-fittings.read_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        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)
        token - Access token to use if unable to set a header (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
      • postCharactersCharacterIdFittingsCall

        public okhttp3.Call postCharactersCharacterIdFittingsCall​(Integer characterId,
                                                                  CharacterFitting fitting,
                                                                  String datasource,
                                                                  String token,
                                                                  ApiCallback _callback)
                                                           throws ApiException
        Build call for postCharactersCharacterIdFittings
        Parameters:
        characterId - An EVE character ID (required)
        fitting - (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • postCharactersCharacterIdFittings

        public CharacterFittingResponse postCharactersCharacterIdFittings​(Integer characterId,
                                                                          CharacterFitting fitting,
                                                                          String datasource,
                                                                          String token)
                                                                   throws ApiException
        Create fitting Save a new fitting for a character --- SSO Scope: esi-fittings.write_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        fitting - (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (optional)
        Returns:
        CharacterFittingResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postCharactersCharacterIdFittingsWithHttpInfo

        public ApiResponse<CharacterFittingResponse> postCharactersCharacterIdFittingsWithHttpInfo​(Integer characterId,
                                                                                                   CharacterFitting fitting,
                                                                                                   String datasource,
                                                                                                   String token)
                                                                                            throws ApiException
        Create fitting Save a new fitting for a character --- SSO Scope: esi-fittings.write_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        fitting - (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (optional)
        Returns:
        ApiResponse<CharacterFittingResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • postCharactersCharacterIdFittingsAsync

        public okhttp3.Call postCharactersCharacterIdFittingsAsync​(Integer characterId,
                                                                   CharacterFitting fitting,
                                                                   String datasource,
                                                                   String token,
                                                                   ApiCallback<CharacterFittingResponse> _callback)
                                                            throws ApiException
        Create fitting (asynchronously) Save a new fitting for a character --- SSO Scope: esi-fittings.write_fittings.v1
        Parameters:
        characterId - An EVE character ID (required)
        fitting - (required)
        datasource - The server name you would like data from (optional, default to tranquility)
        token - Access token to use if unable to set a header (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