com.aliyun.dingtalkcrm_1_0.models.BatchAddContactsRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcrm_1_0.models;
import com.aliyun.tea.*;
public class BatchAddContactsRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* manager021a
*/
@NameInMap("operatorUserId")
public String operatorUserId;
/**
* This parameter is required.
*/
@NameInMap("relationList")
public java.util.List relationList;
public static BatchAddContactsRequest build(java.util.Map map) throws Exception {
BatchAddContactsRequest self = new BatchAddContactsRequest();
return TeaModel.build(map, self);
}
public BatchAddContactsRequest setOperatorUserId(String operatorUserId) {
this.operatorUserId = operatorUserId;
return this;
}
public String getOperatorUserId() {
return this.operatorUserId;
}
public BatchAddContactsRequest setRelationList(java.util.List relationList) {
this.relationList = relationList;
return this;
}
public java.util.List getRelationList() {
return this.relationList;
}
public static class BatchAddContactsRequestRelationListBizDataList 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 BatchAddContactsRequestRelationListBizDataList build(java.util.Map map) throws Exception {
BatchAddContactsRequestRelationListBizDataList self = new BatchAddContactsRequestRelationListBizDataList();
return TeaModel.build(map, self);
}
public BatchAddContactsRequestRelationListBizDataList setExtendValue(String extendValue) {
this.extendValue = extendValue;
return this;
}
public String getExtendValue() {
return this.extendValue;
}
public BatchAddContactsRequestRelationListBizDataList setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public BatchAddContactsRequestRelationListBizDataList setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class BatchAddContactsRequestRelationList extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("bizDataList")
public java.util.List bizDataList;
/**
* if can be null:
* true
*/
@NameInMap("bizExtMap")
public java.util.Map bizExtMap;
/**
* example:
* 1343434dd
*/
@NameInMap("sourceDataId")
public String sourceDataId;
public static BatchAddContactsRequestRelationList build(java.util.Map map) throws Exception {
BatchAddContactsRequestRelationList self = new BatchAddContactsRequestRelationList();
return TeaModel.build(map, self);
}
public BatchAddContactsRequestRelationList setBizDataList(java.util.List bizDataList) {
this.bizDataList = bizDataList;
return this;
}
public java.util.List getBizDataList() {
return this.bizDataList;
}
public BatchAddContactsRequestRelationList setBizExtMap(java.util.Map bizExtMap) {
this.bizExtMap = bizExtMap;
return this;
}
public java.util.Map getBizExtMap() {
return this.bizExtMap;
}
public BatchAddContactsRequestRelationList setSourceDataId(String sourceDataId) {
this.sourceDataId = sourceDataId;
return this;
}
public String getSourceDataId() {
return this.sourceDataId;
}
}
}