com.aliyun.dms_enterprise20181101.models.GrantUserPermissionResponseBody 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 GrantUserPermissionResponseBody extends TeaModel {
/**
* The error code.
*
* example:
* UnknownError
*/
@NameInMap("ErrorCode")
public String errorCode;
/**
* The error message.
*
* example:
* UnknownError
*/
@NameInMap("ErrorMessage")
public String errorMessage;
/**
* The ID of the request.
*
* example:
* A99CD576-1E18-4E86-931E-C3CCE56DC030
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values:
*
* - true: The request was successful.
* - false: The request failed.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static GrantUserPermissionResponseBody build(java.util.Map map) throws Exception {
GrantUserPermissionResponseBody self = new GrantUserPermissionResponseBody();
return TeaModel.build(map, self);
}
public GrantUserPermissionResponseBody setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public GrantUserPermissionResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public GrantUserPermissionResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GrantUserPermissionResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}