com.aliyun.dingtalkcrm_1_0.models.BatchAddContactsResponseBody 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 BatchAddContactsResponseBody extends TeaModel {
/**
* example:
* true
*/
@NameInMap("results")
public java.util.List results;
public static BatchAddContactsResponseBody build(java.util.Map map) throws Exception {
BatchAddContactsResponseBody self = new BatchAddContactsResponseBody();
return TeaModel.build(map, self);
}
public BatchAddContactsResponseBody setResults(java.util.List results) {
this.results = results;
return this;
}
public java.util.List getResults() {
return this.results;
}
public static class BatchAddContactsResponseBodyResults extends TeaModel {
/**
* example:
* 1002
*/
@NameInMap("errorCode")
public String errorCode;
/**
* example:
* 查重失败
*/
@NameInMap("errorMsg")
public String errorMsg;
/**
* example:
* gads1ag-sfgasdfxcvxb
*/
@NameInMap("relationId")
public String relationId;
/**
* example:
* true
*/
@NameInMap("success")
public Boolean success;
public static BatchAddContactsResponseBodyResults build(java.util.Map map) throws Exception {
BatchAddContactsResponseBodyResults self = new BatchAddContactsResponseBodyResults();
return TeaModel.build(map, self);
}
public BatchAddContactsResponseBodyResults setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public BatchAddContactsResponseBodyResults setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
return this;
}
public String getErrorMsg() {
return this.errorMsg;
}
public BatchAddContactsResponseBodyResults setRelationId(String relationId) {
this.relationId = relationId;
return this;
}
public String getRelationId() {
return this.relationId;
}
public BatchAddContactsResponseBodyResults setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
}