code: public ApiResponse<List<Integer>> getWarsWithHttpInfo(String datasource, String ifNoneMatch, Integer maxWarId)
              throws ApiException {
          com.squareup.okhttp.Call call = getWarsValidateBeforeCall(datasource, ifNoneMatch, maxWarId, null);
          Type localVarReturnType = new TypeToken<List<Integer>>() {
          }.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: List wars Return a list of wars --- This route is cached for up to 3600
  seconds
  
  @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)
  @param maxWarId
  Only return wars with ID smaller than this (optional)
  @return ApiResponse&lt;List&lt;Integer&gt;&gt;
  @throws ApiException
  If fail to call the API, e.g. server error or cannot
  deserialize the response body