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