com.aliyun.dingtalkcrm_1_0.models.SaveBenefitLicenseRequest 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.dingtalkcrm_1_0.models;
import com.aliyun.tea.*;
public class SaveBenefitLicenseRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* B_ACCOUNT_NUMBER
*/
@NameInMap("domain")
public String domain;
/**
* This parameter is required.
*/
@NameInMap("licenses")
public java.util.List licenses;
/**
* This parameter is required.
*
* example:
* staffId
*/
@NameInMap("saveUserId")
public String saveUserId;
public static SaveBenefitLicenseRequest build(java.util.Map map) throws Exception {
SaveBenefitLicenseRequest self = new SaveBenefitLicenseRequest();
return TeaModel.build(map, self);
}
public SaveBenefitLicenseRequest setDomain(String domain) {
this.domain = domain;
return this;
}
public String getDomain() {
return this.domain;
}
public SaveBenefitLicenseRequest setLicenses(java.util.List licenses) {
this.licenses = licenses;
return this;
}
public java.util.List getLicenses() {
return this.licenses;
}
public SaveBenefitLicenseRequest setSaveUserId(String saveUserId) {
this.saveUserId = saveUserId;
return this;
}
public String getSaveUserId() {
return this.saveUserId;
}
public static class SaveBenefitLicenseRequestLicenses extends TeaModel {
/**
* example:
* licenseStaffId
*/
@NameInMap("licenseUserId")
public String licenseUserId;
public static SaveBenefitLicenseRequestLicenses build(java.util.Map map) throws Exception {
SaveBenefitLicenseRequestLicenses self = new SaveBenefitLicenseRequestLicenses();
return TeaModel.build(map, self);
}
public SaveBenefitLicenseRequestLicenses setLicenseUserId(String licenseUserId) {
this.licenseUserId = licenseUserId;
return this;
}
public String getLicenseUserId() {
return this.licenseUserId;
}
}
}