{
"data": {
"tokenid": "fe52a4676cbb3c7ee09bd2c98707442d"
},
"ret": 0,
"msg": "操作成功"
}
右键单击 ----Generate。。---GsonFormat
一键生成
/**
* data : {"tokenid":"12312312312312"}
* msg : success
* ret : 0
*/
private DataBean data;
private String msg;
private int ret;
public DataBean getData() {
return data;
}
public void setData(DataBean data) {
this.data = data;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public int getRet() {
return ret;
}
public void setRet(int ret) {
this.ret = ret;
}
public static class DataBean {
/**
* tokenid : 12312312312312
*/
private String tokenid;
public String getTokenid() {
return tokenid;
}
public void setTokenid(String tokenid) {
this.tokenid = tokenid;
}
}
"data": {
"tokenid": "fe52a4676cbb3c7ee09bd2c98707442d"
},
"ret": 0,
"msg": "操作成功"
}
右键单击 ----Generate。。---GsonFormat
一键生成
/**
* data : {"tokenid":"12312312312312"}
* msg : success
* ret : 0
*/
private DataBean data;
private String msg;
private int ret;
public DataBean getData() {
return data;
}
public void setData(DataBean data) {
this.data = data;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public int getRet() {
return ret;
}
public void setRet(int ret) {
this.ret = ret;
}
public static class DataBean {
/**
* tokenid : 12312312312312
*/
private String tokenid;
public String getTokenid() {
return tokenid;
}
public void setTokenid(String tokenid) {
this.tokenid = tokenid;
}
}