Last active
December 20, 2015 14:58
-
-
Save Nkzn/6150428 to your computer and use it in GitHub Desktop.
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
package jp.water_cell.sample.jpp_lombok.model; | |
import net.vvakame.util.jsonpullparser.annotation.JsonKey; | |
import net.vvakame.util.jsonpullparser.annotation.JsonModel; | |
/** | |
* 下記のJSONをパースするために必要なModelクラス。 | |
* {"one":"1", "two":"2", "three":"3", "four":"4", "five":"5", "six":"6", "seven":"7", "eight":"8", "nine":"9", "ten":"10"} | |
*/ | |
@JsonModel | |
public class Model { | |
@JsonKey | |
String one; | |
@JsonKey | |
String two; | |
@JsonKey | |
String three; | |
@JsonKey | |
String four; | |
@JsonKey | |
String five; | |
@JsonKey | |
String six; | |
@JsonKey | |
String seven; | |
@JsonKey | |
String eight; | |
@JsonKey | |
String nine; | |
@JsonKey | |
String ten; | |
public String getOne() { | |
return one; | |
} | |
public void setOne(String one) { | |
this.one = one; | |
} | |
public String getTwo() { | |
return two; | |
} | |
public void setTwo(String two) { | |
this.two = two; | |
} | |
public String getThree() { | |
return three; | |
} | |
public void setThree(String three) { | |
this.three = three; | |
} | |
public String getFour() { | |
return four; | |
} | |
public void setFour(String four) { | |
this.four = four; | |
} | |
public String getFive() { | |
return five; | |
} | |
public void setFive(String five) { | |
this.five = five; | |
} | |
public String getSix() { | |
return six; | |
} | |
public void setSix(String six) { | |
this.six = six; | |
} | |
public String getSeven() { | |
return seven; | |
} | |
public void setSeven(String seven) { | |
this.seven = seven; | |
} | |
public String getEight() { | |
return eight; | |
} | |
public void setEight(String eight) { | |
this.eight = eight; | |
} | |
public String getNine() { | |
return nine; | |
} | |
public void setNine(String nine) { | |
this.nine = nine; | |
} | |
public String getTen() { | |
return ten; | |
} | |
public void setTen(String ten) { | |
this.ten = ten; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment