com.aliyun.dingtalkcrm_1_0.models.GetOfficialAccountContactsResponseBody 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 GetOfficialAccountContactsResponseBody extends TeaModel {
/**
* example:
* 10
*/
@NameInMap("maxResults")
public Long maxResults;
/**
* example:
* 10010
*/
@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 {
@NameInMap("ownerStaffIds")
public java.util.List ownerStaffIds;
@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 {
/**
* example:
* 2019-12-25 15:33:12
*/
@NameInMap("createTime")
public String createTime;
/**
* example:
* 张三
*/
@NameInMap("creatorNick")
public String creatorNick;
/**
* example:
* ding_userid
*/
@NameInMap("creatorUserId")
public String creatorUserId;
@NameInMap("data")
public java.util.Map data;
@NameInMap("extendData")
public java.util.Map extendData;
/**
* example:
* instance_id
*/
@NameInMap("instanceId")
public String instanceId;
/**
* example:
* 2019-12-25 15:33:12
*/
@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;
/**
* example:
* user_id
*/
@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;
}
}
}