All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkstorage_1_0.models.DeletePermissionRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// 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; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy