com.aliyun.dingtalkcrm_1_0.models.UpdateCrmPersonalCustomerRequest 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 UpdateCrmPersonalCustomerRequest extends TeaModel {
@NameInMap("action")
public String action;
/**
* This parameter is required.
*/
@NameInMap("data")
public java.util.Map data;
@NameInMap("extendData")
public java.util.Map extendData;
/**
* This parameter is required.
*/
@NameInMap("instanceId")
public String instanceId;
@NameInMap("modifierNick")
public String modifierNick;
/**
* This parameter is required.
*/
@NameInMap("modifierUserId")
public String modifierUserId;
@NameInMap("permission")
public UpdateCrmPersonalCustomerRequestPermission permission;
@NameInMap("relationType")
public String relationType;
/**
* example:
* false
*/
@NameInMap("skipDuplicateCheck")
public Boolean skipDuplicateCheck;
public static UpdateCrmPersonalCustomerRequest build(java.util.Map map) throws Exception {
UpdateCrmPersonalCustomerRequest self = new UpdateCrmPersonalCustomerRequest();
return TeaModel.build(map, self);
}
public UpdateCrmPersonalCustomerRequest setAction(String action) {
this.action = action;
return this;
}
public String getAction() {
return this.action;
}
public UpdateCrmPersonalCustomerRequest setData(java.util.Map data) {
this.data = data;
return this;
}
public java.util.Map getData() {
return this.data;
}
public UpdateCrmPersonalCustomerRequest setExtendData(java.util.Map extendData) {
this.extendData = extendData;
return this;
}
public java.util.Map getExtendData() {
return this.extendData;
}
public UpdateCrmPersonalCustomerRequest setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public UpdateCrmPersonalCustomerRequest setModifierNick(String modifierNick) {
this.modifierNick = modifierNick;
return this;
}
public String getModifierNick() {
return this.modifierNick;
}
public UpdateCrmPersonalCustomerRequest setModifierUserId(String modifierUserId) {
this.modifierUserId = modifierUserId;
return this;
}
public String getModifierUserId() {
return this.modifierUserId;
}
public UpdateCrmPersonalCustomerRequest setPermission(UpdateCrmPersonalCustomerRequestPermission permission) {
this.permission = permission;
return this;
}
public UpdateCrmPersonalCustomerRequestPermission getPermission() {
return this.permission;
}
public UpdateCrmPersonalCustomerRequest setRelationType(String relationType) {
this.relationType = relationType;
return this;
}
public String getRelationType() {
return this.relationType;
}
public UpdateCrmPersonalCustomerRequest setSkipDuplicateCheck(Boolean skipDuplicateCheck) {
this.skipDuplicateCheck = skipDuplicateCheck;
return this;
}
public Boolean getSkipDuplicateCheck() {
return this.skipDuplicateCheck;
}
public static class UpdateCrmPersonalCustomerRequestPermission extends TeaModel {
@NameInMap("ownerStaffIds")
public java.util.List ownerStaffIds;
@NameInMap("participantStaffIds")
public java.util.List participantStaffIds;
public static UpdateCrmPersonalCustomerRequestPermission build(java.util.Map map) throws Exception {
UpdateCrmPersonalCustomerRequestPermission self = new UpdateCrmPersonalCustomerRequestPermission();
return TeaModel.build(map, self);
}
public UpdateCrmPersonalCustomerRequestPermission setOwnerStaffIds(java.util.List ownerStaffIds) {
this.ownerStaffIds = ownerStaffIds;
return this;
}
public java.util.List getOwnerStaffIds() {
return this.ownerStaffIds;
}
public UpdateCrmPersonalCustomerRequestPermission setParticipantStaffIds(java.util.List participantStaffIds) {
this.participantStaffIds = participantStaffIds;
return this;
}
public java.util.List getParticipantStaffIds() {
return this.participantStaffIds;
}
}
}