UpdateVersionApi.java
2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package com.studymachine.www.http.api;
import com.hjq.http.config.IRequestApi;
/**
* desc : 更新版本
*/
public final class UpdateVersionApi implements IRequestApi {
@Override
public String getApi() {
return "common/public/version/glasses";
}
public final static class Bean {
private String id;
private String versionValue;
private String client;
private String type;
private String url;
private String forceUpdate;
private String remark;
public Bean(String id, String versionValue, String client, String type, String url, String forceUpdate, String remark) {
this.id = id;
this.versionValue = versionValue;
this.client = client;
this.type = type;
this.url = url;
this.forceUpdate = forceUpdate;
this.remark = remark;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getVersionValue() {
return versionValue;
}
public void setVersionValue(String versionValue) {
this.versionValue = versionValue;
}
public String getClient() {
return client;
}
public void setClient(String client) {
this.client = client;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getForceUpdate() {
return forceUpdate;
}
public void setForceUpdate(String forceUpdate) {
this.forceUpdate = forceUpdate;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
}
}