public class UpdateAuthorityTemplateRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
description
The description of the permission template.
|
String |
name
The name of the permission template.
|
Long |
templateId
The ID of the permission template.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
UpdateAuthorityTemplateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateAuthorityTemplateRequest |
build(Map<String,?> map) |
String |
getDescription() |
String |
getName() |
Long |
getTemplateId() |
Long |
getTid() |
UpdateAuthorityTemplateRequest |
setDescription(String description) |
UpdateAuthorityTemplateRequest |
setName(String name) |
UpdateAuthorityTemplateRequest |
setTemplateId(Long templateId) |
UpdateAuthorityTemplateRequest |
setTid(Long tid) |
@NameInMap(value="Description") public String description
The description of the permission template.
You must specify the Name or Description parameter. Otherwise, the API call fails.
This parameter is required.
example:This template is used for business testing.
@NameInMap(value="Name") public String name
The name of the permission template.
You must specify the Name or Description parameter. Otherwise, the API call fails.
This parameter is required.
example:Test template.
@NameInMap(value="TemplateId") public Long templateId
The ID of the permission template.
This parameter is required.
example:1563
@NameInMap(value="Tid") public Long tid
The ID of the tenant. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID.
example:3***
public static UpdateAuthorityTemplateRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateAuthorityTemplateRequest setDescription(String description)
public String getDescription()
public UpdateAuthorityTemplateRequest setName(String name)
public String getName()
public UpdateAuthorityTemplateRequest setTemplateId(Long templateId)
public Long getTemplateId()
public UpdateAuthorityTemplateRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.