com.aliyun.dingtalkcrm_1_0.models.AppendCustomerDataAuthRequest 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 AppendCustomerDataAuthRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("customerIds")
public java.util.List customerIds;
/**
* This parameter is required.
*/
@NameInMap("dataAuthUserIds")
public java.util.List dataAuthUserIds;
/**
* example:
* PROC-98187D45-EFC0-4FC4-887E-45BD24209D69
*/
@NameInMap("formCode")
public String formCode;
/**
* This parameter is required.
*
* example:
* staffId2
*/
@NameInMap("operateUserId")
public String operateUserId;
/**
* example:
* crm_customer
*/
@NameInMap("relationType")
public String relationType;
/**
* This parameter is required.
*
* example:
* owner
*/
@NameInMap("roleType")
public String roleType;
public static AppendCustomerDataAuthRequest build(java.util.Map map) throws Exception {
AppendCustomerDataAuthRequest self = new AppendCustomerDataAuthRequest();
return TeaModel.build(map, self);
}
public AppendCustomerDataAuthRequest setCustomerIds(java.util.List customerIds) {
this.customerIds = customerIds;
return this;
}
public java.util.List getCustomerIds() {
return this.customerIds;
}
public AppendCustomerDataAuthRequest setDataAuthUserIds(java.util.List dataAuthUserIds) {
this.dataAuthUserIds = dataAuthUserIds;
return this;
}
public java.util.List getDataAuthUserIds() {
return this.dataAuthUserIds;
}
public AppendCustomerDataAuthRequest setFormCode(String formCode) {
this.formCode = formCode;
return this;
}
public String getFormCode() {
return this.formCode;
}
public AppendCustomerDataAuthRequest setOperateUserId(String operateUserId) {
this.operateUserId = operateUserId;
return this;
}
public String getOperateUserId() {
return this.operateUserId;
}
public AppendCustomerDataAuthRequest setRelationType(String relationType) {
this.relationType = relationType;
return this;
}
public String getRelationType() {
return this.relationType;
}
public AppendCustomerDataAuthRequest setRoleType(String roleType) {
this.roleType = roleType;
return this;
}
public String getRoleType() {
return this.roleType;
}
}