com.aliyun.dingtalkcard_1_0.models.CreateAndDeliverResponseBody 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.dingtalkcard_1_0.models;
import com.aliyun.tea.*;
public class CreateAndDeliverResponseBody extends TeaModel {
@NameInMap("result")
public CreateAndDeliverResponseBodyResult result;
@NameInMap("success")
public Boolean success;
public static CreateAndDeliverResponseBody build(java.util.Map map) throws Exception {
CreateAndDeliverResponseBody self = new CreateAndDeliverResponseBody();
return TeaModel.build(map, self);
}
public CreateAndDeliverResponseBody setResult(CreateAndDeliverResponseBodyResult result) {
this.result = result;
return this;
}
public CreateAndDeliverResponseBodyResult getResult() {
return this.result;
}
public CreateAndDeliverResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreateAndDeliverResponseBodyResultDeliverResults extends TeaModel {
/**
* example:
* 4v+AzUEDuC0dKuO*********J0w8=
*/
@NameInMap("carrierId")
public String carrierId;
/**
* example:
* system error
*/
@NameInMap("errorMsg")
public String errorMsg;
/**
* example:
* cid1234abcd
*/
@NameInMap("spaceId")
public String spaceId;
/**
* example:
* IM_GROUP
*/
@NameInMap("spaceType")
public String spaceType;
@NameInMap("success")
public Boolean success;
public static CreateAndDeliverResponseBodyResultDeliverResults build(java.util.Map map) throws Exception {
CreateAndDeliverResponseBodyResultDeliverResults self = new CreateAndDeliverResponseBodyResultDeliverResults();
return TeaModel.build(map, self);
}
public CreateAndDeliverResponseBodyResultDeliverResults setCarrierId(String carrierId) {
this.carrierId = carrierId;
return this;
}
public String getCarrierId() {
return this.carrierId;
}
public CreateAndDeliverResponseBodyResultDeliverResults setErrorMsg(String errorMsg) {
this.errorMsg = errorMsg;
return this;
}
public String getErrorMsg() {
return this.errorMsg;
}
public CreateAndDeliverResponseBodyResultDeliverResults setSpaceId(String spaceId) {
this.spaceId = spaceId;
return this;
}
public String getSpaceId() {
return this.spaceId;
}
public CreateAndDeliverResponseBodyResultDeliverResults setSpaceType(String spaceType) {
this.spaceType = spaceType;
return this;
}
public String getSpaceType() {
return this.spaceType;
}
public CreateAndDeliverResponseBodyResultDeliverResults setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
public static class CreateAndDeliverResponseBodyResult extends TeaModel {
@NameInMap("deliverResults")
public java.util.List deliverResults;
/**
* example:
* out_track_id_xxx
*/
@NameInMap("outTrackId")
public String outTrackId;
public static CreateAndDeliverResponseBodyResult build(java.util.Map map) throws Exception {
CreateAndDeliverResponseBodyResult self = new CreateAndDeliverResponseBodyResult();
return TeaModel.build(map, self);
}
public CreateAndDeliverResponseBodyResult setDeliverResults(java.util.List deliverResults) {
this.deliverResults = deliverResults;
return this;
}
public java.util.List getDeliverResults() {
return this.deliverResults;
}
public CreateAndDeliverResponseBodyResult setOutTrackId(String outTrackId) {
this.outTrackId = outTrackId;
return this;
}
public String getOutTrackId() {
return this.outTrackId;
}
}
}