public com . squareup . okhttp . Call getCharactersCharacterIdShipCall ( Integer characterId , String datasource , String ifNoneMatch , String token , final ApiCallback callback ) throws ApiException { Object localVarPostBody = new Object ( ) ; // create path and map variables String localVarPath = "/v1/characters/{character_id}/ship/" . replaceAll ( "\\{" + "character_id" + "\\}" , apiClient . escapeString ( characterId . toString ( ) ) ) ; List < Pair > localVarQueryParams = new ArrayList < Pair > ( ) ; List < Pair > localVarCollectionQueryParams = new ArrayList < Pair > ( ) ; if ( datasource != null ) { localVarQueryParams . addAll ( apiClient . parameterToPair ( "datasource" , datasource ) ) ; } if ( token != null ) { localVarQueryParams . addAll ( apiClient . parameterToPair ( "token" , token ) ) ; } Map < String , String > localVarHeaderParams = new HashMap < String , String > ( ) ; if ( ifNoneMatch != null ) { localVarHeaderParams . put ( "If-None-Match" , apiClient . parameterToString ( ifNoneMatch ) ) ; } Map < String , Object > localVarFormParams = new HashMap < String , Object > ( ) ; final String [ ] localVarAccepts = { "application/json" } ; final String localVarAccept = apiClient . selectHeaderAccept ( localVarAccepts ) ; if ( localVarAccept != null ) { localVarHeaderParams . put ( "Accept" , localVarAccept ) ; } final String [ ] localVarContentTypes = { } ; final String localVarContentType = apiClient . selectHeaderContentType ( localVarContentTypes ) ; localVarHeaderParams . put ( "Content-Type" , localVarContentType ) ; String [ ] localVarAuthNames = new String [ ] { "evesso" } ; return apiClient . buildCall ( localVarPath , "GET" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAuthNames , callback ) ; }
Build call for getCharactersCharacterIdShip