com.aliyun.dingtalkorg_culture_1_0.models.DeductionPointBatchResponseBody 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.dingtalkorg_culture_1_0.models;
import com.aliyun.tea.*;
public class DeductionPointBatchResponseBody extends TeaModel {
@NameInMap("result")
public DeductionPointBatchResponseBodyResult result;
// 调用是否成功
@NameInMap("success")
public Boolean success;
public static DeductionPointBatchResponseBody build(java.util.Map map) throws Exception {
DeductionPointBatchResponseBody self = new DeductionPointBatchResponseBody();
return TeaModel.build(map, self);
}
public DeductionPointBatchResponseBody setResult(DeductionPointBatchResponseBodyResult result) {
this.result = result;
return this;
}
public DeductionPointBatchResponseBodyResult getResult() {
return this.result;
}
public DeductionPointBatchResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS extends TeaModel {
// 错误码
@NameInMap("code")
public String code;
// 状态 success:成功。 Fail:失败 UNKNOWN:结果未知
@NameInMap("invokeStatus")
public String invokeStatus;
// 错误信息
@NameInMap("msg")
public String msg;
// 积分交易单号
@NameInMap("outId")
public String outId;
// 扣减用户userId
@NameInMap("userId")
public String userId;
public static DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS build(java.util.Map map) throws Exception {
DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS self = new DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS();
return TeaModel.build(map, self);
}
public DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS setInvokeStatus(String invokeStatus) {
this.invokeStatus = invokeStatus;
return this;
}
public String getInvokeStatus() {
return this.invokeStatus;
}
public DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS setMsg(String msg) {
this.msg = msg;
return this;
}
public String getMsg() {
return this.msg;
}
public DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS setOutId(String outId) {
this.outId = outId;
return this;
}
public String getOutId() {
return this.outId;
}
public DeductionPointBatchResponseBodyResultOpenPointInvokeResultDTOS setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class DeductionPointBatchResponseBodyResult extends TeaModel {
// 每个人发放的结果
@NameInMap("openPointInvokeResultDTOS")
public java.util.List openPointInvokeResultDTOS;
public static DeductionPointBatchResponseBodyResult build(java.util.Map map) throws Exception {
DeductionPointBatchResponseBodyResult self = new DeductionPointBatchResponseBodyResult();
return TeaModel.build(map, self);
}
public DeductionPointBatchResponseBodyResult setOpenPointInvokeResultDTOS(java.util.List openPointInvokeResultDTOS) {
this.openPointInvokeResultDTOS = openPointInvokeResultDTOS;
return this;
}
public java.util.List getOpenPointInvokeResultDTOS() {
return this.openPointInvokeResultDTOS;
}
}
}