-
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.
- Loading branch information
Showing
34 changed files
with
974 additions
and
76 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
2 changes: 2 additions & 0 deletions
2
src/main/java/lol4j/protocol/dto/stats/AggregatedStatDto.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
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 |
---|---|---|
|
@@ -18,7 +18,6 @@ public List<MasteryPageDto> getPages() { | |
} | ||
|
||
public long getSummonerId() { | ||
|
||
return summonerId; | ||
} | ||
|
||
|
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,46 @@ | ||
package lol4j.protocol.dto.summoner; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
/** | ||
* Created by Aaryn101 on 12/12/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class RuneDto { | ||
private String description; | ||
private int id; | ||
private String name; | ||
private int tier; | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
public int getId() { | ||
return id; | ||
} | ||
|
||
public void setId(int id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public int getTier() { | ||
return tier; | ||
} | ||
|
||
public void setTier(int tier) { | ||
this.tier = tier; | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
src/main/java/lol4j/protocol/dto/summoner/RunePageDto.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,46 @@ | ||
package lol4j.protocol.dto.summoner; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
/** | ||
* Created by Aaryn101 on 12/12/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class RunePageDto { | ||
private boolean current; | ||
private long id; | ||
private String name; | ||
private List<RuneSlotDto> slots = new ArrayList<>(); | ||
|
||
public List<RuneSlotDto> getSlots() { | ||
return slots; | ||
} | ||
|
||
public boolean isCurrent() { | ||
|
||
return current; | ||
} | ||
|
||
public void setCurrent(boolean current) { | ||
this.current = current; | ||
} | ||
|
||
public long getId() { | ||
return id; | ||
} | ||
|
||
public void setId(long id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/main/java/lol4j/protocol/dto/summoner/RunePagesDto.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,28 @@ | ||
package lol4j.protocol.dto.summoner; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
/** | ||
* Created by Aaryn101 on 12/12/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class RunePagesDto { | ||
private Set<RunePageDto> pages = new HashSet<>(); | ||
private long summonerId; | ||
|
||
public long getSummonerId() { | ||
return summonerId; | ||
} | ||
|
||
public void setSummonerId(long summonerId) { | ||
this.summonerId = summonerId; | ||
} | ||
|
||
public Set<RunePageDto> getPages() { | ||
|
||
return pages; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/main/java/lol4j/protocol/dto/summoner/RuneSlotDto.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,28 @@ | ||
package lol4j.protocol.dto.summoner; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
/** | ||
* Created by Aaryn101 on 12/12/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class RuneSlotDto { | ||
private RuneDto rune; | ||
private int runeSlotId; | ||
|
||
public RuneDto getRune() { | ||
return rune; | ||
} | ||
|
||
public void setRune(RuneDto rune) { | ||
this.rune = rune; | ||
} | ||
|
||
public int getRuneSlotId() { | ||
return runeSlotId; | ||
} | ||
|
||
public void setRuneSlotId(int runeSlotId) { | ||
this.runeSlotId = runeSlotId; | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
src/main/java/lol4j/protocol/dto/summoner/SummonerDto.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,66 @@ | ||
package lol4j.protocol.dto.summoner; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
import java.util.Date; | ||
|
||
/** | ||
* Created by Aaryn101 on 12/13/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class SummonerDto { | ||
private long id; | ||
private String name; | ||
private int profileIconId; | ||
private long revisionDate; | ||
private Date revisionDateStr; | ||
private long summonerLevel; | ||
|
||
public long getId() { | ||
return id; | ||
} | ||
|
||
public void setId(long id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public int getProfileIconId() { | ||
return profileIconId; | ||
} | ||
|
||
public void setProfileIconId(int profileIconId) { | ||
this.profileIconId = profileIconId; | ||
} | ||
|
||
public long getRevisionDate() { | ||
return revisionDate; | ||
} | ||
|
||
public void setRevisionDate(long revisionDate) { | ||
this.revisionDate = revisionDate; | ||
} | ||
|
||
public Date getRevisionDateStr() { | ||
return revisionDateStr; | ||
} | ||
|
||
public void setRevisionDateStr(Date revisionDateStr) { | ||
this.revisionDateStr = revisionDateStr; | ||
} | ||
|
||
public long getSummonerLevel() { | ||
return summonerLevel; | ||
} | ||
|
||
public void setSummonerLevel(long summonerLevel) { | ||
this.summonerLevel = summonerLevel; | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/main/java/lol4j/protocol/dto/summoner/SummonerNameDto.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,28 @@ | ||
package lol4j.protocol.dto.summoner; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
/** | ||
* Created by Aaryn101 on 12/13/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class SummonerNameDto { | ||
private long id; | ||
private String name; | ||
|
||
public long getId() { | ||
return id; | ||
} | ||
|
||
public void setId(long id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/lol4j/protocol/dto/summoner/SummonerNameListDto.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,18 @@ | ||
package lol4j.protocol.dto.summoner; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
/** | ||
* Created by Aaryn101 on 12/13/13. | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class SummonerNameListDto { | ||
private List<SummonerNameDto> summoners = new ArrayList<>(); | ||
|
||
public List<SummonerNameDto> getSummoners() { | ||
return summoners; | ||
} | ||
} |
Oops, something went wrong.