com.aliyun.cloud_siem20220616.models.DeleteDataSourceResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cloud_siem20220616.models;
import com.aliyun.tea.*;
public class DeleteDataSourceResponseBody extends TeaModel {
/**
* The data returned.
*/
@NameInMap("Data")
public DeleteDataSourceResponseBodyData data;
/**
* The request ID.
*
* example:
* 6276D891-*****-55B2-87B9-74D413F7****
*/
@NameInMap("RequestId")
public String requestId;
public static DeleteDataSourceResponseBody build(java.util.Map map) throws Exception {
DeleteDataSourceResponseBody self = new DeleteDataSourceResponseBody();
return TeaModel.build(map, self);
}
public DeleteDataSourceResponseBody setData(DeleteDataSourceResponseBodyData data) {
this.data = data;
return this;
}
public DeleteDataSourceResponseBodyData getData() {
return this.data;
}
public DeleteDataSourceResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DeleteDataSourceResponseBodyData extends TeaModel {
/**
* The number of data sources that are removed. The value 1 indicates that data source is removed, and a value less than or equal to 0 indicates that the data source failed to be removed.
*
* example:
* 1
*/
@NameInMap("Count")
public Integer count;
public static DeleteDataSourceResponseBodyData build(java.util.Map map) throws Exception {
DeleteDataSourceResponseBodyData self = new DeleteDataSourceResponseBodyData();
return TeaModel.build(map, self);
}
public DeleteDataSourceResponseBodyData setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
}
}