From 14de918a79943e4961b09fa01ed320c6cad41f2e Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 28 六月 2023 17:14:51 +0800 Subject: [PATCH] Revert "Revert "Merge branch 'hxb' into wjc"" --- HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateSceneFunctionBean.java | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 159 insertions(+), 0 deletions(-) diff --git a/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateSceneFunctionBean.java b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateSceneFunctionBean.java new file mode 100644 index 0000000..1d588dc --- /dev/null +++ b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateSceneFunctionBean.java @@ -0,0 +1,159 @@ +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/1/23 + * description: + */ +public class LinkCreateSceneFunctionBean implements Serializable { + private String statusDesc; + private String src; + private String omodel; + private String choose; + private String oid; + private String sid; + private String spk; + private String delay; + private String name; + private String online; + private String type; + private LinkCreateSceneImageBean sceneImage = new LinkCreateSceneImageBean(); + private List<LinkCreateSceneFunctionStatusBean> status = new ArrayList<>(); + private LinkCreateSceneFunctionControlAttrsBean controlAttrs = new LinkCreateSceneFunctionControlAttrsBean(); + private List<LinkCreateSceneFunctionattributesBean> attributes = new ArrayList<>(); + + 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 String getType() { + return type == null ? "" : type; + } + + public void setType(@NonNull String type) { + this.type = type; + } + + public void setSceneImage(@NonNull LinkCreateSceneImageBean sceneImage) { + this.sceneImage = sceneImage; + } + + 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 getSid() { + return sid == null ? "" : sid; + } + + public void setSid(@NonNull String sid) { + this.sid = sid; + } + + public String getSpk() { + return spk == null ? "" : spk; + } + + public void setSpk(@NonNull String spk) { + this.spk = spk; + } + + public String getDelay() { + return delay == null ? "" : delay; + } + + public void setDelay(@NonNull String delay) { + this.delay = delay; + } + + public String getName() { + return name == null ? "" : name; + } + + public void setName(@NonNull String name) { + this.name = name; + } + + public String getOnline() { + return online == null ? "" : online; + } + + public void setOnline(@NonNull String online) { + this.online = online; + } + + public List<LinkCreateSceneFunctionStatusBean> getStatus() { + if (status == null) { + return new ArrayList<>(); + } + return status; + } + + public void setStatus(@NonNull List<LinkCreateSceneFunctionStatusBean> status) { + this.status = status; + } + + 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; + } +} \ No newline at end of file -- Gitblit v1.8.0