fix(NewUpdateBean.kt): 修复非空变量未指定默认值
This commit is contained in:
parent
81daeac6b7
commit
895a339439
|
|
@ -4,10 +4,10 @@ import com.google.gson.annotations.SerializedName
|
|||
|
||||
class NewUpdateBean {
|
||||
@SerializedName("success")
|
||||
val isSuccess: Boolean
|
||||
val isSuccess: Boolean = false
|
||||
|
||||
@SerializedName("has_update")
|
||||
val isHasUpdate: Boolean
|
||||
val isHasUpdate: Boolean = false
|
||||
|
||||
@SerializedName("error_code")
|
||||
val errorCode: Int? = null
|
||||
|
|
|
|||
Loading…
Reference in New Issue