com.aliyun.dingtalkcontract_1_0.models.ContractBenefitConsumeRequest 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.dingtalkcontract_1_0.models;
import com.aliyun.tea.*;
public class ContractBenefitConsumeRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* esign
*/
@NameInMap("benefitPoint")
public String benefitPoint;
/**
* This parameter is required.
*
* example:
* sjdaujii129w9qej2nqas
*/
@NameInMap("bizRequestId")
public String bizRequestId;
/**
* This parameter is required.
*
* example:
* 20
*/
@NameInMap("consumeQuota")
public Long consumeQuota;
/**
* This parameter is required.
*
* example:
* ding1231ndu29923312
*/
@NameInMap("corpId")
public String corpId;
@NameInMap("extParams")
public java.util.Map extParams;
/**
* This parameter is required.
*
* example:
* ding12939912nduaejjwe
*/
@NameInMap("isvCorpId")
public String isvCorpId;
/**
* example:
* djauihjauiwnkndjknkjanaae
*/
@NameInMap("optUnionId")
public String optUnionId;
public static ContractBenefitConsumeRequest build(java.util.Map map) throws Exception {
ContractBenefitConsumeRequest self = new ContractBenefitConsumeRequest();
return TeaModel.build(map, self);
}
public ContractBenefitConsumeRequest setBenefitPoint(String benefitPoint) {
this.benefitPoint = benefitPoint;
return this;
}
public String getBenefitPoint() {
return this.benefitPoint;
}
public ContractBenefitConsumeRequest setBizRequestId(String bizRequestId) {
this.bizRequestId = bizRequestId;
return this;
}
public String getBizRequestId() {
return this.bizRequestId;
}
public ContractBenefitConsumeRequest setConsumeQuota(Long consumeQuota) {
this.consumeQuota = consumeQuota;
return this;
}
public Long getConsumeQuota() {
return this.consumeQuota;
}
public ContractBenefitConsumeRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public ContractBenefitConsumeRequest setExtParams(java.util.Map extParams) {
this.extParams = extParams;
return this;
}
public java.util.Map getExtParams() {
return this.extParams;
}
public ContractBenefitConsumeRequest setIsvCorpId(String isvCorpId) {
this.isvCorpId = isvCorpId;
return this;
}
public String getIsvCorpId() {
return this.isvCorpId;
}
public ContractBenefitConsumeRequest setOptUnionId(String optUnionId) {
this.optUnionId = optUnionId;
return this;
}
public String getOptUnionId() {
return this.optUnionId;
}
}