com.aliyun.dingtalkcontact_1_0.models.UpdateSeniorSettingRequest 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 UpdateSeniorSettingRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("open")
public Boolean open;
@NameInMap("permitDeptIds")
public java.util.List permitDeptIds;
@NameInMap("permitStaffIds")
public java.util.List permitStaffIds;
@NameInMap("permitTagIds")
public java.util.List permitTagIds;
@NameInMap("protectScenes")
public java.util.List protectScenes;
/**
* This parameter is required.
*/
@NameInMap("seniorStaffId")
public String seniorStaffId;
public static UpdateSeniorSettingRequest build(java.util.Map map) throws Exception {
UpdateSeniorSettingRequest self = new UpdateSeniorSettingRequest();
return TeaModel.build(map, self);
}
public UpdateSeniorSettingRequest setOpen(Boolean open) {
this.open = open;
return this;
}
public Boolean getOpen() {
return this.open;
}
public UpdateSeniorSettingRequest setPermitDeptIds(java.util.List permitDeptIds) {
this.permitDeptIds = permitDeptIds;
return this;
}
public java.util.List getPermitDeptIds() {
return this.permitDeptIds;
}
public UpdateSeniorSettingRequest setPermitStaffIds(java.util.List permitStaffIds) {
this.permitStaffIds = permitStaffIds;
return this;
}
public java.util.List getPermitStaffIds() {
return this.permitStaffIds;
}
public UpdateSeniorSettingRequest setPermitTagIds(java.util.List permitTagIds) {
this.permitTagIds = permitTagIds;
return this;
}
public java.util.List getPermitTagIds() {
return this.permitTagIds;
}
public UpdateSeniorSettingRequest setProtectScenes(java.util.List protectScenes) {
this.protectScenes = protectScenes;
return this;
}
public java.util.List getProtectScenes() {
return this.protectScenes;
}
public UpdateSeniorSettingRequest setSeniorStaffId(String seniorStaffId) {
this.seniorStaffId = seniorStaffId;
return this;
}
public String getSeniorStaffId() {
return this.seniorStaffId;
}
}