com.aliyun.dingtalkedu_1_0.models.ConsumePointRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkedu_1_0.models;
import com.aliyun.tea.*;
public class ConsumePointRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("amount")
public Long amount;
/**
* This parameter is required.
*
* example:
* 123
*/
@NameInMap("bizId")
public String bizId;
/**
* example:
* point_exchange
*/
@NameInMap("description")
public String description;
/**
* This parameter is required.
*
* example:
* FAMILY_GIFT_MALL
*/
@NameInMap("productCode")
public String productCode;
public static ConsumePointRequest build(java.util.Map map) throws Exception {
ConsumePointRequest self = new ConsumePointRequest();
return TeaModel.build(map, self);
}
public ConsumePointRequest setAmount(Long amount) {
this.amount = amount;
return this;
}
public Long getAmount() {
return this.amount;
}
public ConsumePointRequest setBizId(String bizId) {
this.bizId = bizId;
return this;
}
public String getBizId() {
return this.bizId;
}
public ConsumePointRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public ConsumePointRequest setProductCode(String productCode) {
this.productCode = productCode;
return this;
}
public String getProductCode() {
return this.productCode;
}
}