code: public ApiResponse<List<CharacterCorporationHistoryResponse>> getCharactersCharacterIdCorporationhistoryWithHttpInfo(
              Integer characterId, String datasource, String ifNoneMatch) throws ApiException {
          com.squareup.okhttp.Call call = getCharactersCharacterIdCorporationhistoryValidateBeforeCall(characterId,
                  datasource, ifNoneMatch, null);
          Type localVarReturnType = new TypeToken<List<CharacterCorporationHistoryResponse>>() {
          }.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get corporation history Get a list of all the corporations a character
  has been a member of --- This route is cached for up to 3600 seconds
  
  @param characterId
  An EVE character ID (required)
  @param datasource
  The server name you would like data from (optional, default to
  tranquility)
  @param ifNoneMatch
  ETag from a previous request. A 304 will be returned if this
  matches the current ETag (optional)
  @return
  ApiResponse&lt;List&lt;CharacterCorporationHistoryResponse&gt;&gt;
  @throws ApiException
  If fail to call the API, e.g. server error or cannot
  deserialize the response body