com.aliyun.dingtalkcrm_1_0.models.ListBenefitLicenseResponseBody 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 ListBenefitLicenseResponseBody extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("result")
public java.util.List result;
public static ListBenefitLicenseResponseBody build(java.util.Map map) throws Exception {
ListBenefitLicenseResponseBody self = new ListBenefitLicenseResponseBody();
return TeaModel.build(map, self);
}
public ListBenefitLicenseResponseBody setResult(java.util.List result) {
this.result = result;
return this;
}
public java.util.List getResult() {
return this.result;
}
public static class ListBenefitLicenseResponseBodyResultLicenses extends TeaModel {
/**
* This parameter is required.
*
* example:
* staffId
*/
@NameInMap("licenseUserId")
public String licenseUserId;
public static ListBenefitLicenseResponseBodyResultLicenses build(java.util.Map map) throws Exception {
ListBenefitLicenseResponseBodyResultLicenses self = new ListBenefitLicenseResponseBodyResultLicenses();
return TeaModel.build(map, self);
}
public ListBenefitLicenseResponseBodyResultLicenses setLicenseUserId(String licenseUserId) {
this.licenseUserId = licenseUserId;
return this;
}
public String getLicenseUserId() {
return this.licenseUserId;
}
}
public static class ListBenefitLicenseResponseBodyResult 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;
public static ListBenefitLicenseResponseBodyResult build(java.util.Map map) throws Exception {
ListBenefitLicenseResponseBodyResult self = new ListBenefitLicenseResponseBodyResult();
return TeaModel.build(map, self);
}
public ListBenefitLicenseResponseBodyResult setDomain(String domain) {
this.domain = domain;
return this;
}
public String getDomain() {
return this.domain;
}
public ListBenefitLicenseResponseBodyResult setLicenses(java.util.List licenses) {
this.licenses = licenses;
return this;
}
public java.util.List getLicenses() {
return this.licenses;
}
}
}