com.aliyun.dingtalkcrm_1_0.models.BatchAddRelationDatasRequest 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 BatchAddRelationDatasRequest extends TeaModel {
// 操作人userId
@NameInMap("operatorUserId")
public String operatorUserId;
// 关系数据列表。
@NameInMap("relationList")
public java.util.List relationList;
// 关系类型。
@NameInMap("relationType")
public String relationType;
// 是否跳过查重,默认不跳过。
@NameInMap("skipDuplicateCheck")
public Boolean skipDuplicateCheck;
public static BatchAddRelationDatasRequest build(java.util.Map map) throws Exception {
BatchAddRelationDatasRequest self = new BatchAddRelationDatasRequest();
return TeaModel.build(map, self);
}
public BatchAddRelationDatasRequest setOperatorUserId(String operatorUserId) {
this.operatorUserId = operatorUserId;
return this;
}
public String getOperatorUserId() {
return this.operatorUserId;
}
public BatchAddRelationDatasRequest setRelationList(java.util.List relationList) {
this.relationList = relationList;
return this;
}
public java.util.List getRelationList() {
return this.relationList;
}
public BatchAddRelationDatasRequest setRelationType(String relationType) {
this.relationType = relationType;
return this;
}
public String getRelationType() {
return this.relationType;
}
public BatchAddRelationDatasRequest setSkipDuplicateCheck(Boolean skipDuplicateCheck) {
this.skipDuplicateCheck = skipDuplicateCheck;
return this;
}
public Boolean getSkipDuplicateCheck() {
return this.skipDuplicateCheck;
}
public static class BatchAddRelationDatasRequestRelationListBizDataList extends TeaModel {
// 模型字段extendValue。
@NameInMap("extendValue")
public String extendValue;
// 模型字段id。
@NameInMap("key")
public String key;
// 模型字段value。
@NameInMap("value")
public String value;
public static BatchAddRelationDatasRequestRelationListBizDataList build(java.util.Map map) throws Exception {
BatchAddRelationDatasRequestRelationListBizDataList self = new BatchAddRelationDatasRequestRelationListBizDataList();
return TeaModel.build(map, self);
}
public BatchAddRelationDatasRequestRelationListBizDataList setExtendValue(String extendValue) {
this.extendValue = extendValue;
return this;
}
public String getExtendValue() {
return this.extendValue;
}
public BatchAddRelationDatasRequestRelationListBizDataList setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public BatchAddRelationDatasRequestRelationListBizDataList setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class BatchAddRelationDatasRequestRelationListRelationPermissionDTO extends TeaModel {
// 协同人列表
@NameInMap("participantUserIds")
public java.util.List participantUserIds;
// 负责人列表
@NameInMap("principalUserIds")
public java.util.List principalUserIds;
public static BatchAddRelationDatasRequestRelationListRelationPermissionDTO build(java.util.Map map) throws Exception {
BatchAddRelationDatasRequestRelationListRelationPermissionDTO self = new BatchAddRelationDatasRequestRelationListRelationPermissionDTO();
return TeaModel.build(map, self);
}
public BatchAddRelationDatasRequestRelationListRelationPermissionDTO setParticipantUserIds(java.util.List participantUserIds) {
this.participantUserIds = participantUserIds;
return this;
}
public java.util.List getParticipantUserIds() {
return this.participantUserIds;
}
public BatchAddRelationDatasRequestRelationListRelationPermissionDTO setPrincipalUserIds(java.util.List principalUserIds) {
this.principalUserIds = principalUserIds;
return this;
}
public java.util.List getPrincipalUserIds() {
return this.principalUserIds;
}
}
public static class BatchAddRelationDatasRequestRelationList extends TeaModel {
// 关系模型数据。
@NameInMap("bizDataList")
public java.util.List bizDataList;
// 扩展业务字段。
@NameInMap("bizExtMap")
public java.util.Map bizExtMap;
// 负责人、协同人信息。
@NameInMap("relationPermissionDTO")
public BatchAddRelationDatasRequestRelationListRelationPermissionDTO relationPermissionDTO;
public static BatchAddRelationDatasRequestRelationList build(java.util.Map map) throws Exception {
BatchAddRelationDatasRequestRelationList self = new BatchAddRelationDatasRequestRelationList();
return TeaModel.build(map, self);
}
public BatchAddRelationDatasRequestRelationList setBizDataList(java.util.List bizDataList) {
this.bizDataList = bizDataList;
return this;
}
public java.util.List getBizDataList() {
return this.bizDataList;
}
public BatchAddRelationDatasRequestRelationList setBizExtMap(java.util.Map bizExtMap) {
this.bizExtMap = bizExtMap;
return this;
}
public java.util.Map getBizExtMap() {
return this.bizExtMap;
}
public BatchAddRelationDatasRequestRelationList setRelationPermissionDTO(BatchAddRelationDatasRequestRelationListRelationPermissionDTO relationPermissionDTO) {
this.relationPermissionDTO = relationPermissionDTO;
return this;
}
public BatchAddRelationDatasRequestRelationListRelationPermissionDTO getRelationPermissionDTO() {
return this.relationPermissionDTO;
}
}
}