com.aliyun.dataphin_public20230630.models.RevokeResourcePermissionRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataphin_public20230630 Show documentation
Show all versions of dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dataphin_public20230630.models;
import com.aliyun.tea.*;
public class RevokeResourcePermissionRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 30001011
*/
@NameInMap("OpTenantId")
public Long opTenantId;
/**
* This parameter is required.
*/
@NameInMap("RevokeCommand")
public RevokeResourcePermissionRequestRevokeCommand revokeCommand;
public static RevokeResourcePermissionRequest build(java.util.Map map) throws Exception {
RevokeResourcePermissionRequest self = new RevokeResourcePermissionRequest();
return TeaModel.build(map, self);
}
public RevokeResourcePermissionRequest setOpTenantId(Long opTenantId) {
this.opTenantId = opTenantId;
return this;
}
public Long getOpTenantId() {
return this.opTenantId;
}
public RevokeResourcePermissionRequest setRevokeCommand(RevokeResourcePermissionRequestRevokeCommand revokeCommand) {
this.revokeCommand = revokeCommand;
return this;
}
public RevokeResourcePermissionRequestRevokeCommand getRevokeCommand() {
return this.revokeCommand;
}
public static class RevokeResourcePermissionRequestRevokeCommandResourceList extends TeaModel {
/**
* example:
* odps.300002102.beginner_test.amin_table
*/
@NameInMap("ResourceId")
public String resourceId;
public static RevokeResourcePermissionRequestRevokeCommandResourceList build(java.util.Map map) throws Exception {
RevokeResourcePermissionRequestRevokeCommandResourceList self = new RevokeResourcePermissionRequestRevokeCommandResourceList();
return TeaModel.build(map, self);
}
public RevokeResourcePermissionRequestRevokeCommandResourceList setResourceId(String resourceId) {
this.resourceId = resourceId;
return this;
}
public String getResourceId() {
return this.resourceId;
}
}
public static class RevokeResourcePermissionRequestRevokeCommand extends TeaModel {
@NameInMap("OperateList")
public java.util.List operateList;
/**
* example:
* xx
*/
@NameInMap("Reason")
public String reason;
/**
* This parameter is required.
*/
@NameInMap("ResourceList")
public java.util.List resourceList;
/**
* This parameter is required.
*
* example:
* PHYSICAL_TABLE
*/
@NameInMap("ResourceType")
public String resourceType;
/**
* This parameter is required.
*
* example:
* 13131
*/
@NameInMap("UserId")
public String userId;
public static RevokeResourcePermissionRequestRevokeCommand build(java.util.Map map) throws Exception {
RevokeResourcePermissionRequestRevokeCommand self = new RevokeResourcePermissionRequestRevokeCommand();
return TeaModel.build(map, self);
}
public RevokeResourcePermissionRequestRevokeCommand setOperateList(java.util.List operateList) {
this.operateList = operateList;
return this;
}
public java.util.List getOperateList() {
return this.operateList;
}
public RevokeResourcePermissionRequestRevokeCommand setReason(String reason) {
this.reason = reason;
return this;
}
public String getReason() {
return this.reason;
}
public RevokeResourcePermissionRequestRevokeCommand setResourceList(java.util.List resourceList) {
this.resourceList = resourceList;
return this;
}
public java.util.List getResourceList() {
return this.resourceList;
}
public RevokeResourcePermissionRequestRevokeCommand setResourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
public String getResourceType() {
return this.resourceType;
}
public RevokeResourcePermissionRequestRevokeCommand setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy