// Path: src/main/java/net/rithms/riot/api/endpoints/league/LeagueApiMethod.java
// abstract public class LeagueApiMethod extends ApiMethod {
// 
// 	protected LeagueApiMethod(ApiConfig config) {
// 		super(config, "league");
// 		requireApiKey();
// 	}
// }
// 
// Path: src/main/java/net/rithms/riot/api/endpoints/league/dto/LeagueEntry.java
// public class LeagueEntry extends Dto implements Serializable {
// 
// 	private static final long serialVersionUID = 7672279635939129200L;
// 
// 	private boolean freshBlood;
// 	private boolean hotStreak;
// 	private boolean inactive;
// 	private String leagueId;
// 	private int leaguePoints;
// 	private int losses;
// 	private MiniSeries miniSeries;
// 	private String queueType;
// 	private String rank;
// 	private String summonerId;
// 	private String summonerName;
// 	private String tier;
// 	private boolean veteran;
// 	private int wins;
// 
// 	public String getLeagueId() {
// 		return leagueId;
// 	}
// 
// 	public int getLeaguePoints() {
// 		return leaguePoints;
// 	}
// 
// 	public int getLosses() {
// 		return losses;
// 	}
// 
// 	public MiniSeries getMiniSeries() {
// 		return miniSeries;
// 	}
// 
// 	public String getQueueType() {
// 		return queueType;
// 	}
// 
// 	public String getRank() {
// 		return rank;
// 	}
// 
// 	public String getSummonerId() {
// 		return summonerId;
// 	}
// 
// 	public String getSummonerName() {
// 		return summonerName;
// 	}
// 
// 	public String getTier() {
// 		return tier;
// 	}
// 
// 	public int getWins() {
// 		return wins;
// 	}
// 
// 	public boolean isFreshBlood() {
// 		return freshBlood;
// 	}
// 
// 	public boolean isHotStreak() {
// 		return hotStreak;
// 	}
// 
// 	public boolean isInactive() {
// 		return inactive;
// 	}
// 
// 	public boolean isVeteran() {
// 		return veteran;
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return getQueueType();
// 	}
// }


import java.util.Set;
import com.google.gson.reflect.TypeToken;
import net.rithms.riot.api.ApiConfig;
import net.rithms.riot.api.endpoints.league.LeagueApiMethod;
import net.rithms.riot.api.endpoints.league.dto.LeagueEntry;
import net.rithms.riot.constant.Platform;

/*
 * Copyright 2016 Taylor Caldwell
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package net.rithms.riot.api.endpoints.league.methods;




public class GetLeagueEntries extends LeagueApiMethod {

	public GetLeagueEntries(ApiConfig config, Platform platform, String queue, String tier, String division) {
		super(config);
		setPlatform(platform);

// Path: src/main/java/net/rithms/riot/api/endpoints/league/LeagueApiMethod.java
// abstract public class LeagueApiMethod extends ApiMethod {
// 
// 	protected LeagueApiMethod(ApiConfig config) {
// 		super(config, "league");
// 		requireApiKey();
// 	}
// }
// 
// Path: src/main/java/net/rithms/riot/api/endpoints/league/dto/LeagueEntry.java
// public class LeagueEntry extends Dto implements Serializable {
// 
// 	private static final long serialVersionUID = 7672279635939129200L;
// 
// 	private boolean freshBlood;
// 	private boolean hotStreak;
// 	private boolean inactive;
// 	private String leagueId;
// 	private int leaguePoints;
// 	private int losses;
// 	private MiniSeries miniSeries;
// 	private String queueType;
// 	private String rank;
// 	private String summonerId;
// 	private String summonerName;
// 	private String tier;
// 	private boolean veteran;
// 	private int wins;
// 
// 	public String getLeagueId() {
// 		return leagueId;
// 	}
// 
// 	public int getLeaguePoints() {
// 		return leaguePoints;
// 	}
// 
// 	public int getLosses() {
// 		return losses;
// 	}
// 
// 	public MiniSeries getMiniSeries() {
// 		return miniSeries;
// 	}
// 
// 	public String getQueueType() {
// 		return queueType;
// 	}
// 
// 	public String getRank() {
// 		return rank;
// 	}
// 
// 	public String getSummonerId() {
// 		return summonerId;
// 	}
// 
// 	public String getSummonerName() {
// 		return summonerName;
// 	}
// 
// 	public String getTier() {
// 		return tier;
// 	}
// 
// 	public int getWins() {
// 		return wins;
// 	}
// 
// 	public boolean isFreshBlood() {
// 		return freshBlood;
// 	}
// 
// 	public boolean isHotStreak() {
// 		return hotStreak;
// 	}
// 
// 	public boolean isInactive() {
// 		return inactive;
// 	}
// 
// 	public boolean isVeteran() {
// 		return veteran;
// 	}
// 
// 	@Override
// 	public String toString() {
// 		return getQueueType();
// 	}
// }


// Path: src/main/java/net/rithms/riot/api/endpoints/league/methods/GetLeagueEntries.java
import java.util.Set;
import com.google.gson.reflect.TypeToken;
import net.rithms.riot.api.ApiConfig;
import net.rithms.riot.api.endpoints.league.LeagueApiMethod;
import net.rithms.riot.api.endpoints.league.dto.LeagueEntry;
import net.rithms.riot.constant.Platform;

/*
 * Copyright 2016 Taylor Caldwell
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package net.rithms.riot.api.endpoints.league.methods;




public class GetLeagueEntries extends LeagueApiMethod {

	public GetLeagueEntries(ApiConfig config, Platform platform, String queue, String tier, String division) {
		super(config);
		setPlatform(platform);

		setReturnType(new TypeToken<Set<LeagueEntry>>() {
