com.aliyun.sdk.service.ens20171110.models.DeleteEnsSaleConditionControlRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteEnsSaleConditionControlRequest} extends {@link RequestModel}
*
* DeleteEnsSaleConditionControlRequest
*/
public class DeleteEnsSaleConditionControlRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AliUidAccount")
private String aliUidAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CommodityCode")
@com.aliyun.core.annotation.Validation(required = true)
private String commodityCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CustomAccount")
private String customAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SaleControls")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List saleControls;
private DeleteEnsSaleConditionControlRequest(Builder builder) {
super(builder);
this.aliUidAccount = builder.aliUidAccount;
this.commodityCode = builder.commodityCode;
this.customAccount = builder.customAccount;
this.saleControls = builder.saleControls;
}
public static Builder builder() {
return new Builder();
}
public static DeleteEnsSaleConditionControlRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aliUidAccount
*/
public String getAliUidAccount() {
return this.aliUidAccount;
}
/**
* @return commodityCode
*/
public String getCommodityCode() {
return this.commodityCode;
}
/**
* @return customAccount
*/
public String getCustomAccount() {
return this.customAccount;
}
/**
* @return saleControls
*/
public java.util.List getSaleControls() {
return this.saleControls;
}
public static final class Builder extends Request.Builder {
private String aliUidAccount;
private String commodityCode;
private String customAccount;
private java.util.List saleControls;
private Builder() {
super();
}
private Builder(DeleteEnsSaleConditionControlRequest request) {
super(request);
this.aliUidAccount = request.aliUidAccount;
this.commodityCode = request.commodityCode;
this.customAccount = request.customAccount;
this.saleControls = request.saleControls;
}
/**
* AliUidAccount.
*/
public Builder aliUidAccount(String aliUidAccount) {
this.putQueryParameter("AliUidAccount", aliUidAccount);
this.aliUidAccount = aliUidAccount;
return this;
}
/**
* This parameter is required.
*/
public Builder commodityCode(String commodityCode) {
this.putQueryParameter("CommodityCode", commodityCode);
this.commodityCode = commodityCode;
return this;
}
/**
* CustomAccount.
*/
public Builder customAccount(String customAccount) {
this.putQueryParameter("CustomAccount", customAccount);
this.customAccount = customAccount;
return this;
}
/**
* This parameter is required.
*/
public Builder saleControls(java.util.List saleControls) {
String saleControlsShrink = shrink(saleControls, "SaleControls", "json");
this.putQueryParameter("SaleControls", saleControlsShrink);
this.saleControls = saleControls;
return this;
}
@Override
public DeleteEnsSaleConditionControlRequest build() {
return new DeleteEnsSaleConditionControlRequest(this);
}
}
/**
*
* {@link DeleteEnsSaleConditionControlRequest} extends {@link TeaModel}
*
* DeleteEnsSaleConditionControlRequest
*/
public static class ConditionControls extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConditionControlModuleCode")
@com.aliyun.core.annotation.Validation(required = true)
private String conditionControlModuleCode;
@com.aliyun.core.annotation.NameInMap("ConditionControlModuleValue")
@com.aliyun.core.annotation.Validation(required = true)
private String conditionControlModuleValue;
private ConditionControls(Builder builder) {
this.conditionControlModuleCode = builder.conditionControlModuleCode;
this.conditionControlModuleValue = builder.conditionControlModuleValue;
}
public static Builder builder() {
return new Builder();
}
public static ConditionControls create() {
return builder().build();
}
/**
* @return conditionControlModuleCode
*/
public String getConditionControlModuleCode() {
return this.conditionControlModuleCode;
}
/**
* @return conditionControlModuleValue
*/
public String getConditionControlModuleValue() {
return this.conditionControlModuleValue;
}
public static final class Builder {
private String conditionControlModuleCode;
private String conditionControlModuleValue;
/**
* This parameter is required.
*/
public Builder conditionControlModuleCode(String conditionControlModuleCode) {
this.conditionControlModuleCode = conditionControlModuleCode;
return this;
}
/**
* This parameter is required.
*/
public Builder conditionControlModuleValue(String conditionControlModuleValue) {
this.conditionControlModuleValue = conditionControlModuleValue;
return this;
}
public ConditionControls build() {
return new ConditionControls(this);
}
}
}
/**
*
* {@link DeleteEnsSaleConditionControlRequest} extends {@link TeaModel}
*
* DeleteEnsSaleConditionControlRequest
*/
public static class SaleControls extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConditionControls")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List conditionControls;
@com.aliyun.core.annotation.NameInMap("ModuleCode")
@com.aliyun.core.annotation.Validation(required = true)
private String moduleCode;
@com.aliyun.core.annotation.NameInMap("OrderType")
@com.aliyun.core.annotation.Validation(required = true)
private String orderType;
private SaleControls(Builder builder) {
this.conditionControls = builder.conditionControls;
this.moduleCode = builder.moduleCode;
this.orderType = builder.orderType;
}
public static Builder builder() {
return new Builder();
}
public static SaleControls create() {
return builder().build();
}
/**
* @return conditionControls
*/
public java.util.List getConditionControls() {
return this.conditionControls;
}
/**
* @return moduleCode
*/
public String getModuleCode() {
return this.moduleCode;
}
/**
* @return orderType
*/
public String getOrderType() {
return this.orderType;
}
public static final class Builder {
private java.util.List conditionControls;
private String moduleCode;
private String orderType;
/**
* This parameter is required.
*/
public Builder conditionControls(java.util.List conditionControls) {
this.conditionControls = conditionControls;
return this;
}
/**
* This parameter is required.
*/
public Builder moduleCode(String moduleCode) {
this.moduleCode = moduleCode;
return this;
}
/**
* This parameter is required.
*/
public Builder orderType(String orderType) {
this.orderType = orderType;
return this;
}
public SaleControls build() {
return new SaleControls(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy