All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ens20171110.models.RemoveInstanceSDGResponseBody Maven / Gradle / Ivy

There is a newer version: 7.4.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;

import com.aliyun.tea.*;

public class RemoveInstanceSDGResponseBody extends TeaModel {
    /**
     * 

The returned service code. 0 indicates that the request was successful.

* * example: *

0

*/ @NameInMap("Code") public Integer code; /** *

The returned data object.

*/ @NameInMap("Data") public RemoveInstanceSDGResponseBodyData data; /** *

The request ID.

* * example: *

125B04C7-3D0D-4245-AF96-14E3758E3F06

*/ @NameInMap("RequestId") public String requestId; public static RemoveInstanceSDGResponseBody build(java.util.Map map) throws Exception { RemoveInstanceSDGResponseBody self = new RemoveInstanceSDGResponseBody(); return TeaModel.build(map, self); } public RemoveInstanceSDGResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public RemoveInstanceSDGResponseBody setData(RemoveInstanceSDGResponseBodyData data) { this.data = data; return this; } public RemoveInstanceSDGResponseBodyData getData() { return this.data; } public RemoveInstanceSDGResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class RemoveInstanceSDGResponseBodyDataResultFailedItems extends TeaModel { /** *

The error message that is returned.

* * example: *

sdg not found

*/ @NameInMap("ErrMessage") public String errMessage; /** *

The ID of the instance.

* * example: *

aic-xxxxx-0

*/ @NameInMap("InstanceId") public String instanceId; public static RemoveInstanceSDGResponseBodyDataResultFailedItems build(java.util.Map map) throws Exception { RemoveInstanceSDGResponseBodyDataResultFailedItems self = new RemoveInstanceSDGResponseBodyDataResultFailedItems(); return TeaModel.build(map, self); } public RemoveInstanceSDGResponseBodyDataResultFailedItems setErrMessage(String errMessage) { this.errMessage = errMessage; return this; } public String getErrMessage() { return this.errMessage; } public RemoveInstanceSDGResponseBodyDataResultFailedItems setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } } public static class RemoveInstanceSDGResponseBodyDataResult extends TeaModel { /** *

The number of failed tasks.

* * example: *

0

*/ @NameInMap("FailedCount") public Long failedCount; /** *

Details about the failed tasks.

*/ @NameInMap("FailedItems") public java.util.List failedItems; /** *

The number of successful tasks.

* * example: *

1

*/ @NameInMap("SuccessCount") public Long successCount; public static RemoveInstanceSDGResponseBodyDataResult build(java.util.Map map) throws Exception { RemoveInstanceSDGResponseBodyDataResult self = new RemoveInstanceSDGResponseBodyDataResult(); return TeaModel.build(map, self); } public RemoveInstanceSDGResponseBodyDataResult setFailedCount(Long failedCount) { this.failedCount = failedCount; return this; } public Long getFailedCount() { return this.failedCount; } public RemoveInstanceSDGResponseBodyDataResult setFailedItems(java.util.List failedItems) { this.failedItems = failedItems; return this; } public java.util.List getFailedItems() { return this.failedItems; } public RemoveInstanceSDGResponseBodyDataResult setSuccessCount(Long successCount) { this.successCount = successCount; return this; } public Long getSuccessCount() { return this.successCount; } } public static class RemoveInstanceSDGResponseBodyData 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 RemoveInstanceSDGResponseBodyDataResult 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 RemoveInstanceSDGResponseBodyData build(java.util.Map map) throws Exception { RemoveInstanceSDGResponseBodyData self = new RemoveInstanceSDGResponseBodyData(); return TeaModel.build(map, self); } public RemoveInstanceSDGResponseBodyData setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public RemoveInstanceSDGResponseBodyData setResult(RemoveInstanceSDGResponseBodyDataResult result) { this.result = result; return this; } public RemoveInstanceSDGResponseBodyDataResult getResult() { return this.result; } public RemoveInstanceSDGResponseBodyData setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy