com.aliyun.dingtalkcrm_1_0.models.BatchUpdateRelationDatasRequest 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 BatchUpdateRelationDatasRequest 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 BatchUpdateRelationDatasRequest build(java.util.Map map) throws Exception {
BatchUpdateRelationDatasRequest self = new BatchUpdateRelationDatasRequest();
return TeaModel.build(map, self);
}
public BatchUpdateRelationDatasRequest setOperatorUserId(String operatorUserId) {
this.operatorUserId = operatorUserId;
return this;
}
public String getOperatorUserId() {
return this.operatorUserId;
}
public BatchUpdateRelationDatasRequest setRelationList(java.util.List relationList) {
this.relationList = relationList;
return this;
}
public java.util.List getRelationList() {
return this.relationList;
}
public BatchUpdateRelationDatasRequest setRelationType(String relationType) {
this.relationType = relationType;
return this;
}
public String getRelationType() {
return this.relationType;
}
public BatchUpdateRelationDatasRequest setSkipDuplicateCheck(Boolean skipDuplicateCheck) {
this.skipDuplicateCheck = skipDuplicateCheck;
return this;
}
public Boolean getSkipDuplicateCheck() {
return this.skipDuplicateCheck;
}
public static class BatchUpdateRelationDatasRequestRelationListBizDataList extends TeaModel {
// 模型字段extendValue。
@NameInMap("extendValue")
public String extendValue;
// 模型字段id。
@NameInMap("key")
public String key;
// 模型字段value。
@NameInMap("value")
public String value;
public static BatchUpdateRelationDatasRequestRelationListBizDataList build(java.util.Map map) throws Exception {
BatchUpdateRelationDatasRequestRelationListBizDataList self = new BatchUpdateRelationDatasRequestRelationListBizDataList();
return TeaModel.build(map, self);
}
public BatchUpdateRelationDatasRequestRelationListBizDataList setExtendValue(String extendValue) {
this.extendValue = extendValue;
return this;
}
public String getExtendValue() {
return this.extendValue;
}
public BatchUpdateRelationDatasRequestRelationListBizDataList setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public BatchUpdateRelationDatasRequestRelationListBizDataList setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class BatchUpdateRelationDatasRequestRelationList extends TeaModel {
// 关系模型数据。
@NameInMap("bizDataList")
public java.util.List bizDataList;
// 扩展业务字段。
@NameInMap("bizExtMap")
public java.util.Map bizExtMap;
// 关系id
@NameInMap("relationId")
public String relationId;
public static BatchUpdateRelationDatasRequestRelationList build(java.util.Map map) throws Exception {
BatchUpdateRelationDatasRequestRelationList self = new BatchUpdateRelationDatasRequestRelationList();
return TeaModel.build(map, self);
}
public BatchUpdateRelationDatasRequestRelationList setBizDataList(java.util.List bizDataList) {
this.bizDataList = bizDataList;
return this;
}
public java.util.List getBizDataList() {
return this.bizDataList;
}
public BatchUpdateRelationDatasRequestRelationList setBizExtMap(java.util.Map bizExtMap) {
this.bizExtMap = bizExtMap;
return this;
}
public java.util.Map getBizExtMap() {
return this.bizExtMap;
}
public BatchUpdateRelationDatasRequestRelationList setRelationId(String relationId) {
this.relationId = relationId;
return this;
}
public String getRelationId() {
return this.relationId;
}
}
}