com.aliyun.dms_enterprise20181101.models.RevokeTemplateAuthorityRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dms_enterprise20181101 Show documentation
Show all versions of dms_enterprise20181101 Show documentation
Alibaba Cloud dms-enterprise (20181101) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dms_enterprise20181101.models;
import com.aliyun.tea.*;
public class RevokeTemplateAuthorityRequest extends TeaModel {
/**
* The ID of the permission template.
* This parameter is required.
*
* example:
* 1563
*/
@NameInMap("TemplateId")
public Long templateId;
/**
* The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID.
*
* example:
* 3***
*/
@NameInMap("Tid")
public Long tid;
/**
* The IDs of users from whom you want to revoke permissions by using a permission template.
* This parameter is required.
*
* example:
* [12***,34***,56***]
*/
@NameInMap("UserIds")
public String userIds;
public static RevokeTemplateAuthorityRequest build(java.util.Map map) throws Exception {
RevokeTemplateAuthorityRequest self = new RevokeTemplateAuthorityRequest();
return TeaModel.build(map, self);
}
public RevokeTemplateAuthorityRequest setTemplateId(Long templateId) {
this.templateId = templateId;
return this;
}
public Long getTemplateId() {
return this.templateId;
}
public RevokeTemplateAuthorityRequest setTid(Long tid) {
this.tid = tid;
return this;
}
public Long getTid() {
return this.tid;
}
public RevokeTemplateAuthorityRequest setUserIds(String userIds) {
this.userIds = userIds;
return this;
}
public String getUserIds() {
return this.userIds;
}
}