diff --git a/build.gradle b/build.gradle index 5d55c80..5ba92f7 100644 --- a/build.gradle +++ b/build.gradle @@ -32,7 +32,7 @@ ext { set('lombokVersion', '1.18.10') set("junitVersion", "5.4.2") - String iamVersion = (System.getProperty("iamVersion") ?: "1.0.40") + String iamVersion = (System.getProperty("iamVersion") ?: "1.0.41") if (System.getProperty("snapshot") == "true") { set('iamVersion', iamVersion + "-SNAPSHOT") } else { diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java index 09c5b2f..0412812 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/GradeManagerApplicationCreateDTO.java @@ -52,7 +52,7 @@ public class GradeManagerApplicationCreateDTO { private Boolean syncPerm; /** - * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 + * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 */ @JsonProperty("group_name") private String groupName; @@ -82,4 +82,9 @@ public class GradeManagerApplicationCreateDTO { * 透传到ITSM审批单的内容, 默认为空 * */ private ItsmContentDTO content; + /* + * 是否创建用户组的同步人员模版, 默认false + * */ + @JsonProperty("sync_subject_template") + private Boolean syncSubjectTemplate; } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java index 2e7c0b1..71e1d2b 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/CreateManagerDTO.java @@ -48,8 +48,13 @@ public class CreateManagerDTO { Boolean sync_perm; /** - * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 + * 如果sync_perm为true, 可以自定义用户组名称, 默认为空 */ @JsonProperty("group_name") private String groupName; + /** + * 是否创建用户组的同步人员模版, 默认false + */ + @JsonProperty("sync_subject_template") + private Boolean syncSubjectTemplate; } diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java index 68012cf..cd82e34 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/ManagerRoleGroupDTO.java @@ -23,8 +23,13 @@ public class ManagerRoleGroupDTO { List groups; /* - * 不传时默认为true,当迁移时,将该字段设置false,使得用户组可被管理 - * */ + * 不传时默认为true,当迁移时,将该字段设置false,使得用户组可被管理 + * */ @JsonProperty("create_attributes") Boolean createAttributes; + /* + * 是否创建用户组的同步人员模版, 默认false + * */ + @JsonProperty("sync_subject_template") + Boolean syncSubjectTemplate; }