com.aliyun.dms_enterprise20181101.models.CreateOrderResponseBody 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 CreateOrderResponseBody extends TeaModel {
/**
* The ID of the ticket.
*/
@NameInMap("CreateOrderResult")
public CreateOrderResponseBodyCreateOrderResult createOrderResult;
/**
* 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:
* 427688B8-ADFB-4C4E-9D45-EF5C1FD6****
*/
@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 CreateOrderResponseBody build(java.util.Map map) throws Exception {
CreateOrderResponseBody self = new CreateOrderResponseBody();
return TeaModel.build(map, self);
}
public CreateOrderResponseBody setCreateOrderResult(CreateOrderResponseBodyCreateOrderResult createOrderResult) {
this.createOrderResult = createOrderResult;
return this;
}
public CreateOrderResponseBodyCreateOrderResult getCreateOrderResult() {
return this.createOrderResult;
}
public CreateOrderResponseBody setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public CreateOrderResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public CreateOrderResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateOrderResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreateOrderResponseBodyCreateOrderResult extends TeaModel {
@NameInMap("OrderIds")
public java.util.List orderIds;
public static CreateOrderResponseBodyCreateOrderResult build(java.util.Map map) throws Exception {
CreateOrderResponseBodyCreateOrderResult self = new CreateOrderResponseBodyCreateOrderResult();
return TeaModel.build(map, self);
}
public CreateOrderResponseBodyCreateOrderResult setOrderIds(java.util.List orderIds) {
this.orderIds = orderIds;
return this;
}
public java.util.List getOrderIds() {
return this.orderIds;
}
}
}