com.aliyun.dingtalkcrm_1_0.models.GetOfficialAccountContactsResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcrm_1_0.models;
import com.aliyun.tea.*;
public class GetOfficialAccountContactsResponseBody extends TeaModel {
// 分页大小
@NameInMap("maxResults")
public Long maxResults;
// 下一页的游标,为null则表示无数据
@NameInMap("nextToken")
public String nextToken;
// 客户数据节点
@NameInMap("values")
public java.util.List values;
public static GetOfficialAccountContactsResponseBody build(java.util.Map map) throws Exception {
GetOfficialAccountContactsResponseBody self = new GetOfficialAccountContactsResponseBody();
return TeaModel.build(map, self);
}
public GetOfficialAccountContactsResponseBody setMaxResults(Long maxResults) {
this.maxResults = maxResults;
return this;
}
public Long getMaxResults() {
return this.maxResults;
}
public GetOfficialAccountContactsResponseBody setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
public GetOfficialAccountContactsResponseBody setValues(java.util.List values) {
this.values = values;
return this;
}
public java.util.List getValues() {
return this.values;
}
public static class GetOfficialAccountContactsResponseBodyValuesContactsPermission extends TeaModel {
// 负责人用户ID列表
@NameInMap("ownerStaffIds")
public java.util.List ownerStaffIds;
// 协同人用户ID列表
@NameInMap("participantStaffIds")
public java.util.List participantStaffIds;
public static GetOfficialAccountContactsResponseBodyValuesContactsPermission build(java.util.Map map) throws Exception {
GetOfficialAccountContactsResponseBodyValuesContactsPermission self = new GetOfficialAccountContactsResponseBodyValuesContactsPermission();
return TeaModel.build(map, self);
}
public GetOfficialAccountContactsResponseBodyValuesContactsPermission setOwnerStaffIds(java.util.List ownerStaffIds) {
this.ownerStaffIds = ownerStaffIds;
return this;
}
public java.util.List getOwnerStaffIds() {
return this.ownerStaffIds;
}
public GetOfficialAccountContactsResponseBodyValuesContactsPermission setParticipantStaffIds(java.util.List participantStaffIds) {
this.participantStaffIds = participantStaffIds;
return this;
}
public java.util.List getParticipantStaffIds() {
return this.participantStaffIds;
}
}
public static class GetOfficialAccountContactsResponseBodyValuesContacts extends TeaModel {
// 记录创建时间
@NameInMap("createTime")
public String createTime;
// 创建记录的用户昵称
@NameInMap("creatorNick")
public String creatorNick;
// 创建记录的用户ID
@NameInMap("creatorUserId")
public String creatorUserId;
// 数据内容
@NameInMap("data")
public java.util.Map data;
// 扩展数据内容
@NameInMap("extendData")
public java.util.Map extendData;
// 数据ID
@NameInMap("instanceId")
public String instanceId;
// 记录修改时间
@NameInMap("modifyTime")
public String modifyTime;
// 数据权限信息
@NameInMap("permission")
public GetOfficialAccountContactsResponseBodyValuesContactsPermission permission;
public static GetOfficialAccountContactsResponseBodyValuesContacts build(java.util.Map map) throws Exception {
GetOfficialAccountContactsResponseBodyValuesContacts self = new GetOfficialAccountContactsResponseBodyValuesContacts();
return TeaModel.build(map, self);
}
public GetOfficialAccountContactsResponseBodyValuesContacts setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetOfficialAccountContactsResponseBodyValuesContacts setCreatorNick(String creatorNick) {
this.creatorNick = creatorNick;
return this;
}
public String getCreatorNick() {
return this.creatorNick;
}
public GetOfficialAccountContactsResponseBodyValuesContacts setCreatorUserId(String creatorUserId) {
this.creatorUserId = creatorUserId;
return this;
}
public String getCreatorUserId() {
return this.creatorUserId;
}
public GetOfficialAccountContactsResponseBodyValuesContacts setData(java.util.Map data) {
this.data = data;
return this;
}
public java.util.Map getData() {
return this.data;
}
public GetOfficialAccountContactsResponseBodyValuesContacts setExtendData(java.util.Map extendData) {
this.extendData = extendData;
return this;
}
public java.util.Map getExtendData() {
return this.extendData;
}
public GetOfficialAccountContactsResponseBodyValuesContacts setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public GetOfficialAccountContactsResponseBodyValuesContacts setModifyTime(String modifyTime) {
this.modifyTime = modifyTime;
return this;
}
public String getModifyTime() {
return this.modifyTime;
}
public GetOfficialAccountContactsResponseBodyValuesContacts setPermission(GetOfficialAccountContactsResponseBodyValuesContactsPermission permission) {
this.permission = permission;
return this;
}
public GetOfficialAccountContactsResponseBodyValuesContactsPermission getPermission() {
return this.permission;
}
}
public static class GetOfficialAccountContactsResponseBodyValues extends TeaModel {
// 用户的联系人数据
@NameInMap("contacts")
public java.util.List contacts;
// 用户userId
@NameInMap("userId")
public String userId;
public static GetOfficialAccountContactsResponseBodyValues build(java.util.Map map) throws Exception {
GetOfficialAccountContactsResponseBodyValues self = new GetOfficialAccountContactsResponseBodyValues();
return TeaModel.build(map, self);
}
public GetOfficialAccountContactsResponseBodyValues setContacts(java.util.List contacts) {
this.contacts = contacts;
return this;
}
public java.util.List getContacts() {
return this.contacts;
}
public GetOfficialAccountContactsResponseBodyValues setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}