com.aliyun.dingtalkcrm_1_0.models.CreateCustomerResponseBody 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 CreateCustomerResponseBody extends TeaModel {
@NameInMap("contacts")
public java.util.List contacts;
/**
* This parameter is required.
*
* example:
* customer_id
*/
@NameInMap("customerInstanceId")
public String customerInstanceId;
/**
* example:
* crm_customer
*/
@NameInMap("objectType")
public String objectType;
public static CreateCustomerResponseBody build(java.util.Map map) throws Exception {
CreateCustomerResponseBody self = new CreateCustomerResponseBody();
return TeaModel.build(map, self);
}
public CreateCustomerResponseBody setContacts(java.util.List contacts) {
this.contacts = contacts;
return this;
}
public java.util.List getContacts() {
return this.contacts;
}
public CreateCustomerResponseBody setCustomerInstanceId(String customerInstanceId) {
this.customerInstanceId = customerInstanceId;
return this;
}
public String getCustomerInstanceId() {
return this.customerInstanceId;
}
public CreateCustomerResponseBody setObjectType(String objectType) {
this.objectType = objectType;
return this;
}
public String getObjectType() {
return this.objectType;
}
public static class CreateCustomerResponseBodyContacts extends TeaModel {
/**
* example:
* contact_id
*/
@NameInMap("contactInstanceId")
public String contactInstanceId;
public static CreateCustomerResponseBodyContacts build(java.util.Map map) throws Exception {
CreateCustomerResponseBodyContacts self = new CreateCustomerResponseBodyContacts();
return TeaModel.build(map, self);
}
public CreateCustomerResponseBodyContacts setContactInstanceId(String contactInstanceId) {
this.contactInstanceId = contactInstanceId;
return this;
}
public String getContactInstanceId() {
return this.contactInstanceId;
}
}
}