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 {
/**
* example:
* true
*/
@NameInMap("active")
public Boolean active;
/**
* example:
* rule description
*/
@NameInMap("description")
public String description;
@NameInMap("excludeDeptIds")
public java.util.List excludeDeptIds;
@NameInMap("excludeTagIds")
public java.util.List excludeTagIds;
@NameInMap("excludeUserIds")
public java.util.List excludeUserIds;
/**
* example:
* 1000
*/
@NameInMap("id")
public Long id;
/**
* example:
* contact restrict name
*/
@NameInMap("name")
public String name;
/**
* if can be null:
* true
*/
@NameInMap("restrictInSearch")
public Boolean restrictInSearch;
/**
* if can be null:
* true
*/
@NameInMap("restrictInUserProfile")
public Boolean restrictInUserProfile;
@NameInMap("subjectDeptIds")
public java.util.List subjectDeptIds;
@NameInMap("subjectTagIds")
public java.util.List subjectTagIds;
@NameInMap("subjectUserIds")
public java.util.List subjectUserIds;
/**
* This parameter is required.
*/
@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;
}
}