com.aliyun.dingtalkcrm_1_0.models.GetContactsResponseBody 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcrm_1_0.models;
import com.aliyun.tea.*;
public class GetContactsResponseBody extends TeaModel {
@NameInMap("result")
public GetContactsResponseBodyResult result;
public static GetContactsResponseBody build(java.util.Map map) throws Exception {
GetContactsResponseBody self = new GetContactsResponseBody();
return TeaModel.build(map, self);
}
public GetContactsResponseBody setResult(GetContactsResponseBodyResult result) {
this.result = result;
return this;
}
public GetContactsResponseBodyResult getResult() {
return this.result;
}
public static class GetContactsResponseBodyResultValuesPermission extends TeaModel {
@NameInMap("ownerUserIds")
public java.util.List ownerUserIds;
@NameInMap("participantUserIds")
public java.util.List participantUserIds;
public static GetContactsResponseBodyResultValuesPermission build(java.util.Map map) throws Exception {
GetContactsResponseBodyResultValuesPermission self = new GetContactsResponseBodyResultValuesPermission();
return TeaModel.build(map, self);
}
public GetContactsResponseBodyResultValuesPermission setOwnerUserIds(java.util.List ownerUserIds) {
this.ownerUserIds = ownerUserIds;
return this;
}
public java.util.List getOwnerUserIds() {
return this.ownerUserIds;
}
public GetContactsResponseBodyResultValuesPermission setParticipantUserIds(java.util.List participantUserIds) {
this.participantUserIds = participantUserIds;
return this;
}
public java.util.List getParticipantUserIds() {
return this.participantUserIds;
}
}
public static class GetContactsResponseBodyResultValues extends TeaModel {
/**
* example:
* user01
*/
@NameInMap("creatorUserId")
public String creatorUserId;
@NameInMap("data")
public java.util.Map data;
@NameInMap("extendData")
public java.util.Map extendData;
/**
* example:
* 2023-11-25 15:33:12
*/
@NameInMap("gmtCreate")
public String gmtCreate;
/**
* example:
* 20123-12-25 15:33:12
*/
@NameInMap("gmtModified")
public String gmtModified;
/**
* example:
* INST_XX
*/
@NameInMap("instanceId")
public String instanceId;
/**
* example:
* crm_contact
*/
@NameInMap("objectType")
public String objectType;
@NameInMap("permission")
public GetContactsResponseBodyResultValuesPermission permission;
public static GetContactsResponseBodyResultValues build(java.util.Map map) throws Exception {
GetContactsResponseBodyResultValues self = new GetContactsResponseBodyResultValues();
return TeaModel.build(map, self);
}
public GetContactsResponseBodyResultValues setCreatorUserId(String creatorUserId) {
this.creatorUserId = creatorUserId;
return this;
}
public String getCreatorUserId() {
return this.creatorUserId;
}
public GetContactsResponseBodyResultValues setData(java.util.Map data) {
this.data = data;
return this;
}
public java.util.Map getData() {
return this.data;
}
public GetContactsResponseBodyResultValues setExtendData(java.util.Map extendData) {
this.extendData = extendData;
return this;
}
public java.util.Map getExtendData() {
return this.extendData;
}
public GetContactsResponseBodyResultValues setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public GetContactsResponseBodyResultValues setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
return this;
}
public String getGmtModified() {
return this.gmtModified;
}
public GetContactsResponseBodyResultValues setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetContactsResponseBodyResultValues setObjectType(String objectType) {
this.objectType = objectType;
return this;
}
public String getObjectType() {
return this.objectType;
}
public GetContactsResponseBodyResultValues setPermission(GetContactsResponseBodyResultValuesPermission permission) {
this.permission = permission;
return this;
}
public GetContactsResponseBodyResultValuesPermission getPermission() {
return this.permission;
}
}
public static class GetContactsResponseBodyResult extends TeaModel {
@NameInMap("hasMore")
public Boolean hasMore;
/**
* example:
* 100
*/
@NameInMap("maxResults")
public Long maxResults;
/**
* example:
* 0
*/
@NameInMap("nextToken")
public String nextToken;
@NameInMap("values")
public java.util.List values;
public static GetContactsResponseBodyResult build(java.util.Map map) throws Exception {
GetContactsResponseBodyResult self = new GetContactsResponseBodyResult();
return TeaModel.build(map, self);
}
public GetContactsResponseBodyResult setHasMore(Boolean hasMore) {
this.hasMore = hasMore;
return this;
}
public Boolean getHasMore() {
return this.hasMore;
}
public GetContactsResponseBodyResult setMaxResults(Long maxResults) {
this.maxResults = maxResults;
return this;
}
public Long getMaxResults() {
return this.maxResults;
}
public GetContactsResponseBodyResult setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
public GetContactsResponseBodyResult setValues(java.util.List values) {
this.values = values;
return this;
}
public java.util.List getValues() {
return this.values;
}
}
}