From d723fee177238df0dbab80eb788876ebd154927d Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期四, 24 十月 2024 11:55:46 +0800 Subject: [PATCH] Update HDLLoginInterceptor.java --- HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/template/bean/TemplateLogicBean.java | 338 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 338 insertions(+), 0 deletions(-) diff --git a/HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/template/bean/TemplateLogicBean.java b/HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/template/bean/TemplateLogicBean.java new file mode 100644 index 0000000..0950b5a --- /dev/null +++ b/HDLLinkPMSdk/src/main/java/com/hdl/linkpm/sdk/template/bean/TemplateLogicBean.java @@ -0,0 +1,338 @@ +package com.hdl.linkpm.sdk.template.bean; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.List; + +import androidx.annotation.NonNull; + +public class TemplateLogicBean implements Serializable { + //-- sid 鑷姩鍖栬澶囩 true string + private String sid; + //-- name 鑷姩鍖栧悕绉� true string + private String name; + //-- image 鍦烘櫙鍥剧墖 false string + private String image; + //-- tag 鍦烘櫙绫诲瀷 false string + private String tag; + //-- conditionLable 鑷姩鍖栨爣绛� false array<string> + private ArrayList<String> conditionLable = new ArrayList<>(); + //-- push_customer_message 鑷姩鍖栨墽琛屾帹閫佷俊鎭� false string + private String push_customer_message; + //-- relation 瑙﹀彂鏉′欢鍏崇郴 false array<long> + private String relation ; + //-- enable 鍚敤绂佺敤 true string + private boolean enable; + //-- cycle 鎵ц鍛ㄦ湡 false string + private TemplateLogicCycleBean cycle; + //---- type 閿� false string + //---- value 鍊� false array<string> + + //-- input 鑷姩鍖栬Е鍙戞潯浠� false array<object> + private List<TemplateLogicInputBean> input = new ArrayList<>(); + //---- sid sid false string + //---- condition_type 鏉′欢绫诲瀷 false string + //---- condition 鏉′欢 false array<object> + //------ key 鏉′欢key false string + //------ comparator 姣旇緝 false string + //------ data_type 鏁版嵁绫诲瀷 false string + //------ value 鏉′欢鍊� false string + + //-- output 鑷姩鍖栨墽琛屽姩浣� false string + private ArrayList<TemplateLogicOutputBean> output = new ArrayList<>(); + //---- sid sid false string + //---- target_type 鐩爣绫诲瀷 false string + //----- status 鍔ㄤ綔 false array<object> + //------- key 閿� false string + //------- value 鍊� false string + + + public String getSid() { + return sid == null ? "" : sid; + } + + public void setSid(String sid) { + this.sid = sid; + } + + public String getName() { + return name == null ? "" : name; + } + + public void setName(String name) { + this.name = name; + } + + public String getImage() { + return image == null ? "" : image; + } + + public void setImage(String image) { + this.image = image; + } + + public String getTag() { + return tag == null ? "" : tag; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public ArrayList<String> getConditionLable() { + if (conditionLable == null) { + return new ArrayList<>(); + } + return conditionLable; + } + + public void setConditionLable(ArrayList<String> conditionLable) { + this.conditionLable = conditionLable; + } + + public String getPush_customer_message() { + return push_customer_message == null ? "" : push_customer_message; + } + + public void setPush_customer_message(String push_customer_message) { + this.push_customer_message = push_customer_message; + } + + public String getRelation() { + return relation; + } + + public void setRelation(String relation) { + this.relation = relation; + } + + public boolean isEnable() { + return enable; + } + + public void setEnable(boolean enable) { + this.enable = enable; + } + + public TemplateLogicCycleBean getCycle() { + return cycle; + } + + public void setCycle(TemplateLogicCycleBean cycle) { + this.cycle = cycle; + } + + public List<TemplateLogicInputBean> getInput() { + if (input == null) { + return new ArrayList<>(); + } + return input; + } + + public void setInput(List<TemplateLogicInputBean> input) { + this.input = input; + } + + public ArrayList<TemplateLogicOutputBean> getOutput() { + if (output == null) { + return new ArrayList<>(); + } + return output; + } + + public void setOutput(ArrayList<TemplateLogicOutputBean> output) { + this.output = output; + } + + public static class TemplateLogicCycleBean { + + //---- type 閿� false string + private String type; + + //---- value 鍊� false array<string> + private List<String> value = new ArrayList<>(); + + public String getType() { + return type == null ? "" : type; + } + + public void setType(String type) { + this.type = type; + } + + public List<String> getValue() { + if (value == null) { + return new ArrayList<>(); + } + return value; + } + + public void setValue(List<String> value) { + this.value = value; + } + } + + public static class TemplateLogicInputBean { + + //---- sid sid false string + private String sid; + + //---- condition_type 鏉′欢绫诲瀷 false string + private String condition_type; + + //---- condition 鏉′欢 false array<object> + private ArrayList<TemplateLogicInputConditionBean> condition = new ArrayList<>(); + + public String getSid() { + return sid == null ? "0301056295720F16150100080000" : sid; + } + + public void setSid(String sid) { + this.sid = sid; + } + + public String getCondition_type() { + return condition_type == null ? "" : condition_type; + } + + public void setCondition_type(String condition_type) { + this.condition_type = condition_type; + } + + public ArrayList<TemplateLogicInputConditionBean> getCondition() { + if (condition == null) { + return new ArrayList<>(); + } + return condition; + } + + public void setCondition(ArrayList<TemplateLogicInputConditionBean> condition) { + this.condition = condition; + } + } + + public static class TemplateLogicInputConditionBean { + //------ key 鏉′欢key false string + private String key; + + //------ comparator 姣旇緝 false string + private String comparator; + + //------ data_type 鏁版嵁绫诲瀷 false string + private String data_type; + + //------ value 鏉′欢鍊� false string + private String value; + + public String getKey() { + return key == null ? "" : key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getComparator() { + return comparator == null ? "" : comparator; + } + + public void setComparator(String comparator) { + this.comparator = comparator; + } + + public String getData_type() { + return data_type == null ? "" : data_type; + } + + public void setData_type(String data_type) { + this.data_type = data_type; + } + + public String getValue() { + return value == null ? "" : value; + } + + public void setValue(String value) { + this.value = value; + } + } + + public static class TemplateLogicOutputBean { + //---- sid sid false string + private String sid; + //---- target_type 鐩爣绫诲瀷 false string + private String target_type; + //----- status 鍔ㄤ綔 false array<object> + private ArrayList<TemplateLogicOutputStatusBean> status = new ArrayList<>(); + + private String name; + + private String delay; + + + 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(String sid) { + this.sid = sid; + } + + public String getTarget_type() { + return target_type == null ? "" : target_type; + } + + public void setTarget_type(String target_type) { + this.target_type = target_type; + } + + public ArrayList<TemplateLogicOutputStatusBean> getStatus() { + if (status == null) { + return new ArrayList<>(); + } + return status; + } + + public void setStatus(ArrayList<TemplateLogicOutputStatusBean> status) { + this.status = status; + } + } + public static class TemplateLogicOutputStatusBean { + //------- key 閿� false string + private String key; + //------- value 鍊� false string + private String value; + + public String getKey() { + return key == null ? "" : key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getValue() { + return value == null ? "" : value; + } + + public void setValue(String value) { + this.value = value; + } + } +} \ No newline at end of file -- Gitblit v1.8.0