com.aliyun.sdk.service.ens20171110.models.DescribeEnsSaleControlRequest 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 DescribeEnsSaleControlRequest} extends {@link RequestModel}
*
* DescribeEnsSaleControlRequest
*/
public class DescribeEnsSaleControlRequest 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("ModuleCode")
private String moduleCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OrderType")
private String orderType;
private DescribeEnsSaleControlRequest(Builder builder) {
super(builder);
this.aliUidAccount = builder.aliUidAccount;
this.commodityCode = builder.commodityCode;
this.customAccount = builder.customAccount;
this.moduleCode = builder.moduleCode;
this.orderType = builder.orderType;
}
public static Builder builder() {
return new Builder();
}
public static DescribeEnsSaleControlRequest 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 moduleCode
*/
public String getModuleCode() {
return this.moduleCode;
}
/**
* @return orderType
*/
public String getOrderType() {
return this.orderType;
}
public static final class Builder extends Request.Builder {
private String aliUidAccount;
private String commodityCode;
private String customAccount;
private String moduleCode;
private String orderType;
private Builder() {
super();
}
private Builder(DescribeEnsSaleControlRequest request) {
super(request);
this.aliUidAccount = request.aliUidAccount;
this.commodityCode = request.commodityCode;
this.customAccount = request.customAccount;
this.moduleCode = request.moduleCode;
this.orderType = request.orderType;
}
/**
* 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;
}
/**
* ModuleCode.
*/
public Builder moduleCode(String moduleCode) {
this.putQueryParameter("ModuleCode", moduleCode);
this.moduleCode = moduleCode;
return this;
}
/**
* OrderType.
*/
public Builder orderType(String orderType) {
this.putQueryParameter("OrderType", orderType);
this.orderType = orderType;
return this;
}
@Override
public DescribeEnsSaleControlRequest build() {
return new DescribeEnsSaleControlRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy