wangzhibo
2026-08-30 c8515170fd399b4d2dfaebb59128d4674e58915e
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
package xiaozhi.modules.device.vo;
 
import lombok.Data;
 
@Data
public class DeviceOtaVO {
    private Activation activation;
    private Mqtt mqtt;
    private ServerTime server_time;
    private Firmware firmware;
    private String error;
 
    @Data
    public static class Activation {
        private String code;
        private String message;
 
        public Activation() {
        }
 
        public Activation(String code, String message) {
            this.code = code;
            this.message = message;
        }
    }
 
    @Data
    public class Mqtt {
 
    }
 
    @Data
    public static class ServerTime {
        private Long timestamp;
        private Integer timezone_offset;
 
        public ServerTime() {
        }
 
        public ServerTime(Long timestamp, Integer timezone_offset) {
            this.timestamp = timestamp;
            this.timezone_offset = timezone_offset;
        }
    }
 
    @Data
    public static class Firmware {
        private String version;
        private String url;
 
        public Firmware() {
        }
 
        public Firmware(String version, String url) {
            this.version = version;
            this.url = url;
        }
    }
}