code: public ApiResponse<WarResponse> getWarsWarIdWithHttpInfo(Integer warId, String datasource, String ifNoneMatch)
              throws ApiException {
          com.squareup.okhttp.Call call = getWarsWarIdValidateBeforeCall(warId, datasource, ifNoneMatch, null);
          Type localVarReturnType = new TypeToken<WarResponse>() {
          }.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get war information Return details about a war --- This route is cached
  for up to 3600 seconds
  
  @param warId
  ID for a war (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;WarResponse&gt;
  @throws ApiException
  If fail to call the API, e.g. server error or cannot
  deserialize the response body