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

com.aliyun.dms_enterprise20181101.models.RevokeTemplateAuthorityRequest Maven / Gradle / Ivy

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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy