com.aliyun.dingtalkstorage_1_0.models.DeletePermissionRequest 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.dingtalkstorage_1_0.models;
import com.aliyun.tea.*;
public class DeletePermissionRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("members")
public java.util.List members;
/**
* This parameter is required.
*
* example:
* MANAGER
*/
@NameInMap("roleId")
public String roleId;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("unionId")
public String unionId;
public static DeletePermissionRequest build(java.util.Map map) throws Exception {
DeletePermissionRequest self = new DeletePermissionRequest();
return TeaModel.build(map, self);
}
public DeletePermissionRequest setMembers(java.util.List members) {
this.members = members;
return this;
}
public java.util.List getMembers() {
return this.members;
}
public DeletePermissionRequest setRoleId(String roleId) {
this.roleId = roleId;
return this;
}
public String getRoleId() {
return this.roleId;
}
public DeletePermissionRequest setUnionId(String unionId) {
this.unionId = unionId;
return this;
}
public String getUnionId() {
return this.unionId;
}
public static class DeletePermissionRequestMembers extends TeaModel {
/**
* example:
* corp_id
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*
* example:
* member_id
*/
@NameInMap("id")
public String id;
/**
* This parameter is required.
*
* example:
* USER
*/
@NameInMap("type")
public String type;
public static DeletePermissionRequestMembers build(java.util.Map map) throws Exception {
DeletePermissionRequestMembers self = new DeletePermissionRequestMembers();
return TeaModel.build(map, self);
}
public DeletePermissionRequestMembers setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public DeletePermissionRequestMembers setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public DeletePermissionRequestMembers setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}