com.aliyun.pds20220301.models.BatchResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pds20220301 Show documentation
Show all versions of pds20220301 Show documentation
Alibaba Cloud pds (20220301) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;
import com.aliyun.tea.*;
public class BatchResponseBody extends TeaModel {
/**
* All responses of the child requests.
*/
@NameInMap("responses")
public java.util.List responses;
public static BatchResponseBody build(java.util.Map map) throws Exception {
BatchResponseBody self = new BatchResponseBody();
return TeaModel.build(map, self);
}
public BatchResponseBody setResponses(java.util.List responses) {
this.responses = responses;
return this;
}
public java.util.List getResponses() {
return this.responses;
}
public static class BatchResponseBodyResponses extends TeaModel {
/**
* The response parameters of a child request. For more information, see the topic of the corresponding child request.
*/
@NameInMap("body")
public java.util.Map body;
/**
* The ID of the child request. The ID is used to associate a child request with a response.
*
* example:
* 93433894994ad2e1
*/
@NameInMap("id")
public String id;
/**
* The returned HTTP status code of a child request. For more information, see the topic of the corresponding child request.
*
* example:
* 200
*/
@NameInMap("status")
public Integer status;
public static BatchResponseBodyResponses build(java.util.Map map) throws Exception {
BatchResponseBodyResponses self = new BatchResponseBodyResponses();
return TeaModel.build(map, self);
}
public BatchResponseBodyResponses setBody(java.util.Map body) {
this.body = body;
return this;
}
public java.util.Map getBody() {
return this.body;
}
public BatchResponseBodyResponses setId(String id) {
this.id = id;
return this;
}
public String getId() {
return this.id;
}
public BatchResponseBodyResponses setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}
}