mac
2023-11-14 54a8c79222bba0644b02fe1dbc5d75e26ea50b5d
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
package com.hdl.linkpm.sdk.device.bean;
 
import androidx.annotation.NonNull;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
/**
 * Created by jlchen on 12/11/21.
 */
public class FunctionActionBean implements Serializable{
 
    private String deviceId;//设备主键id
    private String spk;//spk
    private List<StatusBean> attributes = new ArrayList<>();//控制动作
 
    @NonNull
    public String getDeviceId() {
        return deviceId == null ? "" : deviceId;
    }
 
    public void setDeviceId(@NonNull String deviceId) {
        this.deviceId = deviceId;
    }
 
    @NonNull
    public String getSpk() {
        return spk == null ? "" : spk;
    }
 
    public void setSpk(@NonNull String spk) {
        this.spk = spk;
    }
 
    @NonNull
    public List<StatusBean> getAttributes() {
        if (attributes == null) {
            return new ArrayList<>();
        }
        return attributes;
    }
 
    public void setAttributes(@NonNull List<StatusBean> attributes) {
        this.attributes = attributes;
    }
}