diff --git a/build.gradle b/build.gradle index cd66326..e633436 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.48") + String iamVersion = (System.getProperty("iamVersion") ?: "1.0.49") if (System.getProperty("snapshot") == "true") { set('iamVersion', iamVersion + "-SNAPSHOT") } else { diff --git a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/SearchGroupDTO.java b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/SearchGroupDTO.java index 869da4f..1831de5 100644 --- a/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/SearchGroupDTO.java +++ b/src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/SearchGroupDTO.java @@ -7,8 +7,11 @@ @Data @Builder public class SearchGroupDTO { - /*分级管理员是否继承查询子集管理员的用户组, 默认是*/ + /*该值若为true,会查询所有的用户组;若为false,只会查询分级管理员级别的用户组,不包含二级管理员的用户组,不填默认true*/ private Boolean inherit; + /*该值若为true,会查询所有的用户组,若为false,只会查询二级管理员的用户组的组*/ + @JsonProperty("only_inherit") + private String onlyInherit; /*操作id筛选, 只支持自定义操作*/ @JsonProperty("action_id") private String actionId;