com.aliyun.dingtalkhrm_1_0.models.MasterDataQueryResponseBody 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 MasterDataQueryResponseBody extends TeaModel {
// 是否还有更多
@NameInMap("hasMore")
public Boolean hasMore;
// 分页游标
@NameInMap("nextToken")
public Long nextToken;
// 结果
@NameInMap("result")
public java.util.List result;
// 是否成功
@NameInMap("success")
public Boolean success;
// 总条目数
@NameInMap("total")
public Long total;
public static MasterDataQueryResponseBody build(java.util.Map map) throws Exception {
MasterDataQueryResponseBody self = new MasterDataQueryResponseBody();
return TeaModel.build(map, self);
}
public MasterDataQueryResponseBody setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public MasterDataQueryResponseBody setNextToken(Long nextToken) {
this.nextToken = nextToken;
return this;
}
public Long getNextToken() {
return this.nextToken;
}
public MasterDataQueryResponseBody setResult(java.util.List result) {
this.result = result;
return this;
}
public java.util.List getResult() {
return this.result;
}
public MasterDataQueryResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public MasterDataQueryResponseBody setTotal(Long total) {
this.total = total;
return this;
}
public Long getTotal() {
return this.total;
}
public static class MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO extends TeaModel {
// 字段值的key
@NameInMap("key")
public String key;
// 字段值的文本
@NameInMap("value")
public String value;
public static MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO build(java.util.Map map) throws Exception {
MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO self = new MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO();
return TeaModel.build(map, self);
}
public MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class MasterDataQueryResponseBodyResultViewEntityFieldVOList extends TeaModel {
// 字段code
@NameInMap("fieldCode")
public String fieldCode;
// 字段值
@NameInMap("fieldDataVO")
public MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO fieldDataVO;
// 字段名称
@NameInMap("fieldName")
public String fieldName;
// 字段类型
@NameInMap("fieldType")
public String fieldType;
public static MasterDataQueryResponseBodyResultViewEntityFieldVOList build(java.util.Map map) throws Exception {
MasterDataQueryResponseBodyResultViewEntityFieldVOList self = new MasterDataQueryResponseBodyResultViewEntityFieldVOList();
return TeaModel.build(map, self);
}
public MasterDataQueryResponseBodyResultViewEntityFieldVOList setFieldCode(String fieldCode) {
this.fieldCode = fieldCode;
return this;
}
public String getFieldCode() {
return this.fieldCode;
}
public MasterDataQueryResponseBodyResultViewEntityFieldVOList setFieldDataVO(MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO fieldDataVO) {
this.fieldDataVO = fieldDataVO;
return this;
}
public MasterDataQueryResponseBodyResultViewEntityFieldVOListFieldDataVO getFieldDataVO() {
return this.fieldDataVO;
}
public MasterDataQueryResponseBodyResultViewEntityFieldVOList setFieldName(String fieldName) {
this.fieldName = fieldName;
return this;
}
public String getFieldName() {
return this.fieldName;
}
public MasterDataQueryResponseBodyResultViewEntityFieldVOList setFieldType(String fieldType) {
this.fieldType = fieldType;
return this;
}
public String getFieldType() {
return this.fieldType;
}
}
public static class MasterDataQueryResponseBodyResult extends TeaModel {
// 唯一id
@NameInMap("outerId")
public String outerId;
// 关联id列表,一般为userId
@NameInMap("relationId")
public String relationId;
// 领域
@NameInMap("scopeCode")
public String scopeCode;
// 编码
@NameInMap("viewEntityCode")
public String viewEntityCode;
// 字段列表
@NameInMap("viewEntityFieldVOList")
public java.util.List viewEntityFieldVOList;
public static MasterDataQueryResponseBodyResult build(java.util.Map map) throws Exception {
MasterDataQueryResponseBodyResult self = new MasterDataQueryResponseBodyResult();
return TeaModel.build(map, self);
}
public MasterDataQueryResponseBodyResult setOuterId(String outerId) {
this.outerId = outerId;
return this;
}
public String getOuterId() {
return this.outerId;
}
public MasterDataQueryResponseBodyResult setRelationId(String relationId) {
this.relationId = relationId;
return this;
}
public String getRelationId() {
return this.relationId;
}
public MasterDataQueryResponseBodyResult setScopeCode(String scopeCode) {
this.scopeCode = scopeCode;
return this;
}
public String getScopeCode() {
return this.scopeCode;
}
public MasterDataQueryResponseBodyResult setViewEntityCode(String viewEntityCode) {
this.viewEntityCode = viewEntityCode;
return this;
}
public String getViewEntityCode() {
return this.viewEntityCode;
}
public MasterDataQueryResponseBodyResult setViewEntityFieldVOList(java.util.List viewEntityFieldVOList) {
this.viewEntityFieldVOList = viewEntityFieldVOList;
return this;
}
public java.util.List getViewEntityFieldVOList() {
return this.viewEntityFieldVOList;
}
}
}