com.aliyun.sdk.service.agency20221216.models.GetCoupondeductProductCodeResponseBody 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 GetCoupondeductProductCodeResponseBody} extends {@link TeaModel}
*
* GetCoupondeductProductCodeResponseBody
*/
public class GetCoupondeductProductCodeResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List < Data> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetCoupondeductProductCodeResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetCoupondeductProductCodeResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private java.util.List < Data> data;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* Id of the request
*
* example:
* 210e876f16704666020714468dab35
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetCoupondeductProductCodeResponseBody build() {
return new GetCoupondeductProductCodeResponseBody(this);
}
}
/**
*
* {@link GetCoupondeductProductCodeResponseBody} extends {@link TeaModel}
*
* GetCoupondeductProductCodeResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ProductType")
private Object productType;
private Data(Builder builder) {
this.productType = builder.productType;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return productType
*/
public Object getProductType() {
return this.productType;
}
public static final class Builder {
private Object productType;
/**
* ProductType.
*/
public Builder productType(Object productType) {
this.productType = productType;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}