-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to support the latest team and league resources. Also cleaned…
… up some code and removed a lot of tests that are now redundant.
- Loading branch information
Showing
30 changed files
with
647 additions
and
687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
src/main/java/lol4j/protocol/dto/league/LeagueEntryDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
package lol4j.protocol.dto.league; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Created by Aaron Corley on 12/11/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class LeagueEntryDto { | ||
private String division; | ||
private boolean isFreshBlood; | ||
private boolean isHotStreak; | ||
private boolean isInactive; | ||
private boolean isVeteran; | ||
private int leaguePoints; | ||
private MiniSeriesDto miniSeries; | ||
private String playerOrTeamId; | ||
private String playerOrTeamName; | ||
private int wins; | ||
|
||
public String getDivision() { | ||
return division; | ||
} | ||
|
||
public void setDivision(String division) { | ||
this.division = division; | ||
} | ||
|
||
public boolean isFreshBlood() { | ||
return isFreshBlood; | ||
} | ||
|
||
public void setFreshBlood(boolean isFreshBlood) { | ||
this.isFreshBlood = isFreshBlood; | ||
} | ||
|
||
public boolean isHotStreak() { | ||
return isHotStreak; | ||
} | ||
|
||
public void setHotStreak(boolean isHotStreak) { | ||
this.isHotStreak = isHotStreak; | ||
} | ||
|
||
public boolean isInactive() { | ||
return isInactive; | ||
} | ||
|
||
public void setInactive(boolean isInactive) { | ||
this.isInactive = isInactive; | ||
} | ||
|
||
public boolean isVeteran() { | ||
return isVeteran; | ||
} | ||
|
||
public void setVeteran(boolean isVeteran) { | ||
this.isVeteran = isVeteran; | ||
} | ||
|
||
public int getLeaguePoints() { | ||
return leaguePoints; | ||
} | ||
|
||
public void setLeaguePoints(int leaguePoints) { | ||
this.leaguePoints = leaguePoints; | ||
} | ||
|
||
public MiniSeriesDto getMiniSeries() { | ||
return miniSeries; | ||
} | ||
|
||
public void setMiniSeries(MiniSeriesDto miniSeries) { | ||
this.miniSeries = miniSeries; | ||
} | ||
|
||
public String getPlayerOrTeamId() { | ||
return playerOrTeamId; | ||
} | ||
|
||
public void setPlayerOrTeamId(String playerOrTeamId) { | ||
this.playerOrTeamId = playerOrTeamId; | ||
} | ||
|
||
public String getPlayerOrTeamName() { | ||
return playerOrTeamName; | ||
} | ||
|
||
public void setPlayerOrTeamName(String playerOrTeamName) { | ||
this.playerOrTeamName = playerOrTeamName; | ||
} | ||
|
||
public int getWins() { | ||
return wins; | ||
} | ||
|
||
public void setWins(int wins) { | ||
this.wins = wins; | ||
} | ||
} |
141 changes: 0 additions & 141 deletions
141
src/main/java/lol4j/protocol/dto/league/LeagueItemDto.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.