com.aliyun.dingtalkcontact_1_0.models.UpdateContactRestrictSettingRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcontact_1_0.models;
import com.aliyun.tea.*;
public class UpdateContactRestrictSettingRequest extends TeaModel {
// 是否生效
@NameInMap("active")
public Boolean active;
// 规则描述
@NameInMap("description")
public String description;
// 白名单deptId列表
@NameInMap("excludeDeptIds")
public java.util.List excludeDeptIds;
// 白名单tagId列表
@NameInMap("excludeTagIds")
public java.util.List excludeTagIds;
// 白名单userid列表
@NameInMap("excludeUserIds")
public java.util.List excludeUserIds;
// id
@NameInMap("id")
public Long id;
// 规则名称
@NameInMap("name")
public String name;
// 是否同时限制搜索
@NameInMap("restrictInSearch")
public Boolean restrictInSearch;
// 是否同时限制查看个人资料页
@NameInMap("restrictInUserProfile")
public Boolean restrictInUserProfile;
// 主体的部门id列表
@NameInMap("subjectDeptIds")
public java.util.List subjectDeptIds;
// 主体的角色id列表
@NameInMap("subjectTagIds")
public java.util.List subjectTagIds;
// 主体的userId列表
@NameInMap("subjectUserIds")
public java.util.List subjectUserIds;
// 限制类型
@NameInMap("type")
public String type;
public static UpdateContactRestrictSettingRequest build(java.util.Map map) throws Exception {
UpdateContactRestrictSettingRequest self = new UpdateContactRestrictSettingRequest();
return TeaModel.build(map, self);
}
public UpdateContactRestrictSettingRequest setActive(Boolean active) {
this.active = active;
return this;
}
public Boolean getActive() {
return this.active;
}
public UpdateContactRestrictSettingRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public UpdateContactRestrictSettingRequest setExcludeDeptIds(java.util.List excludeDeptIds) {
this.excludeDeptIds = excludeDeptIds;
return this;
}
public java.util.List getExcludeDeptIds() {
return this.excludeDeptIds;
}
public UpdateContactRestrictSettingRequest setExcludeTagIds(java.util.List excludeTagIds) {
this.excludeTagIds = excludeTagIds;
return this;
}
public java.util.List getExcludeTagIds() {
return this.excludeTagIds;
}
public UpdateContactRestrictSettingRequest setExcludeUserIds(java.util.List excludeUserIds) {
this.excludeUserIds = excludeUserIds;
return this;
}
public java.util.List getExcludeUserIds() {
return this.excludeUserIds;
}
public UpdateContactRestrictSettingRequest setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public UpdateContactRestrictSettingRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public UpdateContactRestrictSettingRequest setRestrictInSearch(Boolean restrictInSearch) {
this.restrictInSearch = restrictInSearch;
return this;
}
public Boolean getRestrictInSearch() {
return this.restrictInSearch;
}
public UpdateContactRestrictSettingRequest setRestrictInUserProfile(Boolean restrictInUserProfile) {
this.restrictInUserProfile = restrictInUserProfile;
return this;
}
public Boolean getRestrictInUserProfile() {
return this.restrictInUserProfile;
}
public UpdateContactRestrictSettingRequest setSubjectDeptIds(java.util.List subjectDeptIds) {
this.subjectDeptIds = subjectDeptIds;
return this;
}
public java.util.List getSubjectDeptIds() {
return this.subjectDeptIds;
}
public UpdateContactRestrictSettingRequest setSubjectTagIds(java.util.List subjectTagIds) {
this.subjectTagIds = subjectTagIds;
return this;
}
public java.util.List getSubjectTagIds() {
return this.subjectTagIds;
}
public UpdateContactRestrictSettingRequest setSubjectUserIds(java.util.List subjectUserIds) {
this.subjectUserIds = subjectUserIds;
return this;
}
public java.util.List getSubjectUserIds() {
return this.subjectUserIds;
}
public UpdateContactRestrictSettingRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}