forked from TencentBlueKing/iam-java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:增加人员模板操作相关接口 TencentBlueKing#89
- Loading branch information
Showing
8 changed files
with
102 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/main/java/com/tencent/bk/sdk/iam/dto/manager/SubjectTemplateInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.tencent.bk.sdk.iam.dto.manager; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class SubjectTemplateInfo { | ||
private Integer id; | ||
/** | ||
* 名称 | ||
*/ | ||
private String name; | ||
/** | ||
* 描述 | ||
*/ | ||
private String description; | ||
/** | ||
* 是否是只读人员模版 | ||
*/ | ||
private Boolean readonly; | ||
/** | ||
* 来源用户组ID | ||
*/ | ||
@JsonProperty("source_group_id") | ||
private Integer sourceGroupId; | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/com/tencent/bk/sdk/iam/dto/manager/dto/SearchTemplatesDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.tencent.bk.sdk.iam.dto.manager.dto; | ||
|
||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
@Data | ||
@Builder | ||
public class SearchTemplatesDTO { | ||
/** | ||
* 人员模板名称 | ||
*/ | ||
String name; | ||
/** | ||
* 人员模版id筛选 | ||
*/ | ||
String id; | ||
/** | ||
* 描述 | ||
*/ | ||
String description; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/com/tencent/bk/sdk/iam/dto/manager/vo/SubjectTemplateVO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.tencent.bk.sdk.iam.dto.manager.vo; | ||
|
||
import com.tencent.bk.sdk.iam.dto.manager.SubjectTemplateInfo; | ||
|
||
import java.util.List; | ||
|
||
public class SubjectTemplateVO { | ||
int count; | ||
List<SubjectTemplateInfo> results; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters