New file |
| | |
| | | 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; |
| | | } |
| | | } |