com.aliyun.dingtalkcrm_1_0.models.BatchUpdateContactsRequest 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 BatchUpdateContactsRequest 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 BatchUpdateContactsRequest build(java.util.Map map) throws Exception {
BatchUpdateContactsRequest self = new BatchUpdateContactsRequest();
return TeaModel.build(map, self);
}
public BatchUpdateContactsRequest setOperatorUserId(String operatorUserId) {
this.operatorUserId = operatorUserId;
return this;
}
public String getOperatorUserId() {
return this.operatorUserId;
}
public BatchUpdateContactsRequest setRelationList(java.util.List relationList) {
this.relationList = relationList;
return this;
}
public java.util.List getRelationList() {
return this.relationList;
}
public static class BatchUpdateContactsRequestRelationListBizDataList 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 BatchUpdateContactsRequestRelationListBizDataList build(java.util.Map map) throws Exception {
BatchUpdateContactsRequestRelationListBizDataList self = new BatchUpdateContactsRequestRelationListBizDataList();
return TeaModel.build(map, self);
}
public BatchUpdateContactsRequestRelationListBizDataList setExtendValue(String extendValue) {
this.extendValue = extendValue;
return this;
}
public String getExtendValue() {
return this.extendValue;
}
public BatchUpdateContactsRequestRelationListBizDataList setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public BatchUpdateContactsRequestRelationListBizDataList setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
public static class BatchUpdateContactsRequestRelationList 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 BatchUpdateContactsRequestRelationList build(java.util.Map map) throws Exception {
BatchUpdateContactsRequestRelationList self = new BatchUpdateContactsRequestRelationList();
return TeaModel.build(map, self);
}
public BatchUpdateContactsRequestRelationList setBizDataList(java.util.List bizDataList) {
this.bizDataList = bizDataList;
return this;
}
public java.util.List getBizDataList() {
return this.bizDataList;
}
public BatchUpdateContactsRequestRelationList setBizExtMap(java.util.Map bizExtMap) {
this.bizExtMap = bizExtMap;
return this;
}
public java.util.Map getBizExtMap() {
return this.bizExtMap;
}
public BatchUpdateContactsRequestRelationList setRelationId(String relationId) {
this.relationId = relationId;
return this;
}
public String getRelationId() {
return this.relationId;
}
}
}