com.aliyun.dingtalkhrm_1_0.models.MasterDataSaveResponseBody 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.dingtalkhrm_1_0.models;
import com.aliyun.tea.*;
public class MasterDataSaveResponseBody extends TeaModel {
/**
* This parameter is required.
*
* example:
* true
*/
@NameInMap("allSuccess")
public Boolean allSuccess;
@NameInMap("failResult")
public java.util.List failResult;
public static MasterDataSaveResponseBody build(java.util.Map map) throws Exception {
MasterDataSaveResponseBody self = new MasterDataSaveResponseBody();
return TeaModel.build(map, self);
}
public MasterDataSaveResponseBody setAllSuccess(Boolean allSuccess) {
this.allSuccess = allSuccess;
return this;
}
public Boolean getAllSuccess() {
return this.allSuccess;
}
public MasterDataSaveResponseBody setFailResult(java.util.List failResult) {
this.failResult = failResult;
return this;
}
public java.util.List getFailResult() {
return this.failResult;
}
public static class MasterDataSaveResponseBodyFailResult extends TeaModel {
/**
* example:
* uk123
*/
@NameInMap("bizUk")
public String bizUk;
/**
* example:
* S0005
*/
@NameInMap("errorCode")
public String errorCode;
/**
* example:
* 主键冲突
*/
@NameInMap("errorMsg")
public String errorMsg;
/**
* example:
* true
*/
@NameInMap("success")
public Boolean success;
public static MasterDataSaveResponseBodyFailResult build(java.util.Map map) throws Exception {
MasterDataSaveResponseBodyFailResult self = new MasterDataSaveResponseBodyFailResult();
return TeaModel.build(map, self);
}
public MasterDataSaveResponseBodyFailResult setBizUk(String bizUk) {
this.bizUk = bizUk;
return this;
}
public String getBizUk() {
return this.bizUk;
}
public MasterDataSaveResponseBodyFailResult setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public MasterDataSaveResponseBodyFailResult setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
return this;
}
public String getErrorMsg() {
return this.errorMsg;
}
public MasterDataSaveResponseBodyFailResult setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
}