com.aliyun.dingtalkcrm_1_0.models.AddCrmPersonalCustomerRequest 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 AddCrmPersonalCustomerRequest extends TeaModel {
/**
* example:
* publicDraw
*/
@NameInMap("action")
public String action;
@NameInMap("creatorNick")
public String creatorNick;
/**
* This parameter is required.
*/
@NameInMap("creatorUserId")
public String creatorUserId;
/**
* This parameter is required.
*/
@NameInMap("data")
public java.util.Map data;
@NameInMap("extendData")
public java.util.Map extendData;
@NameInMap("permission")
public AddCrmPersonalCustomerRequestPermission permission;
/**
* example:
* crm_customer_personal
*/
@NameInMap("relationType")
public String relationType;
/**
* example:
* false
*/
@NameInMap("skipDuplicateCheck")
public Boolean skipDuplicateCheck;
public static AddCrmPersonalCustomerRequest build(java.util.Map map) throws Exception {
AddCrmPersonalCustomerRequest self = new AddCrmPersonalCustomerRequest();
return TeaModel.build(map, self);
}
public AddCrmPersonalCustomerRequest setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return this.action;
}
public AddCrmPersonalCustomerRequest setCreatorNick(String creatorNick) {
this.creatorNick = creatorNick;
return this;
}
public String getCreatorNick() {
return this.creatorNick;
}
public AddCrmPersonalCustomerRequest setCreatorUserId(String creatorUserId) {
this.creatorUserId = creatorUserId;
return this;
}
public String getCreatorUserId() {
return this.creatorUserId;
}
public AddCrmPersonalCustomerRequest setData(java.util.Map data) {
this.data = data;
return this;
}
public java.util.Map getData() {
return this.data;
}
public AddCrmPersonalCustomerRequest setExtendData(java.util.Map extendData) {
this.extendData = extendData;
return this;
}
public java.util.Map getExtendData() {
return this.extendData;
}
public AddCrmPersonalCustomerRequest setPermission(AddCrmPersonalCustomerRequestPermission permission) {
this.permission = permission;
return this;
}
public AddCrmPersonalCustomerRequestPermission getPermission() {
return this.permission;
}
public AddCrmPersonalCustomerRequest setRelationType(String relationType) {
this.relationType = relationType;
return this;
}
public String getRelationType() {
return this.relationType;
}
public AddCrmPersonalCustomerRequest setSkipDuplicateCheck(Boolean skipDuplicateCheck) {
this.skipDuplicateCheck = skipDuplicateCheck;
return this;
}
public Boolean getSkipDuplicateCheck() {
return this.skipDuplicateCheck;
}
public static class AddCrmPersonalCustomerRequestPermission extends TeaModel {
@NameInMap("ownerStaffIds")
public java.util.List ownerStaffIds;
@NameInMap("participantStaffIds")
public java.util.List participantStaffIds;
public static AddCrmPersonalCustomerRequestPermission build(java.util.Map map) throws Exception {
AddCrmPersonalCustomerRequestPermission self = new AddCrmPersonalCustomerRequestPermission();
return TeaModel.build(map, self);
}
public AddCrmPersonalCustomerRequestPermission setOwnerStaffIds(java.util.List ownerStaffIds) {
this.ownerStaffIds = ownerStaffIds;
return this;
}
public java.util.List getOwnerStaffIds() {
return this.ownerStaffIds;
}
public AddCrmPersonalCustomerRequestPermission setParticipantStaffIds(java.util.List participantStaffIds) {
this.participantStaffIds = participantStaffIds;
return this;
}
public java.util.List getParticipantStaffIds() {
return this.participantStaffIds;
}
}
}