com.aliyun.sdk.service.agency20221216.models.GetCoupondeductProductCodeRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-agency20221216 Show documentation
Show all versions of alibabacloud-agency20221216 Show documentation
Alibaba Cloud Agency (20221216) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.agency20221216.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetCoupondeductProductCodeRequest} extends {@link RequestModel}
*
* GetCoupondeductProductCodeRequest
*/
public class GetCoupondeductProductCodeRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AcceptLanguage")
@com.aliyun.core.annotation.Validation(required = true)
private String acceptLanguage;
private GetCoupondeductProductCodeRequest(Builder builder) {
super(builder);
this.acceptLanguage = builder.acceptLanguage;
}
public static Builder builder() {
return new Builder();
}
public static GetCoupondeductProductCodeRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return acceptLanguage
*/
public String getAcceptLanguage() {
return this.acceptLanguage;
}
public static final class Builder extends Request.Builder {
private String acceptLanguage;
private Builder() {
super();
}
private Builder(GetCoupondeductProductCodeRequest request) {
super(request);
this.acceptLanguage = request.acceptLanguage;
}
/**
* This parameter is required.
*
* example:
* zh-CN
*/
public Builder acceptLanguage(String acceptLanguage) {
this.putQueryParameter("AcceptLanguage", acceptLanguage);
this.acceptLanguage = acceptLanguage;
return this;
}
@Override
public GetCoupondeductProductCodeRequest build() {
return new GetCoupondeductProductCodeRequest(this);
}
}
}