com.aliyun.dingtalkcrm_1_0.models.BatchUpdateRelationDatasRequest 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 BatchUpdateRelationDatasRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* manager021a
*/
@NameInMap("operatorUserId")
public String operatorUserId;
/**
* This parameter is required.
*/
@NameInMap("relationList")
public java.util.List relationList;
/**
* This parameter is required.
*
* example:
* crm_customer
*/
@NameInMap("relationType")
public String relationType;
/**
* example:
* false
*/
@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 {
/**
* example:
* {}
*/
@NameInMap("extendValue")
public String extendValue;
/**
* This parameter is required.
*
* example:
* TextField_71U51A
*/
@NameInMap("key")
public String key;
/**
* This parameter is required.
*
* example:
* XX有限公司
*/
@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;
/**
* if can be null:
* true
*/
@NameInMap("bizExtMap")
public java.util.Map bizExtMap;
/**
* This parameter is required.
*
* example:
* fasdg8i814-0afsd
*/
@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;
}
}
}