From 15c229d5d1394780424202c46a02b272adfbf5a1 Mon Sep 17 00:00:00 2001 From: greysonfang Date: Fri, 1 Sep 2023 17:12:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=A2=9E=E5=8A=A0itsm=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E5=8D=95=E6=8D=AE=E5=86=85=E5=AE=B9=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=20#64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- .../tencent/bk/sdk/iam/dto/application/ApplicationDTO.java | 4 ++-- .../java/com/tencent/bk/sdk/iam/dto/itsm/ItsmContentDTO.java | 4 ++-- src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmValue.java | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 8d33932..761b5df 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ ext { set("junitVersion", "5.4.2") if (System.getProperty("snapshot") == "true") { - set('iamVersion', "1.0.32-SNAPSHOT") + set('iamVersion', "1.0.33-SNAPSHOT") } else { set('iamVersion', "1.0.0") } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/application/ApplicationDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/application/ApplicationDTO.java index 8007588..b3b2ade 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/application/ApplicationDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/application/ApplicationDTO.java @@ -17,8 +17,8 @@ import lombok.Builder; import lombok.Data; -import java.util.HashMap; import java.util.List; +import java.util.Map; @Data @Builder @@ -33,7 +33,7 @@ public class ApplicationDTO { @JsonProperty("content_template") private ItsmContentDTO contentTemplate; @JsonProperty("group_content") - private HashMap groupContent; + private Map groupContent; @JsonProperty("title_prefix") private String titlePrefix; } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmContentDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmContentDTO.java index 1cae7c5..6e61685 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmContentDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmContentDTO.java @@ -4,13 +4,13 @@ import lombok.Builder; import lombok.Data; -import java.util.HashMap; import java.util.List; +import java.util.Map; @Builder @Data public class ItsmContentDTO { - private HashMap schemes; + private Map schemes; @JsonProperty("form_data") private List formData; } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmValue.java b/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmValue.java index 522326a..3ada6c0 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmValue.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmValue.java @@ -3,13 +3,13 @@ import lombok.Builder; import lombok.Data; -import java.util.HashMap; import java.util.List; +import java.util.Map; @Data @Builder public class ItsmValue { private String lable; private String scheme; - private List> value; + private List> value; }