version:
fix:优化请求次数 update:
This commit is contained in:
@@ -2,34 +2,67 @@ package com.aoleyun.sn.bean;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Created by Administrator on 2017/1/10.
|
||||
*/
|
||||
|
||||
public class AppUpdateInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 8448660007210869129L;
|
||||
|
||||
private String packageName;
|
||||
private String version;
|
||||
int id;
|
||||
String url;
|
||||
long version_code;
|
||||
String app_name;
|
||||
@SerializedName("package")
|
||||
String packages;
|
||||
String app_md5;
|
||||
|
||||
public String getPackageName() {
|
||||
return packageName;
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setPackageName(String packageName) {
|
||||
this.packageName = packageName;
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setVersion(String version) {
|
||||
this.version = version;
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public long getVersion_code() {
|
||||
return version_code;
|
||||
}
|
||||
|
||||
public void setVersion_code(long version_code) {
|
||||
this.version_code = version_code;
|
||||
}
|
||||
|
||||
public String getApp_name() {
|
||||
return app_name;
|
||||
}
|
||||
|
||||
public void setApp_name(String app_name) {
|
||||
this.app_name = app_name;
|
||||
}
|
||||
|
||||
public String getPackages() {
|
||||
return packages;
|
||||
}
|
||||
|
||||
public void setPackages(String packages) {
|
||||
this.packages = packages;
|
||||
}
|
||||
|
||||
public String getApp_md5() {
|
||||
return app_md5;
|
||||
}
|
||||
|
||||
public void setApp_md5(String app_md5) {
|
||||
this.app_md5 = app_md5;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
35
app/src/main/java/com/aoleyun/sn/bean/ScreenLockState.java
Normal file
35
app/src/main/java/com/aoleyun/sn/bean/ScreenLockState.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.aoleyun.sn.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ScreenLockState implements Serializable {
|
||||
private static final long serialVersionUID = -622786258211262376L;
|
||||
|
||||
int is_screen_lock;
|
||||
String lock_content;
|
||||
String name;
|
||||
|
||||
public int getIs_screen_lock() {
|
||||
return is_screen_lock;
|
||||
}
|
||||
|
||||
public void setIs_screen_lock(int is_screen_lock) {
|
||||
this.is_screen_lock = is_screen_lock;
|
||||
}
|
||||
|
||||
public String getLock_content() {
|
||||
return lock_content;
|
||||
}
|
||||
|
||||
public void setLock_content(String lock_content) {
|
||||
this.lock_content = lock_content;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user