mac
2023-11-28 31d32567ce92d2a3bc77865a6a1cec2635c9dc46
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
package com.hdl.linkpm.sdk.device.bean;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
import androidx.annotation.NonNull;
 
/**
 * Created by Zoro
 * Created on 2022/11/7
 * description:
 */
public class GatewayCloudBean implements Serializable {
    private String aesKey;
    private String createTime;
    private String deviceId;
    /**
     * 0.SM4  1.AES  2.不加密
     */
    private String encryptionType;
    private String gatewayName;
    /**
     * 网关类型
     * BUSUDPGATEWAY
     * AGATEWAY
     * ZIGBEEGATEWAY
     * KNXGATEWAY
     */
    private String gatewayType;
    private String groupName;
    private String gwFirmwareVersion;
    private String homeId;
    private String gatewayId;
    private String mac;
    private String oid;
    private String modifyPeople;
    private String deviceModel;
    private String modifyTime;
    private String primaryKey;
    private String projectName;
    private String region;
    private String subnetId;
    private String userName;
    private boolean gatewayStatus;
    private String lastHeartbeatTime;
    private String localSecret;
    private List<SlaveGatewayCloudBean> slaveDevices = new ArrayList<>();
 
    public String getOid() {
        return oid == null ? "" : oid;
    }
 
    public void setOid(@NonNull String oid) {
        this.oid = oid;
    }
 
    public String getDeviceModel() {
        return deviceModel == null ? "" : deviceModel;
    }
 
    public void setDeviceModel(@NonNull String deviceModel) {
        this.deviceModel = deviceModel;
    }
 
    public String getAesKey() {
        return aesKey == null ? "" : aesKey;
    }
 
    public void setAesKey(@NonNull String aesKey) {
        this.aesKey = aesKey;
    }
 
    public boolean isGatewayStatus() {
        return gatewayStatus;
    }
 
    public void setGatewayStatus(@NonNull boolean gatewayStatus) {
        this.gatewayStatus = gatewayStatus;
    }
 
    public String getCreateTime() {
        return createTime == null ? "" : createTime;
    }
 
    public void setCreateTime(@NonNull String createTime) {
        this.createTime = createTime;
    }
 
    public String getDeviceId() {
        return deviceId == null ? "" : deviceId;
    }
 
    public void setDeviceId(@NonNull String deviceId) {
        this.deviceId = deviceId;
    }
 
    public String getEncryptionType() {
        return encryptionType == null ? "" : encryptionType;
    }
 
    public void setEncryptionType(@NonNull String encryptionType) {
        this.encryptionType = encryptionType;
    }
 
    public String getGatewayName() {
        return gatewayName == null ? "" : gatewayName;
    }
 
    public void setGatewayName(@NonNull String gatewayName) {
        this.gatewayName = gatewayName;
    }
 
    public String getGatewayType() {
        return gatewayType == null ? "" : gatewayType;
    }
 
    public void setGatewayType(@NonNull String gatewayType) {
        this.gatewayType = gatewayType;
    }
 
    public String getGroupName() {
        return groupName == null ? "" : groupName;
    }
 
    public void setGroupName(@NonNull String groupName) {
        this.groupName = groupName;
    }
 
    public String getGwFirmwareVersion() {
        return gwFirmwareVersion == null ? "" : gwFirmwareVersion;
    }
 
    public void setGwFirmwareVersion(@NonNull String gwFirmwareVersion) {
        this.gwFirmwareVersion = gwFirmwareVersion;
    }
 
    public String getHomeId() {
        return homeId == null ? "" : homeId;
    }
 
    public void setHomeId(@NonNull String homeId) {
        this.homeId = homeId;
    }
 
    public String getGatewayId() {
        return gatewayId == null ? "" : gatewayId;
    }
 
    public void setGatewayId(@NonNull String gatewayId) {
        this.gatewayId = gatewayId;
    }
 
    public String getMac() {
        return mac == null ? "" : mac;
    }
 
    public void setMac(@NonNull String mac) {
        this.mac = mac;
    }
 
    public String getModifyPeople() {
        return modifyPeople == null ? "" : modifyPeople;
    }
 
    public void setModifyPeople(@NonNull String modifyPeople) {
        this.modifyPeople = modifyPeople;
    }
 
    public String getModifyTime() {
        return modifyTime == null ? "" : modifyTime;
    }
 
    public void setModifyTime(@NonNull String modifyTime) {
        this.modifyTime = modifyTime;
    }
 
    public String getPrimaryKey() {
        return primaryKey == null ? "" : primaryKey;
    }
 
    public void setPrimaryKey(@NonNull String primaryKey) {
        this.primaryKey = primaryKey;
    }
 
    public String getProjectName() {
        return projectName == null ? "" : projectName;
    }
 
    public void setProjectName(@NonNull String projectName) {
        this.projectName = projectName;
    }
 
    public String getRegion() {
        return region == null ? "" : region;
    }
 
    public void setRegion(@NonNull String region) {
        this.region = region;
    }
 
    public String getSubnetId() {
        return subnetId == null ? "" : subnetId;
    }
 
    public void setSubnetId(@NonNull String subnetId) {
        this.subnetId = subnetId;
    }
 
    public String getUserName() {
        return userName == null ? "" : userName;
    }
 
    public void setUserName(@NonNull String userName) {
        this.userName = userName;
    }
 
    public String getLastHeartbeatTime() {
        return lastHeartbeatTime == null ? "" : lastHeartbeatTime;
    }
 
    public void setLastHeartbeatTime(@NonNull String lastHeartbeatTime) {
        this.lastHeartbeatTime = lastHeartbeatTime;
    }
 
    public String getLocalSecret() {
        return localSecret == null ? "" : localSecret;
    }
 
    public void setLocalSecret(@NonNull String localSecret) {
        this.localSecret = localSecret;
    }
 
    public List<SlaveGatewayCloudBean> getSlaveDevices() {
        if (slaveDevices == null) {
            return slaveDevices = new ArrayList<>();
        }
        return slaveDevices;
    }
 
    public void setSlaveDevices(@NonNull List<SlaveGatewayCloudBean> slaveDevices) {
        this.slaveDevices = slaveDevices;
    }
}