diff --git a/build.gradle b/build.gradle index b4664f8..8d33932 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.31-SNAPSHOT") + set('iamVersion', "1.0.32-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 5b19919..8007588 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 @@ -12,9 +12,12 @@ package com.tencent.bk.sdk.iam.dto.application; import com.fasterxml.jackson.annotation.JsonProperty; +import com.tencent.bk.sdk.iam.dto.itsm.ItsmContentDTO; +import com.tencent.bk.sdk.iam.dto.itsm.ItsmValue; import lombok.Builder; import lombok.Data; +import java.util.HashMap; import java.util.List; @Data @@ -27,4 +30,10 @@ public class ApplicationDTO { /*申请人,即username*/ private String applicant; private String reason; + @JsonProperty("content_template") + private ItsmContentDTO contentTemplate; + @JsonProperty("group_content") + private HashMap groupContent; + @JsonProperty("title_prefix") + private String titlePrefix; } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmColumn.java b/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmColumn.java index 86d6941..0156ac4 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmColumn.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/itsm/ItsmColumn.java @@ -1,13 +1,28 @@ package com.tencent.bk.sdk.iam.dto.itsm; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Builder; import lombok.Data; @Data @Builder public class ItsmColumn { + /** + * 列标识 + * */ private String key; + /** + * 列名称 + * */ private String name; + /** + * 列类型:text、url + * */ private String type; + /** + * 是否为抽屉模式 + * */ + @JsonProperty("is_iframe") + private Boolean iframe; private Integer width; }