public class GrantTemplateAuthorityResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
errorCode
The error code.
|
String |
errorMessage
The error message returned if the request failed.
|
String |
requestId
The ID of the request.
|
Boolean |
result
Indicates whether the permissions on resources were granted to the users by using the permission template.
|
Boolean |
success
Indicates whether the request was successful.
|
| 构造器和说明 |
|---|
GrantTemplateAuthorityResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GrantTemplateAuthorityResponseBody |
build(Map<String,?> map) |
String |
getErrorCode() |
String |
getErrorMessage() |
String |
getRequestId() |
Boolean |
getResult() |
Boolean |
getSuccess() |
GrantTemplateAuthorityResponseBody |
setErrorCode(String errorCode) |
GrantTemplateAuthorityResponseBody |
setErrorMessage(String errorMessage) |
GrantTemplateAuthorityResponseBody |
setRequestId(String requestId) |
GrantTemplateAuthorityResponseBody |
setResult(Boolean result) |
GrantTemplateAuthorityResponseBody |
setSuccess(Boolean success) |
@NameInMap(value="ErrorCode") public String errorCode
The error code.
example:UnknownError
@NameInMap(value="ErrorMessage") public String errorMessage
The error message returned if the request failed.
example:UnknownError
@NameInMap(value="RequestId") public String requestId
The ID of the request.
example:34E01EDD-6A16-4CF0-9541-C644D1BE01AA
@NameInMap(value="Result") public Boolean result
Indicates whether the permissions on resources were granted to the users by using the permission template.
example:true
@NameInMap(value="Success") public Boolean success
Indicates whether the request was successful. Valid values:
true
public static GrantTemplateAuthorityResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic GrantTemplateAuthorityResponseBody setErrorCode(String errorCode)
public String getErrorCode()
public GrantTemplateAuthorityResponseBody setErrorMessage(String errorMessage)
public String getErrorMessage()
public GrantTemplateAuthorityResponseBody setRequestId(String requestId)
public String getRequestId()
public GrantTemplateAuthorityResponseBody setResult(Boolean result)
public Boolean getResult()
public GrantTemplateAuthorityResponseBody setSuccess(Boolean success)
public Boolean getSuccess()
Copyright © 2025. All rights reserved.