package com.hdl.sdk.link.bean; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Created by Zoro * Created on 2022/2/16 * description: */ public class LinkCreateLogicInputBean implements Serializable { private String sid; /** * 时间点条件 1 * 时间段条件 2 * 设备状态变化条件 3 * 环境信息 4 * 安防条件 5 不做 * 云端天气条件 6 * 某个逻辑/场景的输出条件 7 * 地理围栏 8 不做 */ private String condition_type; //true:临时bypass中、false:启用中 是否过滤 private String bypass; private List condition = new ArrayList<>(); private String statusDesc; private String src; private String omodel; private String choose; private String oid; private String spk; private String delay; private String name; private String online; private LinkCreateSceneImageBean sceneImage = new LinkCreateSceneImageBean(); private List status = new ArrayList<>(); private LinkCreateSceneFunctionControlAttrsBean controlAttrs; private List attributes = new ArrayList<>(); public String getBypass() { return bypass == null ? "" : bypass; } public void setBypass( String bypass) { this.bypass = bypass; } public String getStatusDesc() { return statusDesc == null ? "" : statusDesc; } public void setStatusDesc( String statusDesc) { this.statusDesc = statusDesc; } public String getSrc() { return src == null ? "" : src; } public void setSrc( String src) { this.src = src; } public String getOmodel() { return omodel == null ? "" : omodel; } public void setOmodel( String omodel) { this.omodel = omodel; } public String getChoose() { return choose == null ? "" : choose; } public void setChoose( String choose) { this.choose = choose; } public String getOid() { return oid == null ? "" : oid; } public void setOid( String oid) { this.oid = oid; } public String getSpk() { return spk == null ? "" : spk; } public void setSpk( String spk) { this.spk = spk; } public String getDelay() { return delay == null ? "" : delay; } public void setDelay( String delay) { this.delay = delay; } public String getName() { return name == null ? "" : name; } public void setName( String name) { this.name = name; } public String getOnline() { return online == null ? "" : online; } public void setOnline( String online) { this.online = online; } public LinkCreateSceneImageBean getSceneImage() { if (sceneImage == null) { sceneImage = new LinkCreateSceneImageBean("0", "https://hdl-hz-prod.oss-cn-hangzhou.aliyuncs.com/material/appdebug/scene0.png", "/static/images/scene/scene0.png"); } return sceneImage; } public void setSceneImage( LinkCreateSceneImageBean sceneImage) { this.sceneImage = sceneImage; } public List getStatus() { if (status == null) { return new ArrayList<>(); } return status; } public void setStatus( List status) { this.status = status; } public LinkCreateSceneFunctionControlAttrsBean getControlAttrs() { return controlAttrs; } public void setControlAttrs( LinkCreateSceneFunctionControlAttrsBean controlAttrs) { this.controlAttrs = controlAttrs; } public List getAttributes() { if (attributes == null) { return new ArrayList<>(); } return attributes; } public void setAttributes( List attributes) { this.attributes = attributes; } public String getSid() { return sid == null ? "" : sid; } public void setSid( String sid) { this.sid = sid; } public String getCondition_type() { return condition_type == null ? "" : condition_type; } public void setCondition_type( String condition_type) { this.condition_type = condition_type; } public List getCondition() { if (condition == null) { return new ArrayList<>(); } return condition; } public void setCondition( List condition) { this.condition = condition; } }