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 LinkCreateLogicOutputBean implements Serializable {
|
/**
|
* 设备=1
|
* 场景=2
|
* 安防=3
|
*/
|
private String target_type;
|
private String delay;
|
private String sid;
|
private String name;
|
private List<LinkCreateLogicOutputStatusBean> status = new ArrayList<>();
|
//场景
|
private List<LinkCreateSceneBean> detailInfo = new ArrayList<>();
|
|
//设备
|
private String statusDesc;
|
private String src;
|
private String omodel;
|
private String choose;
|
private String oid;
|
private String spk;
|
private String online;
|
private String identifier;
|
private LinkCreateSceneImageBean sceneImage;
|
private LinkCreateSceneFunctionControlAttrsBean controlAttrs;
|
private List<LinkCreateSceneFunctionattributesBean> attributes = new ArrayList<>();
|
|
public String getIdentifier() {
|
return identifier == null ? "" : identifier;
|
}
|
|
public void setIdentifier(@NonNull String identifier) {
|
this.identifier = identifier;
|
}
|
|
public String getStatusDesc() {
|
return statusDesc == null ? "" : statusDesc;
|
}
|
|
public void setStatusDesc(@NonNull String statusDesc) {
|
this.statusDesc = statusDesc;
|
}
|
|
public String getSrc() {
|
return src == null ? "" : src;
|
}
|
|
public void setSrc(@NonNull String src) {
|
this.src = src;
|
}
|
|
public String getOmodel() {
|
return omodel == null ? "" : omodel;
|
}
|
|
public void setOmodel(@NonNull String omodel) {
|
this.omodel = omodel;
|
}
|
|
public String getChoose() {
|
return choose == null ? "" : choose;
|
}
|
|
public void setChoose(@NonNull String choose) {
|
this.choose = choose;
|
}
|
|
public String getOid() {
|
return oid == null ? "" : oid;
|
}
|
|
public void setOid(@NonNull String oid) {
|
this.oid = oid;
|
}
|
|
public String getSpk() {
|
return spk == null ? "" : spk;
|
}
|
|
public void setSpk(@NonNull String spk) {
|
this.spk = spk;
|
}
|
|
public String getOnline() {
|
return online == null ? "" : online;
|
}
|
|
public void setOnline(@NonNull 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(@NonNull LinkCreateSceneImageBean sceneImage) {
|
this.sceneImage = sceneImage;
|
}
|
|
public LinkCreateSceneFunctionControlAttrsBean getControlAttrs() {
|
return controlAttrs;
|
}
|
|
public void setControlAttrs(@NonNull LinkCreateSceneFunctionControlAttrsBean controlAttrs) {
|
this.controlAttrs = controlAttrs;
|
}
|
|
public List<LinkCreateSceneFunctionattributesBean> getAttributes() {
|
if (attributes == null) {
|
return new ArrayList<>();
|
}
|
return attributes;
|
}
|
|
public void setAttributes(@NonNull List<LinkCreateSceneFunctionattributesBean> attributes) {
|
this.attributes = attributes;
|
}
|
|
public String getName() {
|
return name == null ? "" : name;
|
}
|
|
public void setName(@NonNull String name) {
|
this.name = name;
|
}
|
|
public List<LinkCreateSceneBean> getDetailInfo() {
|
if (detailInfo == null) {
|
return new ArrayList<>();
|
}
|
return detailInfo;
|
}
|
|
public void setDetailInfo(@NonNull List<LinkCreateSceneBean> detailInfo) {
|
this.detailInfo = detailInfo;
|
}
|
|
public String getTarget_type() {
|
return target_type == null ? "" : target_type;
|
}
|
|
public void setTarget_type(@NonNull String target_type) {
|
this.target_type = target_type;
|
}
|
|
public String getDelay() {
|
return delay == null ? "" : delay;
|
}
|
|
public void setDelay(@NonNull String delay) {
|
this.delay = delay;
|
}
|
|
public String getSid() {
|
return sid == null ? "" : sid;
|
}
|
|
public void setSid(@NonNull String sid) {
|
this.sid = sid;
|
}
|
|
public List<LinkCreateLogicOutputStatusBean> getStatus() {
|
if (status == null) {
|
return new ArrayList<>();
|
}
|
return status;
|
}
|
|
public void setStatus(@NonNull List<LinkCreateLogicOutputStatusBean> status) {
|
this.status = status;
|
}
|
}
|