com.aliyun.sdk.service.linkedmall20230930.models.SplitPurchaseOrderRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.linkedmall20230930.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link SplitPurchaseOrderRequest} extends {@link RequestModel}
*
* SplitPurchaseOrderRequest
*/
public class SplitPurchaseOrderRequest extends Request {
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("body")
private PurchaseOrderRenderQuery body;
private SplitPurchaseOrderRequest(Builder builder) {
super(builder);
this.body = builder.body;
}
public static Builder builder() {
return new Builder();
}
public static SplitPurchaseOrderRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return body
*/
public PurchaseOrderRenderQuery getBody() {
return this.body;
}
public static final class Builder extends Request.Builder {
private PurchaseOrderRenderQuery body;
private Builder() {
super();
}
private Builder(SplitPurchaseOrderRequest request) {
super(request);
this.body = request.body;
}
/**
* body.
*/
public Builder body(PurchaseOrderRenderQuery body) {
this.putBodyParameter("body", body);
this.body = body;
return this;
}
@Override
public SplitPurchaseOrderRequest build() {
return new SplitPurchaseOrderRequest(this);
}
}
}