public class CreateAuthorityTemplateRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
description
The description of the permission template.
|
String |
name
The name of the permission template.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
CreateAuthorityTemplateRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateAuthorityTemplateRequest |
build(Map<String,?> map) |
String |
getDescription() |
String |
getName() |
Long |
getTid() |
CreateAuthorityTemplateRequest |
setDescription(String description) |
CreateAuthorityTemplateRequest |
setName(String name) |
CreateAuthorityTemplateRequest |
setTid(Long tid) |
@NameInMap(value="Description") public String description
The description of the permission template.
example:This template is used for business testing.
@NameInMap(value="Name") public String name
The name of the permission template.
This parameter is required.
example:Test template.
@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 CreateAuthorityTemplateRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateAuthorityTemplateRequest setDescription(String description)
public String getDescription()
public CreateAuthorityTemplateRequest setName(String name)
public String getName()
public CreateAuthorityTemplateRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.