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 LinkCreateSceneBean implements Serializable { |
| | | private String delay; |
| | | private String name; |
| | | private String sid; |
| | | private String group; |
| | | private String can_delete; |
| | | private String gatewayId; |
| | | private String image; |
| | | private List<LinkCreateSceneImageToCloudBean> imageBeans = new ArrayList<>(); |
| | | private List<String> uids = new ArrayList<>(); |
| | | private List<LinkCreateSceneFunctionBean> functions = new ArrayList<>(); |
| | | |
| | | public String getGatewayId() { |
| | | return gatewayId == null ? "" : gatewayId; |
| | | } |
| | | |
| | | public void setGatewayId(@NonNull String gatewayId) { |
| | | this.gatewayId = gatewayId; |
| | | } |
| | | |
| | | public String getImage() { |
| | | return image == null ? "" : image; |
| | | } |
| | | |
| | | public void setImage(@NonNull String image) { |
| | | this.image = image; |
| | | } |
| | | |
| | | public String getGroup() { |
| | | return group == null ? "" : group; |
| | | } |
| | | |
| | | public void setGroup(@NonNull String group) { |
| | | this.group = group; |
| | | } |
| | | |
| | | public List<LinkCreateSceneImageToCloudBean> getImageBeans() { |
| | | if (imageBeans == null) { |
| | | return imageBeans = new ArrayList<>(); |
| | | } |
| | | return imageBeans; |
| | | } |
| | | |
| | | public void setImageBeans(@NonNull List<LinkCreateSceneImageToCloudBean> imageBeans) { |
| | | this.imageBeans = imageBeans; |
| | | } |
| | | |
| | | public String getGateWayId() { |
| | | return gatewayId == null ? "" : gatewayId; |
| | | } |
| | | |
| | | public void setGateWayId(@NonNull String gateWayId) { |
| | | this.gatewayId = gateWayId; |
| | | } |
| | | |
| | | public String getCan_delete() { |
| | | return can_delete == null ? "" : can_delete; |
| | | } |
| | | |
| | | public void setCan_delete(@NonNull String can_delete) { |
| | | this.can_delete = can_delete; |
| | | } |
| | | |
| | | 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 getSid() { |
| | | return sid == null ? "" : sid; |
| | | } |
| | | |
| | | public void setSid(@NonNull String sid) { |
| | | this.sid = sid; |
| | | } |
| | | |
| | | public List<String> getUids() { |
| | | if (uids == null) { |
| | | return new ArrayList<>(); |
| | | } |
| | | return uids; |
| | | } |
| | | |
| | | public void setUids(@NonNull List<String> uids) { |
| | | this.uids = uids; |
| | | } |
| | | |
| | | public List<LinkCreateSceneFunctionBean> getFunctions() { |
| | | if (functions == null) { |
| | | return new ArrayList<>(); |
| | | } |
| | | return functions; |
| | | } |
| | | |
| | | public void setFunctions(@NonNull List<LinkCreateSceneFunctionBean> functions) { |
| | | this.functions = functions; |
| | | } |
| | | } |