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

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

There is a newer version: 7.7.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 DeployInstanceSDGResponseBody extends TeaModel {
    /**
     * 

The returned data object.

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

The request ID.

* * example: *

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

*/ @NameInMap("RequestId") public String requestId; public static DeployInstanceSDGResponseBody build(java.util.Map map) throws Exception { DeployInstanceSDGResponseBody self = new DeployInstanceSDGResponseBody(); return TeaModel.build(map, self); } public DeployInstanceSDGResponseBody setData(DeployInstanceSDGResponseBodyData data) { this.data = data; return this; } public DeployInstanceSDGResponseBodyData getData() { return this.data; } public DeployInstanceSDGResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class DeployInstanceSDGResponseBodyDataResultFailedItems 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 DeployInstanceSDGResponseBodyDataResultFailedItems build(java.util.Map map) throws Exception { DeployInstanceSDGResponseBodyDataResultFailedItems self = new DeployInstanceSDGResponseBodyDataResultFailedItems(); return TeaModel.build(map, self); } public DeployInstanceSDGResponseBodyDataResultFailedItems setErrMessage(String errMessage) { this.errMessage = errMessage; return this; } public String getErrMessage() { return this.errMessage; } public DeployInstanceSDGResponseBodyDataResultFailedItems setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } } public static class DeployInstanceSDGResponseBodyDataResult 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 DeployInstanceSDGResponseBodyDataResult build(java.util.Map map) throws Exception { DeployInstanceSDGResponseBodyDataResult self = new DeployInstanceSDGResponseBodyDataResult(); return TeaModel.build(map, self); } public DeployInstanceSDGResponseBodyDataResult setFailedCount(Long failedCount) { this.failedCount = failedCount; return this; } public Long getFailedCount() { return this.failedCount; } public DeployInstanceSDGResponseBodyDataResult setFailedItems(java.util.List failedItems) { this.failedItems = failedItems; return this; } public java.util.List getFailedItems() { return this.failedItems; } public DeployInstanceSDGResponseBodyDataResult setSuccessCount(Long successCount) { this.successCount = successCount; return this; } public Long getSuccessCount() { return this.successCount; } } public static class DeployInstanceSDGResponseBodyData 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 DeployInstanceSDGResponseBodyDataResult 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 DeployInstanceSDGResponseBodyData build(java.util.Map map) throws Exception { DeployInstanceSDGResponseBodyData self = new DeployInstanceSDGResponseBodyData(); return TeaModel.build(map, self); } public DeployInstanceSDGResponseBodyData setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public DeployInstanceSDGResponseBodyData setResult(DeployInstanceSDGResponseBodyDataResult result) { this.result = result; return this; } public DeployInstanceSDGResponseBodyDataResult getResult() { return this.result; } public DeployInstanceSDGResponseBodyData setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy