All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkcrm_1_0.models.BatchAddRelationDatasRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show 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 BatchAddRelationDatasRequest 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 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 { /** * 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 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 { /** *

This parameter is required.

*/ @NameInMap("bizDataList") public java.util.List bizDataList; /** * if can be null: *

true

*/ @NameInMap("bizExtMap") public java.util.Map bizExtMap; @NameInMap("relationPermissionDTO") public BatchAddRelationDatasRequestRelationListRelationPermissionDTO relationPermissionDTO; /** * example: *

ddsf3234234

*/ @NameInMap("sourceDataId") public String sourceDataId; 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; } public BatchAddRelationDatasRequestRelationList setSourceDataId(String sourceDataId) { this.sourceDataId = sourceDataId; return this; } public String getSourceDataId() { return this.sourceDataId; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy