com.aliyun.dms_enterprise20181101.models.GetDataExportDownloadURLResponseBody 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 GetDataExportDownloadURLResponseBody extends TeaModel {
/**
* The details about the download URL of the file that records the export results for the ticket.
*/
@NameInMap("DownloadURLResult")
public GetDataExportDownloadURLResponseBodyDownloadURLResult downloadURLResult;
/**
* 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:
* 4BF24EA5-9013-4C85-AE68-6C23AF5E0097
*/
@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 GetDataExportDownloadURLResponseBody build(java.util.Map map) throws Exception {
GetDataExportDownloadURLResponseBody self = new GetDataExportDownloadURLResponseBody();
return TeaModel.build(map, self);
}
public GetDataExportDownloadURLResponseBody setDownloadURLResult(GetDataExportDownloadURLResponseBodyDownloadURLResult downloadURLResult) {
this.downloadURLResult = downloadURLResult;
return this;
}
public GetDataExportDownloadURLResponseBodyDownloadURLResult getDownloadURLResult() {
return this.downloadURLResult;
}
public GetDataExportDownloadURLResponseBody setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public GetDataExportDownloadURLResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public GetDataExportDownloadURLResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetDataExportDownloadURLResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class GetDataExportDownloadURLResponseBodyDownloadURLResult extends TeaModel {
/**
* Indicates whether export results are available for download. Valid values:
*
* - true: Export results are available for download.
* - false: No export results are available for download.
*
*
* example:
* true
*/
@NameInMap("HasResult")
public Boolean hasResult;
/**
* The message that indicates an exception.
*
* example:
* tip message
*/
@NameInMap("TipMessage")
public String tipMessage;
/**
* The download URL of the file that records the export results for the ticket.
*
* example:
* https://dms-idb-hangzhou.oss-cn-hangzhou.aliyuncs.com/xxx.zip
*/
@NameInMap("URL")
public String URL;
public static GetDataExportDownloadURLResponseBodyDownloadURLResult build(java.util.Map map) throws Exception {
GetDataExportDownloadURLResponseBodyDownloadURLResult self = new GetDataExportDownloadURLResponseBodyDownloadURLResult();
return TeaModel.build(map, self);
}
public GetDataExportDownloadURLResponseBodyDownloadURLResult setHasResult(Boolean hasResult) {
this.hasResult = hasResult;
return this;
}
public Boolean getHasResult() {
return this.hasResult;
}
public GetDataExportDownloadURLResponseBodyDownloadURLResult setTipMessage(String tipMessage) {
this.tipMessage = tipMessage;
return this;
}
public String getTipMessage() {
return this.tipMessage;
}
public GetDataExportDownloadURLResponseBodyDownloadURLResult setURL(String URL) {
this.URL = URL;
return this;
}
public String getURL() {
return this.URL;
}
}
}