com.aliyun.dingtalkhrm_1_0.models.MasterDataTenantQueyResponseBody 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.dingtalkhrm_1_0.models;
import com.aliyun.tea.*;
public class MasterDataTenantQueyResponseBody extends TeaModel {
@NameInMap("result")
public java.util.List result;
public static MasterDataTenantQueyResponseBody build(java.util.Map map) throws Exception {
MasterDataTenantQueyResponseBody self = new MasterDataTenantQueyResponseBody();
return TeaModel.build(map, self);
}
public MasterDataTenantQueyResponseBody setResult(java.util.List result) {
this.result = result;
return this;
}
public java.util.List getResult() {
return this.result;
}
public static class MasterDataTenantQueyResponseBodyResult extends TeaModel {
// 该租户是否已向主数据同步数据
@NameInMap("hasData")
public Boolean hasData;
// 该租户是否有向主数据写数据的权限
@NameInMap("integrateDataAuth")
public Boolean integrateDataAuth;
// 租户名称
@NameInMap("name")
public String name;
// 调用方是否有读该租户数据的权限
@NameInMap("readAuth")
public Boolean readAuth;
// 租户 id
@NameInMap("tenantId")
public Long tenantId;
// 租户类型
@NameInMap("type")
public Integer type;
public static MasterDataTenantQueyResponseBodyResult build(java.util.Map map) throws Exception {
MasterDataTenantQueyResponseBodyResult self = new MasterDataTenantQueyResponseBodyResult();
return TeaModel.build(map, self);
}
public MasterDataTenantQueyResponseBodyResult setHasData(Boolean hasData) {
this.hasData = hasData;
return this;
}
public Boolean getHasData() {
return this.hasData;
}
public MasterDataTenantQueyResponseBodyResult setIntegrateDataAuth(Boolean integrateDataAuth) {
this.integrateDataAuth = integrateDataAuth;
return this;
}
public Boolean getIntegrateDataAuth() {
return this.integrateDataAuth;
}
public MasterDataTenantQueyResponseBodyResult setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public MasterDataTenantQueyResponseBodyResult setReadAuth(Boolean readAuth) {
this.readAuth = readAuth;
return this;
}
public Boolean getReadAuth() {
return this.readAuth;
}
public MasterDataTenantQueyResponseBodyResult setTenantId(Long tenantId) {
this.tenantId = tenantId;
return this;
}
public Long getTenantId() {
return this.tenantId;
}
public MasterDataTenantQueyResponseBodyResult setType(Integer type) {
this.type = type;
return this;
}
public Integer getType() {
return this.type;
}
}
}