refactor(ReplyResultBean.java): 使用 Kotlin 重写
This commit is contained in:
parent
4328a3d20e
commit
4f339e594a
|
@ -1,55 +1,28 @@
|
|||
package com.huanchengfly.tieba.api.models;
|
||||
package com.huanchengfly.tieba.api.models
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
public class ReplyResultBean {
|
||||
class ReplyResultBean {
|
||||
@SerializedName("error_code")
|
||||
public String errorCode;
|
||||
var errorCode: String? = null
|
||||
|
||||
@SerializedName("error_msg")
|
||||
public String errorMsg;
|
||||
public InfoBean info;
|
||||
private String pid;
|
||||
var errorMsg: String? = null
|
||||
var info: InfoBean? = null
|
||||
val pid: String? = null
|
||||
|
||||
public String getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public String getErrorCode() {
|
||||
return errorCode;
|
||||
}
|
||||
|
||||
public String getErrorMsg() {
|
||||
return errorMsg;
|
||||
}
|
||||
|
||||
public InfoBean getInfo() {
|
||||
return info;
|
||||
}
|
||||
|
||||
public class InfoBean {
|
||||
inner class InfoBean {
|
||||
@SerializedName("need_vcode")
|
||||
private String needVcode;
|
||||
val needVcode: String? = null
|
||||
|
||||
@SerializedName("vcode_md5")
|
||||
private String vcodeMD5;
|
||||
val vcodeMD5: String? = null
|
||||
|
||||
@SerializedName("vcode_pic_url")
|
||||
private String vcodePicUrl;
|
||||
val vcodePicUrl: String? = null
|
||||
|
||||
@SerializedName("pass_token")
|
||||
private String passToken;
|
||||
val passToken: String? = null
|
||||
|
||||
public String getPassToken() {
|
||||
return passToken;
|
||||
}
|
||||
|
||||
public String getNeedVcode() {
|
||||
return needVcode;
|
||||
}
|
||||
|
||||
public String getVcodeMD5() {
|
||||
return vcodeMD5;
|
||||
}
|
||||
|
||||
public String getVcodePicUrl() {
|
||||
return vcodePicUrl;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue