code: public List<? extends WvWMatch> getWvWMatchInfo(String[] ids, WvWMatch.Endpoint type) throws GuildWars2Exception {
  		isParamValid(new ParamChecker(ids));
  		if (type == null) return getWvWMatchInfoUsingID(ids);
  		try {
  			switch (type) {
  				case All:
  					return getWvWMatchInfoUsingID(ids);
  				case Overview:
  					Response<List<WvWMatchOverview>> overview = gw2API.getWvWMatchOverviewUsingID(processIds(ids)).execute();
  					if (!overview.isSuccessful()) throwError(overview.code(), overview.errorBody());
  					return overview.body();
  				case Score:
  					Response<List<WvWMatchScore>> stat = gw2API.getWvWMatchScoreUsingID(processIds(ids)).execute();
  					if (!stat.isSuccessful()) throwError(stat.code(), stat.errorBody());
  					return stat.body();
  				case Stat:
  					Response<List<WvWMatchStat>> score = gw2API.getWvWMatchStatUsingID(processIds(ids)).execute();
  					if (!score.isSuccessful()) throwError(score.code(), score.errorBody());
  					return score.body();
  				default:
  					return getWvWMatchInfoUsingID(ids);
  			}
  		} catch (IOException e) {
  			throw new GuildWars2Exception(ErrorCode.Network, "Network Error: " + e.getMessage());
  		}
  	}
docs: For more info on WvW matches API go <a href="https://wiki.guildwars2.com/wiki/API:2/wvw/matches">here</a><br/>
  Get wvw match info using wvw match id(s)
  
  @param ids  list of wvw match id(s)
  @param type endpoint type
  @return list of wvw match info, exact class depend on endpoint type
  @throws GuildWars2Exception see {@link ErrorCode} for detail
  @see WvWMatch wvw match info