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/LinkCreateSceneFunctionattributesBean.java | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 102 insertions(+), 0 deletions(-) diff --git a/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateSceneFunctionattributesBean.java b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateSceneFunctionattributesBean.java new file mode 100644 index 0000000..f4f46c1 --- /dev/null +++ b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/bean/LinkCreateSceneFunctionattributesBean.java @@ -0,0 +1,102 @@ +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 LinkCreateSceneFunctionattributesBean implements Serializable { + private String data_type; + private String accessMode; + private String key; + private String desc; + private String maxValue; + private String minValue; + private String unit; + private List<String> value = new ArrayList<>(); + private List<LinkCreateSceneFunctionattributesEnumerationsBean> enumerations = new ArrayList<>(); + + public String getData_type() { + return data_type == null ? "" : data_type; + } + + public void setData_type(@NonNull String data_type) { + this.data_type = data_type; + } + + public String getAccessMode() { + return accessMode == null ? "" : accessMode; + } + + public void setAccessMode(@NonNull String accessMode) { + this.accessMode = accessMode; + } + + public String getKey() { + return key == null ? "" : key; + } + + public void setKey(@NonNull String key) { + this.key = key; + } + + public String getDesc() { + return desc == null ? "" : desc; + } + + public void setDesc(@NonNull String desc) { + this.desc = desc; + } + + public String getMaxValue() { + return maxValue == null ? "" : maxValue; + } + + public void setMaxValue(@NonNull String maxValue) { + this.maxValue = maxValue; + } + + public String getMinValue() { + return minValue == null ? "" : minValue; + } + + public void setMinValue(@NonNull String minValue) { + this.minValue = minValue; + } + + public String getUnit() { + return unit == null ? "" : unit; + } + + public void setUnit(@NonNull String unit) { + this.unit = unit; + } + + public List<String> getValue() { + if (value == null) { + return new ArrayList<>(); + } + return value; + } + + public void setValue(@NonNull List<String> value) { + this.value = value; + } + + public List<LinkCreateSceneFunctionattributesEnumerationsBean> getEnumerations() { + if (enumerations == null) { + return new ArrayList<>(); + } + return enumerations; + } + + public void setEnumerations(@NonNull List<LinkCreateSceneFunctionattributesEnumerationsBean> enumerations) { + this.enumerations = enumerations; + } +} \ No newline at end of file -- Gitblit v1.8.0