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