package com.hdl.sdk.link.bean;
|
|
import java.io.Serializable;
|
import java.util.ArrayList;
|
import java.util.List;
|
|
import androidx.annotation.NonNull;
|
|
/**
|
* Created by Zoro
|
* Created on 2022/2/16
|
* description:
|
*/
|
public class LinkCreateLogicBean implements Serializable {
|
private String sid;
|
private String name;
|
private String relation;
|
private String enable;
|
//enable布防、disable撒防
|
private String status;
|
//"all"--全宅布防,"normal"--普通模式,"all_day":24小时,"mute":静音
|
private String type;
|
private String gatewayId;
|
private LinkCreateLogicCycleBean cycle = new LinkCreateLogicCycleBean();
|
private List<LinkCreateLogicInputBean> input = new ArrayList<>();
|
private List<LinkCreateLogicOutputBean> output = new ArrayList<>();
|
private NoticeConfigInfo noticeConfig = new NoticeConfigInfo();
|
|
public NoticeConfigInfo getNoticeConfig() {
|
return noticeConfig;
|
}
|
|
public void setNoticeConfig(@NonNull NoticeConfigInfo noticeConfig) {
|
this.noticeConfig = noticeConfig;
|
}
|
|
public String getGateWayId() {
|
return gatewayId == null ? "" : gatewayId;
|
}
|
|
public void setGateWayId(@NonNull String gateWayId) {
|
this.gatewayId = gateWayId;
|
}
|
|
public String getStatus() {
|
return status == null ? "" : status;
|
}
|
|
public void setStatus(@NonNull String status) {
|
this.status = status;
|
}
|
|
public String getType() {
|
return type == null ? "" : type;
|
}
|
|
public void setType(@NonNull String type) {
|
this.type = type;
|
}
|
|
public String getSid() {
|
return sid == null ? "" : sid;
|
}
|
|
public void setSid(@NonNull String sid) {
|
this.sid = sid;
|
}
|
|
public String getName() {
|
return name == null ? "" : name;
|
}
|
|
public void setName(@NonNull String name) {
|
this.name = name;
|
}
|
|
public String getRelation() {
|
return relation == null ? "" : relation;
|
}
|
|
public void setRelation(@NonNull String relation) {
|
this.relation = relation;
|
}
|
|
public String getEnable() {
|
return enable == null ? "" : enable;
|
}
|
|
public void setEnable(@NonNull String enable) {
|
this.enable = enable;
|
}
|
|
public LinkCreateLogicCycleBean getCycle() {
|
return cycle;
|
}
|
|
public void setCycle(@NonNull LinkCreateLogicCycleBean cycle) {
|
this.cycle = cycle;
|
}
|
|
public List<LinkCreateLogicInputBean> getInput() {
|
if (input == null) {
|
return new ArrayList<>();
|
}
|
return input;
|
}
|
|
public void setInput(@NonNull List<LinkCreateLogicInputBean> input) {
|
this.input = input;
|
}
|
|
public List<LinkCreateLogicOutputBean> getOutput() {
|
if (output == null) {
|
return new ArrayList<>();
|
}
|
return output;
|
}
|
|
public void setOutput(@NonNull List<LinkCreateLogicOutputBean> output) {
|
this.output = output;
|
}
|
}
|