com.aliyun.sdk.service.edas20170801.models.AbortAndRollbackChangeOrderResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-edas20170801 Show documentation
Show all versions of alibabacloud-edas20170801 Show documentation
Alibaba Cloud Edas (20170801) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.edas20170801.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link AbortAndRollbackChangeOrderResponseBody} extends {@link TeaModel}
*
* AbortAndRollbackChangeOrderResponseBody
*/
public class AbortAndRollbackChangeOrderResponseBody extends TeaModel {
@NameInMap("Code")
private Integer code;
@NameInMap("Data")
private Data data;
@NameInMap("ErrorCode")
private String errorCode;
@NameInMap("Message")
private String message;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TraceId")
private String traceId;
private AbortAndRollbackChangeOrderResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.errorCode = builder.errorCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.traceId = builder.traceId;
}
public static Builder builder() {
return new Builder();
}
public static AbortAndRollbackChangeOrderResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return errorCode
*/
public String getErrorCode() {
return this.errorCode;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return traceId
*/
public String getTraceId() {
return this.traceId;
}
public static final class Builder {
private Integer code;
private Data data;
private String errorCode;
private String message;
private String requestId;
private String traceId;
/**
* The HTTP status code that is returned.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* The information about the change process.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* The error code that is returned.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* The additional information that is returned.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The ID of the trace.
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public AbortAndRollbackChangeOrderResponseBody build() {
return new AbortAndRollbackChangeOrderResponseBody(this);
}
}
public static class Data extends TeaModel {
@NameInMap("ChangeOrderId")
private String changeOrderId;
private Data(Builder builder) {
this.changeOrderId = builder.changeOrderId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return changeOrderId
*/
public String getChangeOrderId() {
return this.changeOrderId;
}
public static final class Builder {
private String changeOrderId;
/**
* The ID of the change process.
*/
public Builder changeOrderId(String changeOrderId) {
this.changeOrderId = changeOrderId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}