com.aliyun.ens20171110.models.UnloadRegionSDGResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class UnloadRegionSDGResponseBody extends TeaModel {
/**
* The returned data object.
*/
@NameInMap("Data")
public UnloadRegionSDGResponseBodyData data;
/**
* The request ID.
*
* example:
* 125B04C7-3D0D-4245-AF96-14E3758E3F06
*/
@NameInMap("RequestId")
public String requestId;
public static UnloadRegionSDGResponseBody build(java.util.Map map) throws Exception {
UnloadRegionSDGResponseBody self = new UnloadRegionSDGResponseBody();
return TeaModel.build(map, self);
}
public UnloadRegionSDGResponseBody setData(UnloadRegionSDGResponseBodyData data) {
this.data = data;
return this;
}
public UnloadRegionSDGResponseBodyData getData() {
return this.data;
}
public UnloadRegionSDGResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class UnloadRegionSDGResponseBodyDataResultFailedItems extends TeaModel {
/**
* The ID of the destination node.
*
* example:
* cn-hangzhou-xxx
*/
@NameInMap("DestinationRegionId")
public String destinationRegionId;
/**
* The error message that is returned.
*
* example:
* region not found
*/
@NameInMap("ErrorMessage")
public String errorMessage;
public static UnloadRegionSDGResponseBodyDataResultFailedItems build(java.util.Map map) throws Exception {
UnloadRegionSDGResponseBodyDataResultFailedItems self = new UnloadRegionSDGResponseBodyDataResultFailedItems();
return TeaModel.build(map, self);
}
public UnloadRegionSDGResponseBodyDataResultFailedItems setDestinationRegionId(String destinationRegionId) {
this.destinationRegionId = destinationRegionId;
return this;
}
public String getDestinationRegionId() {
return this.destinationRegionId;
}
public UnloadRegionSDGResponseBodyDataResultFailedItems setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
}
public static class UnloadRegionSDGResponseBodyDataResult extends TeaModel {
/**
* The number of failed tasks.
*
* example:
* 0
*/
@NameInMap("FailedCount")
public Long failedCount;
/**
* Details about failed tasks.
*/
@NameInMap("FailedItems")
public java.util.List failedItems;
/**
* The number of successful tasks.
*
* example:
* 1
*/
@NameInMap("SuccessCount")
public Long successCount;
public static UnloadRegionSDGResponseBodyDataResult build(java.util.Map map) throws Exception {
UnloadRegionSDGResponseBodyDataResult self = new UnloadRegionSDGResponseBodyDataResult();
return TeaModel.build(map, self);
}
public UnloadRegionSDGResponseBodyDataResult setFailedCount(Long failedCount) {
this.failedCount = failedCount;
return this;
}
public Long getFailedCount() {
return this.failedCount;
}
public UnloadRegionSDGResponseBodyDataResult setFailedItems(java.util.List failedItems) {
this.failedItems = failedItems;
return this;
}
public java.util.List getFailedItems() {
return this.failedItems;
}
public UnloadRegionSDGResponseBodyDataResult setSuccessCount(Long successCount) {
this.successCount = successCount;
return this;
}
public Long getSuccessCount() {
return this.successCount;
}
}
public static class UnloadRegionSDGResponseBodyData extends TeaModel {
/**
* The response message. Success is returned for a successful request.
*
* example:
* success
*/
@NameInMap("Message")
public String message;
/**
* The execution result of the synchronization request.
*/
@NameInMap("Result")
public UnloadRegionSDGResponseBodyDataResult result;
/**
* Indicates whether all tasks are successful. Valid values:
*
* - true: All tasks are successful.
* - false: Failed tasks exist.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static UnloadRegionSDGResponseBodyData build(java.util.Map map) throws Exception {
UnloadRegionSDGResponseBodyData self = new UnloadRegionSDGResponseBodyData();
return TeaModel.build(map, self);
}
public UnloadRegionSDGResponseBodyData setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public UnloadRegionSDGResponseBodyData setResult(UnloadRegionSDGResponseBodyDataResult result) {
this.result = result;
return this;
}
public UnloadRegionSDGResponseBodyDataResult getResult() {
return this.result;
}
public UnloadRegionSDGResponseBodyData setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy