diff --git a/aliyun-java-sdk-cloud-siem/ChangeLog.txt b/aliyun-java-sdk-cloud-siem/ChangeLog.txt index f27d88e98e..81968dadca 100644 --- a/aliyun-java-sdk-cloud-siem/ChangeLog.txt +++ b/aliyun-java-sdk-cloud-siem/ChangeLog.txt @@ -1,3 +1,6 @@ +2025-01-15 Version: 1.0.6 +- Add parameters to control different role. + 2024-08-07 Version: 1.0.5 - Add parameters to control different role. diff --git a/aliyun-java-sdk-cloud-siem/pom.xml b/aliyun-java-sdk-cloud-siem/pom.xml index 4133ad0970..155f24dbf9 100644 --- a/aliyun-java-sdk-cloud-siem/pom.xml +++ b/aliyun-java-sdk-cloud-siem/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-cloud-siem jar - 1.0.5 + 1.0.6 aliyun-java-sdk-cloud-siem http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserRequest.java deleted file mode 100644 index 363b79a039..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserRequest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class AddUserRequest extends RpcAcsRequest { - - - private Long addedUserId; - public AddUserRequest() { - super("cloud-siem", "2022-06-16", "AddUser", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Long getAddedUserId() { - return this.addedUserId; - } - - public void setAddedUserId(Long addedUserId) { - this.addedUserId = addedUserId; - if(addedUserId != null){ - putBodyParameter("AddedUserId", addedUserId.toString()); - } - } - - @Override - public Class getResponseClass() { - return AddUserResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserResponse.java deleted file mode 100644 index df4b908445..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserResponse.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.AddUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class AddUserResponse extends AcsResponse { - - private Boolean data; - - private String requestId; - - public Boolean getData() { - return this.data; - } - - public void setData(Boolean data) { - this.data = data; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - @Override - public AddUserResponse getInstance(UnmarshallerContext context) { - return AddUserResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BatchJobSubmitRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BatchJobSubmitRequest.java deleted file mode 100644 index 32e4306fb6..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BatchJobSubmitRequest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class BatchJobSubmitRequest extends RpcAcsRequest { - - - private String jsonConfig; - public BatchJobSubmitRequest() { - super("cloud-siem", "2022-06-16", "BatchJobSubmit", "cloud-siem"); - setMethod(MethodType.POST); - } - - public String getJsonConfig() { - return this.jsonConfig; - } - - public void setJsonConfig(String jsonConfig) { - this.jsonConfig = jsonConfig; - if(jsonConfig != null){ - putBodyParameter("JsonConfig", jsonConfig); - } - } - - @Override - public Class getResponseClass() { - return BatchJobSubmitResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BatchJobSubmitResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BatchJobSubmitResponse.java deleted file mode 100644 index c00c18eb98..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BatchJobSubmitResponse.java +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.BatchJobSubmitResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class BatchJobSubmitResponse extends AcsResponse { - - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - - private String requestId; - - private Data data; - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Integer getCode() { - return this.code; - } - - public void setCode(Integer code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getErrCode() { - return this.errCode; - } - - public void setErrCode(String errCode) { - this.errCode = errCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private String submitId; - - private Integer taskCount; - - private String configId; - - private List configList; - - public String getSubmitId() { - return this.submitId; - } - - public void setSubmitId(String submitId) { - this.submitId = submitId; - } - - public Integer getTaskCount() { - return this.taskCount; - } - - public void setTaskCount(Integer taskCount) { - this.taskCount = taskCount; - } - - public String getConfigId() { - return this.configId; - } - - public void setConfigId(String configId) { - this.configId = configId; - } - - public List getConfigList() { - return this.configList; - } - - public void setConfigList(List configList) { - this.configList = configList; - } - - public static class ConfigListItem { - - private Long userId; - - private List productList; - - public Long getUserId() { - return this.userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - } - - public List getProductList() { - return this.productList; - } - - public void setProductList(List productList) { - this.productList = productList; - } - - public static class ProductListItem { - - private String productCode; - - private List logList; - - public String getProductCode() { - return this.productCode; - } - - public void setProductCode(String productCode) { - this.productCode = productCode; - } - - public List getLogList() { - return this.logList; - } - - public void setLogList(List logList) { - this.logList = logList; - } - - public static class LogListItem { - - private String productCode; - - private String logCode; - - private String regionCode; - - private String projectNamePattern; - - private String logStoreNamePattern; - - private String errorCode; - - public String getProductCode() { - return this.productCode; - } - - public void setProductCode(String productCode) { - this.productCode = productCode; - } - - public String getLogCode() { - return this.logCode; - } - - public void setLogCode(String logCode) { - this.logCode = logCode; - } - - public String getRegionCode() { - return this.regionCode; - } - - public void setRegionCode(String regionCode) { - this.regionCode = regionCode; - } - - public String getProjectNamePattern() { - return this.projectNamePattern; - } - - public void setProjectNamePattern(String projectNamePattern) { - this.projectNamePattern = projectNamePattern; - } - - public String getLogStoreNamePattern() { - return this.logStoreNamePattern; - } - - public void setLogStoreNamePattern(String logStoreNamePattern) { - this.logStoreNamePattern = logStoreNamePattern; - } - - public String getErrorCode() { - return this.errorCode; - } - - public void setErrorCode(String errorCode) { - this.errorCode = errorCode; - } - } - } - } - } - - @Override - public BatchJobSubmitResponse getInstance(UnmarshallerContext context) { - return BatchJobSubmitResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserRequest.java deleted file mode 100644 index d324637d0a..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserRequest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class DeleteUserRequest extends RpcAcsRequest { - - - private Long addedUserId; - public DeleteUserRequest() { - super("cloud-siem", "2022-06-16", "DeleteUser", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Long getAddedUserId() { - return this.addedUserId; - } - - public void setAddedUserId(Long addedUserId) { - this.addedUserId = addedUserId; - if(addedUserId != null){ - putBodyParameter("AddedUserId", addedUserId.toString()); - } - } - - @Override - public Class getResponseClass() { - return DeleteUserResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserResponse.java deleted file mode 100644 index 7bb68646c9..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserResponse.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.DeleteUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DeleteUserResponse extends AcsResponse { - - private Boolean data; - - private String requestId; - - public Boolean getData() { - return this.data; - } - - public void setData(Boolean data) { - this.data = data; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - @Override - public DeleteUserResponse getInstance(UnmarshallerContext context) { - return DeleteUserResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsCountRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsCountRequest.java index a89b91a70c..2a849c2155 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsCountRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsCountRequest.java @@ -30,6 +30,8 @@ public class DescribeAlertsCountRequest extends RpcAcsRequest countMap; + public Long getHigh() { return this.high; } @@ -125,6 +128,14 @@ public Integer getProductNum() { public void setProductNum(Integer productNum) { this.productNum = productNum; } + + public Map getCountMap() { + return this.countMap; + } + + public void setCountMap(Map countMap) { + this.countMap = countMap; + } } @Override diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java index 01bfeb319b..cbd37087db 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java @@ -27,6 +27,14 @@ public class DescribeAlertsRequest extends RpcAcsRequest private Long roleFor; + private String alertName; + + private String entityName; + + private String assetName; + + private String entityId; + private String source; private String isDefend; @@ -47,7 +55,13 @@ public class DescribeAlertsRequest extends RpcAcsRequest private Integer currentPage; - private String alertUuid; + private String alertType; + + private String alertUuid; + + private String assetId; + + private String labelType; public DescribeAlertsRequest() { super("cloud-siem", "2022-06-16", "DescribeAlerts", "cloud-siem"); setMethod(MethodType.POST); @@ -64,6 +78,50 @@ public void setRoleFor(Long roleFor) { } } + public String getAlertName() { + return this.alertName; + } + + public void setAlertName(String alertName) { + this.alertName = alertName; + if(alertName != null){ + putBodyParameter("AlertName", alertName); + } + } + + public String getEntityName() { + return this.entityName; + } + + public void setEntityName(String entityName) { + this.entityName = entityName; + if(entityName != null){ + putBodyParameter("EntityName", entityName); + } + } + + public String getAssetName() { + return this.assetName; + } + + public void setAssetName(String assetName) { + this.assetName = assetName; + if(assetName != null){ + putBodyParameter("AssetName", assetName); + } + } + + public String getEntityId() { + return this.entityId; + } + + public void setEntityId(String entityId) { + this.entityId = entityId; + if(entityId != null){ + putBodyParameter("EntityId", entityId); + } + } + public String getSource() { return this.source; } @@ -176,6 +234,17 @@ public void setCurrentPage(Integer currentPage) { } } + public String getAlertType() { + return this.alertType; + } + + public void setAlertType(String alertType) { + this.alertType = alertType; + if(alertType != null){ + putBodyParameter("AlertType", alertType); + } + } + public String getAlertUuid() { return this.alertUuid; } @@ -185,6 +254,28 @@ public void setAlertUuid(String alertUuid) { if(alertUuid != null){ putBodyParameter("AlertUuid", alertUuid); } + } + + public String getAssetId() { + return this.assetId; + } + + public void setAssetId(String assetId) { + this.assetId = assetId; + if(assetId != null){ + putBodyParameter("AssetId", assetId); + } + } + + public String getLabelType() { + return this.labelType; + } + + public void setLabelType(String labelType) { + this.labelType = labelType; + if(labelType != null){ + putBodyParameter("LabelType", labelType); + } } @Override diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java index eabde62a2d..5dbd430a2c 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java @@ -153,10 +153,14 @@ public static class ResponseDataItem { private String logUuid; + private String entityList; + private String attCk; private Long subUserId; + private String subUserName; + private String cloudCode; private String isDefend; @@ -379,6 +383,14 @@ public void setLogUuid(String logUuid) { this.logUuid = logUuid; } + public String getEntityList() { + return this.entityList; + } + + public void setEntityList(String entityList) { + this.entityList = entityList; + } + public String getAttCk() { return this.attCk; } @@ -395,6 +407,14 @@ public void setSubUserId(Long subUserId) { this.subUserId = subUserId; } + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + public String getCloudCode() { return this.cloudCode; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java index 3a80bb1e2d..70e72a67c9 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java @@ -28,14 +28,20 @@ public class DescribeAlertsWithEntityRequest extends RpcAcsRequest levels; + private Long endTime; + private String alertTitle; private Integer currentPage; + private String alertType; + + private String assetId; + private String incidentUuid; public DescribeAlertsWithEventRequest() { super("cloud-siem", "2022-06-16", "DescribeAlertsWithEvent", "cloud-siem"); @@ -60,6 +76,50 @@ public void setRoleFor(Long roleFor) { } } + public String getAlertName() { + return this.alertName; + } + + public void setAlertName(String alertName) { + this.alertName = alertName; + if(alertName != null){ + putBodyParameter("AlertName", alertName); + } + } + + public String getEntityName() { + return this.entityName; + } + + public void setEntityName(String entityName) { + this.entityName = entityName; + if(entityName != null){ + putBodyParameter("EntityName", entityName); + } + } + + public String getAssetName() { + return this.assetName; + } + + public void setAssetName(String assetName) { + this.assetName = assetName; + if(assetName != null){ + putBodyParameter("AssetName", assetName); + } + } + + public String getEntityId() { + return this.entityId; + } + + public void setEntityId(String entityId) { + this.entityId = entityId; + if(entityId != null){ + putBodyParameter("EntityId", entityId); + } + } + public String getSource() { return this.source; } @@ -82,6 +142,17 @@ public void setIsDefend(String isDefend) { } } + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putBodyParameter("StartTime", startTime.toString()); + } + } + public Long getSubUserId() { return this.subUserId; } @@ -128,6 +199,17 @@ public void setLevels(List levels) { } } + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putBodyParameter("EndTime", endTime.toString()); + } + } + public String getAlertTitle() { return this.alertTitle; } @@ -150,6 +232,28 @@ public void setCurrentPage(Integer currentPage) { } } + public String getAlertType() { + return this.alertType; + } + + public void setAlertType(String alertType) { + this.alertType = alertType; + if(alertType != null){ + putBodyParameter("AlertType", alertType); + } + } + + public String getAssetId() { + return this.assetId; + } + + public void setAssetId(String assetId) { + this.assetId = assetId; + if(assetId != null){ + putBodyParameter("AssetId", assetId); + } + } + public String getIncidentUuid() { return this.incidentUuid; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java index 0e17baac7c..3907fd4871 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java @@ -159,6 +159,8 @@ public static class ResponseDataItem { private Long subUserId; + private String subUserName; + private String cloudCode; private String isDefend; @@ -405,6 +407,14 @@ public void setSubUserId(Long subUserId) { this.subUserId = subUserId; } + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + public String getCloudCode() { return this.cloudCode; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAttackTimeLineRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAttackTimeLineRequest.java deleted file mode 100644 index 40738550b2..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAttackTimeLineRequest.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class DescribeAttackTimeLineRequest extends RpcAcsRequest { - - - private Long roleFor; - - private String assetName; - - private Long startTime; - - private Integer roleType; - - private Long endTime; - - private String incidentUuid; - public DescribeAttackTimeLineRequest() { - super("cloud-siem", "2022-06-16", "DescribeAttackTimeLine", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Long getRoleFor() { - return this.roleFor; - } - - public void setRoleFor(Long roleFor) { - this.roleFor = roleFor; - if(roleFor != null){ - putBodyParameter("RoleFor", roleFor.toString()); - } - } - - public String getAssetName() { - return this.assetName; - } - - public void setAssetName(String assetName) { - this.assetName = assetName; - if(assetName != null){ - putBodyParameter("AssetName", assetName); - } - } - - public Long getStartTime() { - return this.startTime; - } - - public void setStartTime(Long startTime) { - this.startTime = startTime; - if(startTime != null){ - putBodyParameter("StartTime", startTime.toString()); - } - } - - public Integer getRoleType() { - return this.roleType; - } - - public void setRoleType(Integer roleType) { - this.roleType = roleType; - if(roleType != null){ - putBodyParameter("RoleType", roleType.toString()); - } - } - - public Long getEndTime() { - return this.endTime; - } - - public void setEndTime(Long endTime) { - this.endTime = endTime; - if(endTime != null){ - putBodyParameter("EndTime", endTime.toString()); - } - } - - public String getIncidentUuid() { - return this.incidentUuid; - } - - public void setIncidentUuid(String incidentUuid) { - this.incidentUuid = incidentUuid; - if(incidentUuid != null){ - putBodyParameter("IncidentUuid", incidentUuid); - } - } - - @Override - public Class getResponseClass() { - return DescribeAttackTimeLineResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAttackTimeLineResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAttackTimeLineResponse.java deleted file mode 100644 index 0901a12abc..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAttackTimeLineResponse.java +++ /dev/null @@ -1,290 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.DescribeAttackTimeLineResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DescribeAttackTimeLineResponse extends AcsResponse { - - private Boolean success; - - private Integer code; - - private String message; - - private String requestId; - - private List data; - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Integer getCode() { - return this.code; - } - - public void setCode(Integer code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public List getData() { - return this.data; - } - - public void setData(List data) { - this.data = data; - } - - public static class DataItem { - - private String assetName; - - private Long alertTime; - - private String assetId; - - private String incidentUuid; - - private String alertUuid; - - private String logTime; - - private String alertSrcProd; - - private String alertTitle; - - private String alertLevel; - - private String assetList; - - private String alertSrcProdModule; - - private String attCk; - - private String cloudCode; - - private String alertTitleEn; - - private String alertType; - - private String alertTypeEn; - - private String alertTypeCode; - - private String alertName; - - private String alertNameEn; - - private String alertNameCode; - - public String getAssetName() { - return this.assetName; - } - - public void setAssetName(String assetName) { - this.assetName = assetName; - } - - public Long getAlertTime() { - return this.alertTime; - } - - public void setAlertTime(Long alertTime) { - this.alertTime = alertTime; - } - - public String getAssetId() { - return this.assetId; - } - - public void setAssetId(String assetId) { - this.assetId = assetId; - } - - public String getIncidentUuid() { - return this.incidentUuid; - } - - public void setIncidentUuid(String incidentUuid) { - this.incidentUuid = incidentUuid; - } - - public String getAlertUuid() { - return this.alertUuid; - } - - public void setAlertUuid(String alertUuid) { - this.alertUuid = alertUuid; - } - - public String getLogTime() { - return this.logTime; - } - - public void setLogTime(String logTime) { - this.logTime = logTime; - } - - public String getAlertSrcProd() { - return this.alertSrcProd; - } - - public void setAlertSrcProd(String alertSrcProd) { - this.alertSrcProd = alertSrcProd; - } - - public String getAlertTitle() { - return this.alertTitle; - } - - public void setAlertTitle(String alertTitle) { - this.alertTitle = alertTitle; - } - - public String getAlertLevel() { - return this.alertLevel; - } - - public void setAlertLevel(String alertLevel) { - this.alertLevel = alertLevel; - } - - public String getAssetList() { - return this.assetList; - } - - public void setAssetList(String assetList) { - this.assetList = assetList; - } - - public String getAlertSrcProdModule() { - return this.alertSrcProdModule; - } - - public void setAlertSrcProdModule(String alertSrcProdModule) { - this.alertSrcProdModule = alertSrcProdModule; - } - - public String getAttCk() { - return this.attCk; - } - - public void setAttCk(String attCk) { - this.attCk = attCk; - } - - public String getCloudCode() { - return this.cloudCode; - } - - public void setCloudCode(String cloudCode) { - this.cloudCode = cloudCode; - } - - public String getAlertTitleEn() { - return this.alertTitleEn; - } - - public void setAlertTitleEn(String alertTitleEn) { - this.alertTitleEn = alertTitleEn; - } - - public String getAlertType() { - return this.alertType; - } - - public void setAlertType(String alertType) { - this.alertType = alertType; - } - - public String getAlertTypeEn() { - return this.alertTypeEn; - } - - public void setAlertTypeEn(String alertTypeEn) { - this.alertTypeEn = alertTypeEn; - } - - public String getAlertTypeCode() { - return this.alertTypeCode; - } - - public void setAlertTypeCode(String alertTypeCode) { - this.alertTypeCode = alertTypeCode; - } - - public String getAlertName() { - return this.alertName; - } - - public void setAlertName(String alertName) { - this.alertName = alertName; - } - - public String getAlertNameEn() { - return this.alertNameEn; - } - - public void setAlertNameEn(String alertNameEn) { - this.alertNameEn = alertNameEn; - } - - public String getAlertNameCode() { - return this.alertNameCode; - } - - public void setAlertNameCode(String alertNameCode) { - this.alertNameCode = alertNameCode; - } - } - - @Override - public DescribeAttackTimeLineResponse getInstance(UnmarshallerContext context) { - return DescribeAttackTimeLineResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemAssetsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemAssetsRequest.java index 67367987f0..921621344e 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemAssetsRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemAssetsRequest.java @@ -26,12 +26,16 @@ public class DescribeCloudSiemAssetsRequest extends RpcAcsRequest attckStages; + private List dataSources; private List attCkLabels; @@ -233,6 +239,22 @@ public void setReferAccount(String referAccount) { this.referAccount = referAccount; } + public String getIncidentType() { + return this.incidentType; + } + + public void setIncidentType(String incidentType) { + this.incidentType = incidentType; + } + + public String getRuleId() { + return this.ruleId; + } + + public void setRuleId(String ruleId) { + this.ruleId = ruleId; + } + public String getRemark() { return this.remark; } @@ -241,6 +263,14 @@ public void setRemark(String remark) { this.remark = remark; } + public List getAttckStages() { + return this.attckStages; + } + + public void setAttckStages(List attckStages) { + this.attckStages = attckStages; + } + public List getDataSources() { return this.dataSources; } @@ -256,6 +286,39 @@ public List getAttCkLabels() { public void setAttCkLabels(List attCkLabels) { this.attCkLabels = attCkLabels; } + + public static class AttckStage { + + private String tacticId; + + private String tacticName; + + private Integer alertNum; + + public String getTacticId() { + return this.tacticId; + } + + public void setTacticId(String tacticId) { + this.tacticId = tacticId; + } + + public String getTacticName() { + return this.tacticName; + } + + public void setTacticName(String tacticName) { + this.tacticName = tacticName; + } + + public Integer getAlertNum() { + return this.alertNum; + } + + public void setAlertNum(Integer alertNum) { + this.alertNum = alertNum; + } + } } @Override diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsRequest.java index 8f4ba0eab7..d33c80ba66 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsRequest.java @@ -45,6 +45,8 @@ public class DescribeCloudSiemEventsRequest extends RpcAcsRequest threadLevels; + private String entityUuid; + private String assetId; private String incidentUuid; @@ -167,6 +169,17 @@ public void setThreadLevels(List threadLevels) { } } + public String getEntityUuid() { + return this.entityUuid; + } + + public void setEntityUuid(String entityUuid) { + this.entityUuid = entityUuid; + if(entityUuid != null){ + putBodyParameter("EntityUuid", entityUuid); + } + } + public String getAssetId() { return this.assetId; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsResponse.java index c99f507c3d..3d715f6d05 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCloudSiemEventsResponse.java @@ -129,8 +129,14 @@ public static class ResponseDataItem { private String referAccount; + private String incidentType; + + private String ruleId; + private String remark; + private List attckStages; + private List dataSources; private List attCkLabels; @@ -255,6 +261,22 @@ public void setReferAccount(String referAccount) { this.referAccount = referAccount; } + public String getIncidentType() { + return this.incidentType; + } + + public void setIncidentType(String incidentType) { + this.incidentType = incidentType; + } + + public String getRuleId() { + return this.ruleId; + } + + public void setRuleId(String ruleId) { + this.ruleId = ruleId; + } + public String getRemark() { return this.remark; } @@ -263,6 +285,14 @@ public void setRemark(String remark) { this.remark = remark; } + public List getAttckStages() { + return this.attckStages; + } + + public void setAttckStages(List attckStages) { + this.attckStages = attckStages; + } + public List getDataSources() { return this.dataSources; } @@ -278,6 +308,39 @@ public List getAttCkLabels() { public void setAttCkLabels(List attCkLabels) { this.attCkLabels = attCkLabels; } + + public static class AttckStage { + + private String tacticId; + + private String tacticName; + + private Integer alertNum; + + public String getTacticId() { + return this.tacticId; + } + + public void setTacticId(String tacticId) { + this.tacticId = tacticId; + } + + public String getTacticName() { + return this.tacticName; + } + + public void setTacticName(String tacticName) { + this.tacticName = tacticName; + } + + public Integer getAlertNum() { + return this.alertNum; + } + + public void setAlertNum(Integer alertNum) { + this.alertNum = alertNum; + } + } } public static class PageInfo { diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserRequest.java deleted file mode 100644 index fc0d8dc4f8..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserRequest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class DescribeCsImportedProdStatusByUserRequest extends RpcAcsRequest { - - - private Long userId; - - private String sourceLogProd; - public DescribeCsImportedProdStatusByUserRequest() { - super("cloud-siem", "2022-06-16", "DescribeCsImportedProdStatusByUser", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Long getUserId() { - return this.userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - if(userId != null){ - putBodyParameter("UserId", userId.toString()); - } - } - - public String getSourceLogProd() { - return this.sourceLogProd; - } - - public void setSourceLogProd(String sourceLogProd) { - this.sourceLogProd = sourceLogProd; - if(sourceLogProd != null){ - putBodyParameter("SourceLogProd", sourceLogProd); - } - } - - @Override - public Class getResponseClass() { - return DescribeCsImportedProdStatusByUserResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserResponse.java deleted file mode 100644 index e534f40ef9..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserResponse.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.DescribeCsImportedProdStatusByUserResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DescribeCsImportedProdStatusByUserResponse extends AcsResponse { - - private Boolean data; - - private String requestId; - - public Boolean getData() { - return this.data; - } - - public void setData(Boolean data) { - this.data = data; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - @Override - public DescribeCsImportedProdStatusByUserResponse getInstance(UnmarshallerContext context) { - return DescribeCsImportedProdStatusByUserResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDisposeAndPlaybookRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDisposeAndPlaybookRequest.java index d8e49c29f1..290087a975 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDisposeAndPlaybookRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDisposeAndPlaybookRequest.java @@ -34,6 +34,8 @@ public class DescribeDisposeAndPlaybookRequest extends RpcAcsRequest opcodeMap; private Map entityInfo; @@ -124,6 +126,14 @@ public void setEntityId(Long entityId) { this.entityId = entityId; } + public String getEntityType() { + return this.entityType; + } + + public void setEntityType(String entityType) { + this.entityType = entityType; + } + public Map getOpcodeMap() { return this.opcodeMap; } @@ -194,8 +204,12 @@ public static class PlaybookListItem { private String name; + private String uuid; + private Boolean wafPlaybook; + private String available; + private List paramConfig; public String getOpCode() { @@ -246,6 +260,14 @@ public void setName(String name) { this.name = name; } + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + public Boolean getWafPlaybook() { return this.wafPlaybook; } @@ -254,6 +276,14 @@ public void setWafPlaybook(Boolean wafPlaybook) { this.wafPlaybook = wafPlaybook; } + public String getAvailable() { + return this.available; + } + + public void setAvailable(String available) { + this.available = available; + } + public List getParamConfig() { return this.paramConfig; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeJobStatusRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeJobStatusRequest.java deleted file mode 100644 index e02e0560bc..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeJobStatusRequest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class DescribeJobStatusRequest extends RpcAcsRequest { - - - private String submitId; - public DescribeJobStatusRequest() { - super("cloud-siem", "2022-06-16", "DescribeJobStatus", "cloud-siem"); - setMethod(MethodType.POST); - } - - public String getSubmitId() { - return this.submitId; - } - - public void setSubmitId(String submitId) { - this.submitId = submitId; - if(submitId != null){ - putBodyParameter("SubmitId", submitId); - } - } - - @Override - public Class getResponseClass() { - return DescribeJobStatusResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeJobStatusResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeJobStatusResponse.java deleted file mode 100644 index 970b59a4de..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeJobStatusResponse.java +++ /dev/null @@ -1,279 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.DescribeJobStatusResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DescribeJobStatusResponse extends AcsResponse { - - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - - private String requestId; - - private Data data; - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Integer getCode() { - return this.code; - } - - public void setCode(Integer code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getErrCode() { - return this.errCode; - } - - public void setErrCode(String errCode) { - this.errCode = errCode; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private Integer taskCount; - - private Integer finishCount; - - private Integer failedCount; - - private String taskStatus; - - private String configId; - - private String folderId; - - private List errTaskList; - - public Integer getTaskCount() { - return this.taskCount; - } - - public void setTaskCount(Integer taskCount) { - this.taskCount = taskCount; - } - - public Integer getFinishCount() { - return this.finishCount; - } - - public void setFinishCount(Integer finishCount) { - this.finishCount = finishCount; - } - - public Integer getFailedCount() { - return this.failedCount; - } - - public void setFailedCount(Integer failedCount) { - this.failedCount = failedCount; - } - - public String getTaskStatus() { - return this.taskStatus; - } - - public void setTaskStatus(String taskStatus) { - this.taskStatus = taskStatus; - } - - public String getConfigId() { - return this.configId; - } - - public void setConfigId(String configId) { - this.configId = configId; - } - - public String getFolderId() { - return this.folderId; - } - - public void setFolderId(String folderId) { - this.folderId = folderId; - } - - public List getErrTaskList() { - return this.errTaskList; - } - - public void setErrTaskList(List errTaskList) { - this.errTaskList = errTaskList; - } - - public static class ErrTaskListItem { - - private Long userId; - - private List productList; - - public Long getUserId() { - return this.userId; - } - - public void setUserId(Long userId) { - this.userId = userId; - } - - public List getProductList() { - return this.productList; - } - - public void setProductList(List productList) { - this.productList = productList; - } - - public static class ProductListItem { - - private String productCode; - - private List logList; - - public String getProductCode() { - return this.productCode; - } - - public void setProductCode(String productCode) { - this.productCode = productCode; - } - - public List getLogList() { - return this.logList; - } - - public void setLogList(List logList) { - this.logList = logList; - } - - public static class LogListItem { - - private String productCode; - - private String logCode; - - private String regionCode; - - private String projectNamePattern; - - private String logStoreNamePattern; - - private String errorCode; - - public String getProductCode() { - return this.productCode; - } - - public void setProductCode(String productCode) { - this.productCode = productCode; - } - - public String getLogCode() { - return this.logCode; - } - - public void setLogCode(String logCode) { - this.logCode = logCode; - } - - public String getRegionCode() { - return this.regionCode; - } - - public void setRegionCode(String regionCode) { - this.regionCode = regionCode; - } - - public String getProjectNamePattern() { - return this.projectNamePattern; - } - - public void setProjectNamePattern(String projectNamePattern) { - this.projectNamePattern = projectNamePattern; - } - - public String getLogStoreNamePattern() { - return this.logStoreNamePattern; - } - - public void setLogStoreNamePattern(String logStoreNamePattern) { - this.logStoreNamePattern = logStoreNamePattern; - } - - public String getErrorCode() { - return this.errorCode; - } - - public void setErrorCode(String errorCode) { - this.errorCode = errorCode; - } - } - } - } - } - - @Override - public DescribeJobStatusResponse getInstance(UnmarshallerContext context) { - return DescribeJobStatusResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeLogStoreRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeLogStoreRequest.java deleted file mode 100644 index ba0f7fa556..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeLogStoreRequest.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class DescribeLogStoreRequest extends RpcAcsRequest { - - public DescribeLogStoreRequest() { - super("cloud-siem", "2022-06-16", "DescribeLogStore", "cloud-siem"); - setMethod(MethodType.POST); - } - - @Override - public Class getResponseClass() { - return DescribeLogStoreResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeLogStoreResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeLogStoreResponse.java deleted file mode 100644 index 32dfc8c56f..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeLogStoreResponse.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.DescribeLogStoreResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DescribeLogStoreResponse extends AcsResponse { - - private String requestId; - - private Data data; - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private String logStoreName; - - private Integer ttl; - - private Integer shardCount; - - private Boolean enableTracking; - - private Boolean autoSplit; - - private Integer maxSplitShard; - - private Boolean appendMeta; - - public String getLogStoreName() { - return this.logStoreName; - } - - public void setLogStoreName(String logStoreName) { - this.logStoreName = logStoreName; - } - - public Integer getTtl() { - return this.ttl; - } - - public void setTtl(Integer ttl) { - this.ttl = ttl; - } - - public Integer getShardCount() { - return this.shardCount; - } - - public void setShardCount(Integer shardCount) { - this.shardCount = shardCount; - } - - public Boolean getEnableTracking() { - return this.enableTracking; - } - - public void setEnableTracking(Boolean enableTracking) { - this.enableTracking = enableTracking; - } - - public Boolean getAutoSplit() { - return this.autoSplit; - } - - public void setAutoSplit(Boolean autoSplit) { - this.autoSplit = autoSplit; - } - - public Integer getMaxSplitShard() { - return this.maxSplitShard; - } - - public void setMaxSplitShard(Integer maxSplitShard) { - this.maxSplitShard = maxSplitShard; - } - - public Boolean getAppendMeta() { - return this.appendMeta; - } - - public void setAppendMeta(Boolean appendMeta) { - this.appendMeta = appendMeta; - } - } - - @Override - public DescribeLogStoreResponse getInstance(UnmarshallerContext context) { - return DescribeLogStoreResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountResponse.java index d300c2d968..3f9bb68167 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountResponse.java @@ -52,6 +52,16 @@ public static class Data { private Integer qcloudProdCount; + private Integer idcProdCount; + + private Integer aliyunImportedCount; + + private Integer hcloudImportedCount; + + private Integer qcloudImportedCount; + + private Integer idcImportedCount; + public Integer getAliyunProdCount() { return this.aliyunProdCount; } @@ -75,6 +85,46 @@ public Integer getQcloudProdCount() { public void setQcloudProdCount(Integer qcloudProdCount) { this.qcloudProdCount = qcloudProdCount; } + + public Integer getIdcProdCount() { + return this.idcProdCount; + } + + public void setIdcProdCount(Integer idcProdCount) { + this.idcProdCount = idcProdCount; + } + + public Integer getAliyunImportedCount() { + return this.aliyunImportedCount; + } + + public void setAliyunImportedCount(Integer aliyunImportedCount) { + this.aliyunImportedCount = aliyunImportedCount; + } + + public Integer getHcloudImportedCount() { + return this.hcloudImportedCount; + } + + public void setHcloudImportedCount(Integer hcloudImportedCount) { + this.hcloudImportedCount = hcloudImportedCount; + } + + public Integer getQcloudImportedCount() { + return this.qcloudImportedCount; + } + + public void setQcloudImportedCount(Integer qcloudImportedCount) { + this.qcloudImportedCount = qcloudImportedCount; + } + + public Integer getIdcImportedCount() { + return this.idcImportedCount; + } + + public void setIdcImportedCount(Integer idcImportedCount) { + this.idcImportedCount = idcImportedCount; + } } @Override diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoQuickFieldRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoQuickFieldRequest.java deleted file mode 100644 index 1c591fb584..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoQuickFieldRequest.java +++ /dev/null @@ -1,114 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class DoQuickFieldRequest extends RpcAcsRequest { - - - private Integer from; - - private String index; - - private Boolean reverse; - - private Integer size; - - private Integer to; - - private Integer page; - public DoQuickFieldRequest() { - super("cloud-siem", "2022-06-16", "DoQuickField", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Integer getFrom() { - return this.from; - } - - public void setFrom(Integer from) { - this.from = from; - if(from != null){ - putBodyParameter("From", from.toString()); - } - } - - public String getIndex() { - return this.index; - } - - public void setIndex(String index) { - this.index = index; - if(index != null){ - putBodyParameter("Index", index); - } - } - - public Boolean getReverse() { - return this.reverse; - } - - public void setReverse(Boolean reverse) { - this.reverse = reverse; - if(reverse != null){ - putBodyParameter("Reverse", reverse.toString()); - } - } - - public Integer getSize() { - return this.size; - } - - public void setSize(Integer size) { - this.size = size; - if(size != null){ - putBodyParameter("Size", size.toString()); - } - } - - public Integer getTo() { - return this.to; - } - - public void setTo(Integer to) { - this.to = to; - if(to != null){ - putBodyParameter("To", to.toString()); - } - } - - public Integer getPage() { - return this.page; - } - - public void setPage(Integer page) { - this.page = page; - if(page != null){ - putBodyParameter("Page", page.toString()); - } - } - - @Override - public Class getResponseClass() { - return DoQuickFieldResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoQuickFieldResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoQuickFieldResponse.java deleted file mode 100644 index 42d9772703..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoQuickFieldResponse.java +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.DoQuickFieldResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DoQuickFieldResponse extends AcsResponse { - - private String requestId; - - private Data data; - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private Integer queryMode; - - private Long limited; - - private Integer count; - - private Boolean hasSQL; - - private String whereQuery; - - private String pQuery; - - private Long processedRows; - - private Boolean completeOrNot; - - private String aggQueryd; - - private List keys; - - private List logs; - - public Integer getQueryMode() { - return this.queryMode; - } - - public void setQueryMode(Integer queryMode) { - this.queryMode = queryMode; - } - - public Long getLimited() { - return this.limited; - } - - public void setLimited(Long limited) { - this.limited = limited; - } - - public Integer getCount() { - return this.count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public Boolean getHasSQL() { - return this.hasSQL; - } - - public void setHasSQL(Boolean hasSQL) { - this.hasSQL = hasSQL; - } - - public String getWhereQuery() { - return this.whereQuery; - } - - public void setWhereQuery(String whereQuery) { - this.whereQuery = whereQuery; - } - - public String getPQuery() { - return this.pQuery; - } - - public void setPQuery(String pQuery) { - this.pQuery = pQuery; - } - - public Long getProcessedRows() { - return this.processedRows; - } - - public void setProcessedRows(Long processedRows) { - this.processedRows = processedRows; - } - - public Boolean getCompleteOrNot() { - return this.completeOrNot; - } - - public void setCompleteOrNot(Boolean completeOrNot) { - this.completeOrNot = completeOrNot; - } - - public String getAggQueryd() { - return this.aggQueryd; - } - - public void setAggQueryd(String aggQueryd) { - this.aggQueryd = aggQueryd; - } - - public List getKeys() { - return this.keys; - } - - public void setKeys(List keys) { - this.keys = keys; - } - - public List getLogs() { - return this.logs; - } - - public void setLogs(List logs) { - this.logs = logs; - } - } - - @Override - public DoQuickFieldResponse getInstance(UnmarshallerContext context) { - return DoQuickFieldResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoSelfDelegateRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoSelfDelegateRequest.java deleted file mode 100644 index fc380edc39..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoSelfDelegateRequest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class DoSelfDelegateRequest extends RpcAcsRequest { - - - private Long aliUid; - - private Integer delegateOrNot; - public DoSelfDelegateRequest() { - super("cloud-siem", "2022-06-16", "DoSelfDelegate", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Long getAliUid() { - return this.aliUid; - } - - public void setAliUid(Long aliUid) { - this.aliUid = aliUid; - if(aliUid != null){ - putBodyParameter("AliUid", aliUid.toString()); - } - } - - public Integer getDelegateOrNot() { - return this.delegateOrNot; - } - - public void setDelegateOrNot(Integer delegateOrNot) { - this.delegateOrNot = delegateOrNot; - if(delegateOrNot != null){ - putBodyParameter("DelegateOrNot", delegateOrNot.toString()); - } - } - - @Override - public Class getResponseClass() { - return DoSelfDelegateResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoSelfDelegateResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoSelfDelegateResponse.java deleted file mode 100644 index bfb12c114a..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoSelfDelegateResponse.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.DoSelfDelegateResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class DoSelfDelegateResponse extends AcsResponse { - - private Boolean data; - - private String requestId; - - public Boolean getData() { - return this.data; - } - - public void setData(Boolean data) { - this.data = data; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - @Override - public DoSelfDelegateResponse getInstance(UnmarshallerContext context) { - return DoSelfDelegateResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetHistogramsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetHistogramsRequest.java deleted file mode 100644 index f2d1d974a9..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetHistogramsRequest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class GetHistogramsRequest extends RpcAcsRequest { - - - private Integer from; - - private String query; - - private Integer to; - public GetHistogramsRequest() { - super("cloud-siem", "2022-06-16", "GetHistograms", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Integer getFrom() { - return this.from; - } - - public void setFrom(Integer from) { - this.from = from; - if(from != null){ - putBodyParameter("From", from.toString()); - } - } - - public String getQuery() { - return this.query; - } - - public void setQuery(String query) { - this.query = query; - if(query != null){ - putBodyParameter("Query", query); - } - } - - public Integer getTo() { - return this.to; - } - - public void setTo(Integer to) { - this.to = to; - if(to != null){ - putBodyParameter("To", to.toString()); - } - } - - @Override - public Class getResponseClass() { - return GetHistogramsResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetHistogramsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetHistogramsResponse.java deleted file mode 100644 index 37b011d109..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetHistogramsResponse.java +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.GetHistogramsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetHistogramsResponse extends AcsResponse { - - private String requestId; - - private Data data; - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private String server; - - private Long totalCount; - - private List histograms; - - public String getServer() { - return this.server; - } - - public void setServer(String server) { - this.server = server; - } - - public Long getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Long totalCount) { - this.totalCount = totalCount; - } - - public List getHistograms() { - return this.histograms; - } - - public void setHistograms(List histograms) { - this.histograms = histograms; - } - - public static class Histogram { - - private Integer from; - - private Integer to; - - private Long count; - - private Boolean completedOrNot; - - public Integer getFrom() { - return this.from; - } - - public void setFrom(Integer from) { - this.from = from; - } - - public Integer getTo() { - return this.to; - } - - public void setTo(Integer to) { - this.to = to; - } - - public Long getCount() { - return this.count; - } - - public void setCount(Long count) { - this.count = count; - } - - public Boolean getCompletedOrNot() { - return this.completedOrNot; - } - - public void setCompletedOrNot(Boolean completedOrNot) { - this.completedOrNot = completedOrNot; - } - } - } - - @Override - public GetHistogramsResponse getInstance(UnmarshallerContext context) { - return GetHistogramsResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetLogsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetLogsRequest.java deleted file mode 100644 index 36f4293be2..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetLogsRequest.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class GetLogsRequest extends RpcAcsRequest { - - - private Long total; - - private Integer pageSize; - - private Integer from; - - private Integer pageIndex; - - private Boolean reverseOrNot; - - private String query; - - private Integer to; - public GetLogsRequest() { - super("cloud-siem", "2022-06-16", "GetLogs", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Long getTotal() { - return this.total; - } - - public void setTotal(Long total) { - this.total = total; - if(total != null){ - putBodyParameter("Total", total.toString()); - } - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putBodyParameter("PageSize", pageSize.toString()); - } - } - - public Integer getFrom() { - return this.from; - } - - public void setFrom(Integer from) { - this.from = from; - if(from != null){ - putBodyParameter("From", from.toString()); - } - } - - public Integer getPageIndex() { - return this.pageIndex; - } - - public void setPageIndex(Integer pageIndex) { - this.pageIndex = pageIndex; - if(pageIndex != null){ - putBodyParameter("PageIndex", pageIndex.toString()); - } - } - - public Boolean getReverseOrNot() { - return this.reverseOrNot; - } - - public void setReverseOrNot(Boolean reverseOrNot) { - this.reverseOrNot = reverseOrNot; - if(reverseOrNot != null){ - putBodyParameter("ReverseOrNot", reverseOrNot.toString()); - } - } - - public String getQuery() { - return this.query; - } - - public void setQuery(String query) { - this.query = query; - if(query != null){ - putBodyParameter("Query", query); - } - } - - public Integer getTo() { - return this.to; - } - - public void setTo(Integer to) { - this.to = to; - if(to != null){ - putBodyParameter("To", to.toString()); - } - } - - @Override - public Class getResponseClass() { - return GetLogsResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetLogsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetLogsResponse.java deleted file mode 100644 index e95beb5961..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetLogsResponse.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.GetLogsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetLogsResponse extends AcsResponse { - - private Boolean success; - - private Integer code; - - private String message; - - private String requestId; - - private Data data; - - public Boolean getSuccess() { - return this.success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public Integer getCode() { - return this.code; - } - - public void setCode(Integer code) { - this.code = code; - } - - public String getMessage() { - return this.message; - } - - public void setMessage(String message) { - this.message = message; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private PageInfo pageInfo; - - private ResponseData responseData; - - public PageInfo getPageInfo() { - return this.pageInfo; - } - - public void setPageInfo(PageInfo pageInfo) { - this.pageInfo = pageInfo; - } - - public ResponseData getResponseData() { - return this.responseData; - } - - public void setResponseData(ResponseData responseData) { - this.responseData = responseData; - } - - public static class PageInfo { - - private Integer currentPage; - - private Integer pageSize; - - private Long totalCount; - - public Integer getCurrentPage() { - return this.currentPage; - } - - public void setCurrentPage(Integer currentPage) { - this.currentPage = currentPage; - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - } - - public Long getTotalCount() { - return this.totalCount; - } - - public void setTotalCount(Long totalCount) { - this.totalCount = totalCount; - } - } - - public static class ResponseData { - - private Boolean completeOrNot; - - private Integer count; - - private Long cost; - - private Boolean hasSql; - - private List keys; - - private List lines; - - public Boolean getCompleteOrNot() { - return this.completeOrNot; - } - - public void setCompleteOrNot(Boolean completeOrNot) { - this.completeOrNot = completeOrNot; - } - - public Integer getCount() { - return this.count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public Long getCost() { - return this.cost; - } - - public void setCost(Long cost) { - this.cost = cost; - } - - public Boolean getHasSql() { - return this.hasSql; - } - - public void setHasSql(Boolean hasSql) { - this.hasSql = hasSql; - } - - public List getKeys() { - return this.keys; - } - - public void setKeys(List keys) { - this.keys = keys; - } - - public List getLines() { - return this.lines; - } - - public void setLines(List lines) { - this.lines = lines; - } - } - } - - @Override - public GetLogsResponse getInstance(UnmarshallerContext context) { - return GetLogsResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetQuickQueryRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetQuickQueryRequest.java deleted file mode 100644 index 2255505f02..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetQuickQueryRequest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class GetQuickQueryRequest extends RpcAcsRequest { - - - private String searchName; - public GetQuickQueryRequest() { - super("cloud-siem", "2022-06-16", "GetQuickQuery", "cloud-siem"); - setMethod(MethodType.POST); - } - - public String getSearchName() { - return this.searchName; - } - - public void setSearchName(String searchName) { - this.searchName = searchName; - if(searchName != null){ - putBodyParameter("SearchName", searchName); - } - } - - @Override - public Class getResponseClass() { - return GetQuickQueryResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetQuickQueryResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetQuickQueryResponse.java deleted file mode 100644 index dc82011f51..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetQuickQueryResponse.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.GetQuickQueryResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class GetQuickQueryResponse extends AcsResponse { - - private String data; - - private String requestId; - - public String getData() { - return this.data; - } - - public void setData(String data) { - this.data = data; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - @Override - public GetQuickQueryResponse getInstance(UnmarshallerContext context) { - return GetQuickQueryResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDisposeStrategyRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDisposeStrategyRequest.java index a83cc03b79..4f10e616ce 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDisposeStrategyRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDisposeStrategyRequest.java @@ -52,7 +52,9 @@ public class ListDisposeStrategyRequest extends RpcAcsRequest { + + + private Long roleFor; + + private String malwareType; + + private String entityName; + + private Integer pageSize; + + private Integer roleType; + + private Integer currentPage; + + private String isMalwareEntity; + + private String entityType; + + private String entityUuid; + + private String incidentUuid; + public ListEntitiesRequest() { + super("cloud-siem", "2022-06-16", "ListEntities", "cloud-siem"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getRoleFor() { + return this.roleFor; + } + + public void setRoleFor(Long roleFor) { + this.roleFor = roleFor; + if(roleFor != null){ + putBodyParameter("RoleFor", roleFor.toString()); + } + } + + public String getMalwareType() { + return this.malwareType; + } + + public void setMalwareType(String malwareType) { + this.malwareType = malwareType; + if(malwareType != null){ + putBodyParameter("MalwareType", malwareType); + } + } + + public String getEntityName() { + return this.entityName; + } + + public void setEntityName(String entityName) { + this.entityName = entityName; + if(entityName != null){ + putBodyParameter("EntityName", entityName); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putBodyParameter("PageSize", pageSize.toString()); + } + } + + public Integer getRoleType() { + return this.roleType; + } + + public void setRoleType(Integer roleType) { + this.roleType = roleType; + if(roleType != null){ + putBodyParameter("RoleType", roleType.toString()); + } + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putBodyParameter("CurrentPage", currentPage.toString()); + } + } + + public String getIsMalwareEntity() { + return this.isMalwareEntity; + } + + public void setIsMalwareEntity(String isMalwareEntity) { + this.isMalwareEntity = isMalwareEntity; + if(isMalwareEntity != null){ + putBodyParameter("IsMalwareEntity", isMalwareEntity); + } + } + + public String getEntityType() { + return this.entityType; + } + + public void setEntityType(String entityType) { + this.entityType = entityType; + if(entityType != null){ + putBodyParameter("EntityType", entityType); + } + } + + public String getEntityUuid() { + return this.entityUuid; + } + + public void setEntityUuid(String entityUuid) { + this.entityUuid = entityUuid; + if(entityUuid != null){ + putBodyParameter("EntityUuid", entityUuid); + } + } + + public String getIncidentUuid() { + return this.incidentUuid; + } + + public void setIncidentUuid(String incidentUuid) { + this.incidentUuid = incidentUuid; + if(incidentUuid != null){ + putBodyParameter("IncidentUuid", incidentUuid); + } + } + + @Override + public Class getResponseClass() { + return ListEntitiesResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListEntitiesResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListEntitiesResponse.java new file mode 100644 index 0000000000..d3d42ba1c5 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListEntitiesResponse.java @@ -0,0 +1,306 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloud_siem.model.v20220616; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloud_siem.transform.v20220616.ListEntitiesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListEntitiesResponse extends AcsResponse { + + private Boolean success; + + private Integer code; + + private String message; + + private String requestId; + + private Data data; + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private List responseData; + + private PageInfo pageInfo; + + public List getResponseData() { + return this.responseData; + } + + public void setResponseData(List responseData) { + this.responseData = responseData; + } + + public PageInfo getPageInfo() { + return this.pageInfo; + } + + public void setPageInfo(PageInfo pageInfo) { + this.pageInfo = pageInfo; + } + + public static class ResponseDataItem { + + private Long id; + + private String gmtCreate; + + private String gmtModified; + + private Long aliuid; + + private String incidentUuid; + + private String alertUuid; + + private Integer alertNum; + + private Integer eventNum; + + private String cloudCode; + + private String entityType; + + private String entityName; + + private String entityInfo; + + private Long subUserId; + + private String entityId; + + private String entityUuid; + + private String malwareType; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public Long getAliuid() { + return this.aliuid; + } + + public void setAliuid(Long aliuid) { + this.aliuid = aliuid; + } + + public String getIncidentUuid() { + return this.incidentUuid; + } + + public void setIncidentUuid(String incidentUuid) { + this.incidentUuid = incidentUuid; + } + + public String getAlertUuid() { + return this.alertUuid; + } + + public void setAlertUuid(String alertUuid) { + this.alertUuid = alertUuid; + } + + public Integer getAlertNum() { + return this.alertNum; + } + + public void setAlertNum(Integer alertNum) { + this.alertNum = alertNum; + } + + public Integer getEventNum() { + return this.eventNum; + } + + public void setEventNum(Integer eventNum) { + this.eventNum = eventNum; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public String getEntityType() { + return this.entityType; + } + + public void setEntityType(String entityType) { + this.entityType = entityType; + } + + public String getEntityName() { + return this.entityName; + } + + public void setEntityName(String entityName) { + this.entityName = entityName; + } + + public String getEntityInfo() { + return this.entityInfo; + } + + public void setEntityInfo(String entityInfo) { + this.entityInfo = entityInfo; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getEntityId() { + return this.entityId; + } + + public void setEntityId(String entityId) { + this.entityId = entityId; + } + + public String getEntityUuid() { + return this.entityUuid; + } + + public void setEntityUuid(String entityUuid) { + this.entityUuid = entityUuid; + } + + public String getMalwareType() { + return this.malwareType; + } + + public void setMalwareType(String malwareType) { + this.malwareType = malwareType; + } + } + + public static class PageInfo { + + private Integer currentPage; + + private Integer pageSize; + + private Long totalCount; + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Long getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + } + } + + @Override + public ListEntitiesResponse getInstance(UnmarshallerContext context) { + return ListEntitiesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListOperationRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListOperationRequest.java deleted file mode 100644 index 482f8eb0fe..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListOperationRequest.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class ListOperationRequest extends RpcAcsRequest { - - public ListOperationRequest() { - super("cloud-siem", "2022-06-16", "ListOperation", "cloud-siem"); - setMethod(MethodType.POST); - } - - @Override - public Class getResponseClass() { - return ListOperationResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListOperationResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListOperationResponse.java deleted file mode 100644 index d65ba38881..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListOperationResponse.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.ListOperationResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListOperationResponse extends AcsResponse { - - private String requestId; - - private Data data; - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private Boolean adminOrNot; - - private List operationList; - - public Boolean getAdminOrNot() { - return this.adminOrNot; - } - - public void setAdminOrNot(Boolean adminOrNot) { - this.adminOrNot = adminOrNot; - } - - public List getOperationList() { - return this.operationList; - } - - public void setOperationList(List operationList) { - this.operationList = operationList; - } - } - - @Override - public ListOperationResponse getInstance(UnmarshallerContext context) { - return ListOperationResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListQuickQueryRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListQuickQueryRequest.java deleted file mode 100644 index 0b4979c318..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListQuickQueryRequest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class ListQuickQueryRequest extends RpcAcsRequest { - - - private Integer pageSize; - - private Integer offset; - public ListQuickQueryRequest() { - super("cloud-siem", "2022-06-16", "ListQuickQuery", "cloud-siem"); - setMethod(MethodType.POST); - } - - public Integer getPageSize() { - return this.pageSize; - } - - public void setPageSize(Integer pageSize) { - this.pageSize = pageSize; - if(pageSize != null){ - putBodyParameter("PageSize", pageSize.toString()); - } - } - - public Integer getOffset() { - return this.offset; - } - - public void setOffset(Integer offset) { - this.offset = offset; - if(offset != null){ - putBodyParameter("Offset", offset.toString()); - } - } - - @Override - public Class getResponseClass() { - return ListQuickQueryResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListQuickQueryResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListQuickQueryResponse.java deleted file mode 100644 index 15103022d0..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListQuickQueryResponse.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.ListQuickQueryResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ListQuickQueryResponse extends AcsResponse { - - private String requestId; - - private Data data; - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private Integer total; - - private Integer count; - - private List quickQueryList; - - public Integer getTotal() { - return this.total; - } - - public void setTotal(Integer total) { - this.total = total; - } - - public Integer getCount() { - return this.count; - } - - public void setCount(Integer count) { - this.count = count; - } - - public List getQuickQueryList() { - return this.quickQueryList; - } - - public void setQuickQueryList(List quickQueryList) { - this.quickQueryList = quickQueryList; - } - - public static class QuickQueryListItem { - - private String query; - - private String searchName; - - private String displayName; - - public String getQuery() { - return this.query; - } - - public void setQuery(String query) { - this.query = query; - } - - public String getSearchName() { - return this.searchName; - } - - public void setSearchName(String searchName) { - this.searchName = searchName; - } - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - } - } - - @Override - public ListQuickQueryResponse getInstance(UnmarshallerContext context) { - return ListQuickQueryResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/PostEventDisposeAndWhiteruleListRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/PostEventDisposeAndWhiteruleListRequest.java index db4a55cdc4..d8d49035dd 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/PostEventDisposeAndWhiteruleListRequest.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/PostEventDisposeAndWhiteruleListRequest.java @@ -34,6 +34,8 @@ public class PostEventDisposeAndWhiteruleListRequest extends RpcAcsRequest { - - - private String query; - - private String displayName; - public SaveQuickQueryRequest() { - super("cloud-siem", "2022-06-16", "SaveQuickQuery", "cloud-siem"); - setMethod(MethodType.POST); - } - - public String getQuery() { - return this.query; - } - - public void setQuery(String query) { - this.query = query; - if(query != null){ - putBodyParameter("Query", query); - } - } - - public String getDisplayName() { - return this.displayName; - } - - public void setDisplayName(String displayName) { - this.displayName = displayName; - if(displayName != null){ - putBodyParameter("DisplayName", displayName); - } - } - - @Override - public Class getResponseClass() { - return SaveQuickQueryResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SaveQuickQueryResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SaveQuickQueryResponse.java deleted file mode 100644 index 44a73868f8..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SaveQuickQueryResponse.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.SaveQuickQueryResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class SaveQuickQueryResponse extends AcsResponse { - - private Boolean data; - - private String requestId; - - public Boolean getData() { - return this.data; - } - - public void setData(Boolean data) { - this.data = data; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - @Override - public SaveQuickQueryResponse getInstance(UnmarshallerContext context) { - return SaveQuickQueryResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ShowQuickAnalysisRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ShowQuickAnalysisRequest.java deleted file mode 100644 index eee9d7e43a..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ShowQuickAnalysisRequest.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class ShowQuickAnalysisRequest extends RpcAcsRequest { - - public ShowQuickAnalysisRequest() { - super("cloud-siem", "2022-06-16", "ShowQuickAnalysis", "cloud-siem"); - setMethod(MethodType.POST); - } - - @Override - public Class getResponseClass() { - return ShowQuickAnalysisResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ShowQuickAnalysisResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ShowQuickAnalysisResponse.java deleted file mode 100644 index f7ea638456..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ShowQuickAnalysisResponse.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import java.util.List; -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.ShowQuickAnalysisResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class ShowQuickAnalysisResponse extends AcsResponse { - - private String requestId; - - private Data data; - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - public Data getData() { - return this.data; - } - - public void setData(Data data) { - this.data = data; - } - - public static class Data { - - private List indexList; - - public List getIndexList() { - return this.indexList; - } - - public void setIndexList(List indexList) { - this.indexList = indexList; - } - } - - @Override - public ShowQuickAnalysisResponse getInstance(UnmarshallerContext context) { - return ShowQuickAnalysisResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsRequest.java deleted file mode 100644 index 1095acfb79..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsRequest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.RpcAcsRequest; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class SubmitJobsRequest extends RpcAcsRequest { - - - private String jsonParam; - public SubmitJobsRequest() { - super("cloud-siem", "2022-06-16", "SubmitJobs", "cloud-siem"); - setMethod(MethodType.POST); - } - - public String getJsonParam() { - return this.jsonParam; - } - - public void setJsonParam(String jsonParam) { - this.jsonParam = jsonParam; - if(jsonParam != null){ - putBodyParameter("JsonParam", jsonParam); - } - } - - @Override - public Class getResponseClass() { - return SubmitJobsResponse.class; - } - -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsResponse.java deleted file mode 100644 index 9ebd93f178..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsResponse.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.model.v20220616; - -import com.aliyuncs.AcsResponse; -import com.aliyuncs.cloud_siem.transform.v20220616.SubmitJobsResponseUnmarshaller; -import com.aliyuncs.transform.UnmarshallerContext; - -/** - * @author auto create - * @version - */ -public class SubmitJobsResponse extends AcsResponse { - - private Integer data; - - private String requestId; - - public Integer getData() { - return this.data; - } - - public void setData(Integer data) { - this.data = data; - } - - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } - - @Override - public SubmitJobsResponse getInstance(UnmarshallerContext context) { - return SubmitJobsResponseUnmarshaller.unmarshall(this, context); - } - - @Override - public boolean checkShowJsonItemName() { - return false; - } -} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserResponseUnmarshaller.java deleted file mode 100644 index 46e06af1f1..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserResponseUnmarshaller.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.AddUserResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class AddUserResponseUnmarshaller { - - public static AddUserResponse unmarshall(AddUserResponse addUserResponse, UnmarshallerContext _ctx) { - - addUserResponse.setRequestId(_ctx.stringValue("AddUserResponse.RequestId")); - addUserResponse.setData(_ctx.booleanValue("AddUserResponse.Data")); - - return addUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/BatchJobSubmitResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/BatchJobSubmitResponseUnmarshaller.java deleted file mode 100644 index d4ad3fe2ca..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/BatchJobSubmitResponseUnmarshaller.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.BatchJobSubmitResponse; -import com.aliyuncs.cloud_siem.model.v20220616.BatchJobSubmitResponse.Data; -import com.aliyuncs.cloud_siem.model.v20220616.BatchJobSubmitResponse.Data.ConfigListItem; -import com.aliyuncs.cloud_siem.model.v20220616.BatchJobSubmitResponse.Data.ConfigListItem.ProductListItem; -import com.aliyuncs.cloud_siem.model.v20220616.BatchJobSubmitResponse.Data.ConfigListItem.ProductListItem.LogListItem; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class BatchJobSubmitResponseUnmarshaller { - - public static BatchJobSubmitResponse unmarshall(BatchJobSubmitResponse batchJobSubmitResponse, UnmarshallerContext _ctx) { - - batchJobSubmitResponse.setRequestId(_ctx.stringValue("BatchJobSubmitResponse.RequestId")); - batchJobSubmitResponse.setSuccess(_ctx.booleanValue("BatchJobSubmitResponse.Success")); - batchJobSubmitResponse.setCode(_ctx.integerValue("BatchJobSubmitResponse.Code")); - batchJobSubmitResponse.setMessage(_ctx.stringValue("BatchJobSubmitResponse.Message")); - batchJobSubmitResponse.setErrCode(_ctx.stringValue("BatchJobSubmitResponse.ErrCode")); - - Data data = new Data(); - data.setSubmitId(_ctx.stringValue("BatchJobSubmitResponse.Data.SubmitId")); - data.setTaskCount(_ctx.integerValue("BatchJobSubmitResponse.Data.TaskCount")); - data.setConfigId(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigId")); - - List configList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("BatchJobSubmitResponse.Data.ConfigList.Length"); i++) { - ConfigListItem configListItem = new ConfigListItem(); - configListItem.setUserId(_ctx.longValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].UserId")); - - List productList = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList.Length"); j++) { - ProductListItem productListItem = new ProductListItem(); - productListItem.setProductCode(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].ProductCode")); - - List logList = new ArrayList(); - for (int k = 0; k < _ctx.lengthValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].LogList.Length"); k++) { - LogListItem logListItem = new LogListItem(); - logListItem.setProductCode(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].LogList["+ k +"].ProductCode")); - logListItem.setLogCode(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].LogList["+ k +"].LogCode")); - logListItem.setRegionCode(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].LogList["+ k +"].RegionCode")); - logListItem.setProjectNamePattern(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].LogList["+ k +"].ProjectNamePattern")); - logListItem.setLogStoreNamePattern(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].LogList["+ k +"].LogStoreNamePattern")); - logListItem.setErrorCode(_ctx.stringValue("BatchJobSubmitResponse.Data.ConfigList["+ i +"].ProductList["+ j +"].LogList["+ k +"].ErrorCode")); - - logList.add(logListItem); - } - productListItem.setLogList(logList); - - productList.add(productListItem); - } - configListItem.setProductList(productList); - - configList.add(configListItem); - } - data.setConfigList(configList); - batchJobSubmitResponse.setData(data); - - return batchJobSubmitResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteUserResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteUserResponseUnmarshaller.java deleted file mode 100644 index 823494fb2c..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteUserResponseUnmarshaller.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.DeleteUserResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DeleteUserResponseUnmarshaller { - - public static DeleteUserResponse unmarshall(DeleteUserResponse deleteUserResponse, UnmarshallerContext _ctx) { - - deleteUserResponse.setRequestId(_ctx.stringValue("DeleteUserResponse.RequestId")); - deleteUserResponse.setData(_ctx.booleanValue("DeleteUserResponse.Data")); - - return deleteUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsCountResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsCountResponseUnmarshaller.java index 51f8438935..a522eac7bf 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsCountResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsCountResponseUnmarshaller.java @@ -15,7 +15,8 @@ package com.aliyuncs.cloud_siem.transform.v20220616; import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsCountResponse; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsCountResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsCountResponse.Data; +import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; @@ -34,6 +35,7 @@ public static DescribeAlertsCountResponse unmarshall(DescribeAlertsCountResponse data.setLow(_ctx.longValue("DescribeAlertsCountResponse.Data.Low")); data.setAll(_ctx.longValue("DescribeAlertsCountResponse.Data.All")); data.setProductNum(_ctx.integerValue("DescribeAlertsCountResponse.Data.ProductNum")); + data.setCountMap(_ctx.mapValue("DescribeAlertsCountResponse.Data.CountMap")); describeAlertsCountResponse.setData(data); return describeAlertsCountResponse; diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsResponseUnmarshaller.java index 4ee6c01cd9..9061b502f7 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsResponseUnmarshaller.java @@ -72,8 +72,10 @@ public static DescribeAlertsResponse unmarshall(DescribeAlertsResponse describeA responseDataItem.setAlertDescCode(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertDescCode")); responseDataItem.setAlertDetail(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertDetail")); responseDataItem.setLogUuid(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].LogUuid")); + responseDataItem.setEntityList(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].EntityList")); responseDataItem.setAttCk(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AttCk")); responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].SubUserId")); + responseDataItem.setSubUserName(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].SubUserName")); responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].CloudCode")); responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].IsDefend")); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEntityResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEntityResponseUnmarshaller.java index c5642567d4..967429349f 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEntityResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEntityResponseUnmarshaller.java @@ -72,8 +72,10 @@ public static DescribeAlertsWithEntityResponse unmarshall(DescribeAlertsWithEnti responseDataItem.setAlertDescCode(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertDescCode")); responseDataItem.setAlertDetail(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertDetail")); responseDataItem.setLogUuid(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].LogUuid")); + responseDataItem.setEntityList(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].EntityList")); responseDataItem.setAttCk(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AttCk")); responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].SubUserId")); + responseDataItem.setSubUserName(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].SubUserName")); responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].CloudCode")); responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].IsDefend")); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEventResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEventResponseUnmarshaller.java index a01c17f5c9..2185264f80 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEventResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEventResponseUnmarshaller.java @@ -75,6 +75,7 @@ public static DescribeAlertsWithEventResponse unmarshall(DescribeAlertsWithEvent responseDataItem.setEntityList(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].EntityList")); responseDataItem.setAttCk(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AttCk")); responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].SubUserId")); + responseDataItem.setSubUserName(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].SubUserName")); responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].CloudCode")); responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].IsDefend")); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAttackTimeLineResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAttackTimeLineResponseUnmarshaller.java deleted file mode 100644 index 5e35b7dc9c..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAttackTimeLineResponseUnmarshaller.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.DescribeAttackTimeLineResponse; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeAttackTimeLineResponse.DataItem; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DescribeAttackTimeLineResponseUnmarshaller { - - public static DescribeAttackTimeLineResponse unmarshall(DescribeAttackTimeLineResponse describeAttackTimeLineResponse, UnmarshallerContext _ctx) { - - describeAttackTimeLineResponse.setRequestId(_ctx.stringValue("DescribeAttackTimeLineResponse.RequestId")); - describeAttackTimeLineResponse.setSuccess(_ctx.booleanValue("DescribeAttackTimeLineResponse.Success")); - describeAttackTimeLineResponse.setCode(_ctx.integerValue("DescribeAttackTimeLineResponse.Code")); - describeAttackTimeLineResponse.setMessage(_ctx.stringValue("DescribeAttackTimeLineResponse.Message")); - - List data = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("DescribeAttackTimeLineResponse.Data.Length"); i++) { - DataItem dataItem = new DataItem(); - dataItem.setAssetName(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AssetName")); - dataItem.setAlertTime(_ctx.longValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertTime")); - dataItem.setAssetId(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AssetId")); - dataItem.setIncidentUuid(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].IncidentUuid")); - dataItem.setAlertUuid(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertUuid")); - dataItem.setLogTime(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].LogTime")); - dataItem.setAlertSrcProd(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertSrcProd")); - dataItem.setAlertTitle(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertTitle")); - dataItem.setAlertLevel(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertLevel")); - dataItem.setAssetList(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AssetList")); - dataItem.setAlertSrcProdModule(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertSrcProdModule")); - dataItem.setAttCk(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AttCk")); - dataItem.setCloudCode(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].CloudCode")); - dataItem.setAlertTitleEn(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertTitleEn")); - dataItem.setAlertType(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertType")); - dataItem.setAlertTypeEn(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertTypeEn")); - dataItem.setAlertTypeCode(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertTypeCode")); - dataItem.setAlertName(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertName")); - dataItem.setAlertNameEn(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertNameEn")); - dataItem.setAlertNameCode(_ctx.stringValue("DescribeAttackTimeLineResponse.Data["+ i +"].AlertNameCode")); - - data.add(dataItem); - } - describeAttackTimeLineResponse.setData(data); - - return describeAttackTimeLineResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventDetailResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventDetailResponseUnmarshaller.java index 3fe790f5ed..8797aef0a2 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventDetailResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventDetailResponseUnmarshaller.java @@ -18,7 +18,8 @@ import java.util.List; import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventDetailResponse; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventDetailResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventDetailResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventDetailResponse.Data.AttckStage; import com.aliyuncs.transform.UnmarshallerContext; @@ -47,6 +48,8 @@ public static DescribeCloudSiemEventDetailResponse unmarshall(DescribeCloudSiemE data.setExtContent(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.ExtContent")); data.setStatus(_ctx.integerValue("DescribeCloudSiemEventDetailResponse.Data.Status")); data.setReferAccount(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.ReferAccount")); + data.setIncidentType(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.IncidentType")); + data.setRuleId(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.RuleId")); data.setRemark(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.Remark")); List dataSources = new ArrayList(); @@ -60,6 +63,17 @@ public static DescribeCloudSiemEventDetailResponse unmarshall(DescribeCloudSiemE attCkLabels.add(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.AttCkLabels["+ i +"]")); } data.setAttCkLabels(attCkLabels); + + List attckStages = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages.Length"); i++) { + AttckStage attckStage = new AttckStage(); + attckStage.setTacticId(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages["+ i +"].TacticId")); + attckStage.setTacticName(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages["+ i +"].TacticName")); + attckStage.setAlertNum(_ctx.integerValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages["+ i +"].AlertNum")); + + attckStages.add(attckStage); + } + data.setAttckStages(attckStages); describeCloudSiemEventDetailResponse.setData(data); return describeCloudSiemEventDetailResponse; diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventsResponseUnmarshaller.java index dff03893a0..622bd08e59 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventsResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventsResponseUnmarshaller.java @@ -20,7 +20,8 @@ import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse; import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data; import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data.PageInfo; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data.ResponseDataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data.ResponseDataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data.ResponseDataItem.AttckStage; import com.aliyuncs.transform.UnmarshallerContext; @@ -59,6 +60,8 @@ public static DescribeCloudSiemEventsResponse unmarshall(DescribeCloudSiemEvents responseDataItem.setExtContent(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].ExtContent")); responseDataItem.setStatus(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].Status")); responseDataItem.setReferAccount(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].ReferAccount")); + responseDataItem.setIncidentType(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].IncidentType")); + responseDataItem.setRuleId(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].RuleId")); responseDataItem.setRemark(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].Remark")); List dataSources = new ArrayList(); @@ -73,6 +76,17 @@ public static DescribeCloudSiemEventsResponse unmarshall(DescribeCloudSiemEvents } responseDataItem.setAttCkLabels(attCkLabels); + List attckStages = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages.Length"); j++) { + AttckStage attckStage = new AttckStage(); + attckStage.setTacticId(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages["+ j +"].TacticId")); + attckStage.setTacticName(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages["+ j +"].TacticName")); + attckStage.setAlertNum(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages["+ j +"].AlertNum")); + + attckStages.add(attckStage); + } + responseDataItem.setAttckStages(attckStages); + responseData.add(responseDataItem); } data.setResponseData(responseData); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCsImportedProdStatusByUserResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCsImportedProdStatusByUserResponseUnmarshaller.java deleted file mode 100644 index 01c19e9aa7..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCsImportedProdStatusByUserResponseUnmarshaller.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.DescribeCsImportedProdStatusByUserResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DescribeCsImportedProdStatusByUserResponseUnmarshaller { - - public static DescribeCsImportedProdStatusByUserResponse unmarshall(DescribeCsImportedProdStatusByUserResponse describeCsImportedProdStatusByUserResponse, UnmarshallerContext _ctx) { - - describeCsImportedProdStatusByUserResponse.setRequestId(_ctx.stringValue("DescribeCsImportedProdStatusByUserResponse.RequestId")); - describeCsImportedProdStatusByUserResponse.setData(_ctx.booleanValue("DescribeCsImportedProdStatusByUserResponse.Data")); - - return describeCsImportedProdStatusByUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDisposeAndPlaybookResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDisposeAndPlaybookResponseUnmarshaller.java index 42ee10a11f..e190ccab94 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDisposeAndPlaybookResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDisposeAndPlaybookResponseUnmarshaller.java @@ -47,6 +47,7 @@ public static DescribeDisposeAndPlaybookResponse unmarshall(DescribeDisposeAndPl for (int i = 0; i < _ctx.lengthValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData.Length"); i++) { ResponseDataItem responseDataItem = new ResponseDataItem(); responseDataItem.setEntityId(_ctx.longValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].EntityId")); + responseDataItem.setEntityType(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].EntityType")); responseDataItem.setOpcodeMap(_ctx.mapValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].OpcodeMap")); responseDataItem.setEntityInfo(_ctx.mapValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].EntityInfo")); responseDataItem.setDispose(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].Dispose")); @@ -73,7 +74,9 @@ public static DescribeDisposeAndPlaybookResponse unmarshall(DescribeDisposeAndPl playbookListItem.setDisplayName(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].DisplayName")); playbookListItem.setTaskConfig(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].TaskConfig")); playbookListItem.setName(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].Name")); + playbookListItem.setUuid(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].Uuid")); playbookListItem.setWafPlaybook(_ctx.booleanValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].WafPlaybook")); + playbookListItem.setAvailable(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].Available")); List paramConfig = new ArrayList(); for (int k = 0; k < _ctx.lengthValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].ParamConfig.Length"); k++) { diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeJobStatusResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeJobStatusResponseUnmarshaller.java deleted file mode 100644 index 4981e5af81..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeJobStatusResponseUnmarshaller.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.DescribeJobStatusResponse; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeJobStatusResponse.Data; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeJobStatusResponse.Data.ErrTaskListItem; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeJobStatusResponse.Data.ErrTaskListItem.ProductListItem; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeJobStatusResponse.Data.ErrTaskListItem.ProductListItem.LogListItem; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DescribeJobStatusResponseUnmarshaller { - - public static DescribeJobStatusResponse unmarshall(DescribeJobStatusResponse describeJobStatusResponse, UnmarshallerContext _ctx) { - - describeJobStatusResponse.setRequestId(_ctx.stringValue("DescribeJobStatusResponse.RequestId")); - describeJobStatusResponse.setSuccess(_ctx.booleanValue("DescribeJobStatusResponse.Success")); - describeJobStatusResponse.setCode(_ctx.integerValue("DescribeJobStatusResponse.Code")); - describeJobStatusResponse.setMessage(_ctx.stringValue("DescribeJobStatusResponse.Message")); - describeJobStatusResponse.setErrCode(_ctx.stringValue("DescribeJobStatusResponse.ErrCode")); - - Data data = new Data(); - data.setTaskCount(_ctx.integerValue("DescribeJobStatusResponse.Data.TaskCount")); - data.setFinishCount(_ctx.integerValue("DescribeJobStatusResponse.Data.FinishCount")); - data.setFailedCount(_ctx.integerValue("DescribeJobStatusResponse.Data.FailedCount")); - data.setTaskStatus(_ctx.stringValue("DescribeJobStatusResponse.Data.TaskStatus")); - data.setConfigId(_ctx.stringValue("DescribeJobStatusResponse.Data.ConfigId")); - data.setFolderId(_ctx.stringValue("DescribeJobStatusResponse.Data.FolderId")); - - List errTaskList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("DescribeJobStatusResponse.Data.ErrTaskList.Length"); i++) { - ErrTaskListItem errTaskListItem = new ErrTaskListItem(); - errTaskListItem.setUserId(_ctx.longValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].UserId")); - - List productList = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList.Length"); j++) { - ProductListItem productListItem = new ProductListItem(); - productListItem.setProductCode(_ctx.stringValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].ProductCode")); - - List logList = new ArrayList(); - for (int k = 0; k < _ctx.lengthValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].LogList.Length"); k++) { - LogListItem logListItem = new LogListItem(); - logListItem.setProductCode(_ctx.stringValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].LogList["+ k +"].ProductCode")); - logListItem.setLogCode(_ctx.stringValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].LogList["+ k +"].LogCode")); - logListItem.setRegionCode(_ctx.stringValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].LogList["+ k +"].RegionCode")); - logListItem.setProjectNamePattern(_ctx.stringValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].LogList["+ k +"].ProjectNamePattern")); - logListItem.setLogStoreNamePattern(_ctx.stringValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].LogList["+ k +"].LogStoreNamePattern")); - logListItem.setErrorCode(_ctx.stringValue("DescribeJobStatusResponse.Data.ErrTaskList["+ i +"].ProductList["+ j +"].LogList["+ k +"].ErrorCode")); - - logList.add(logListItem); - } - productListItem.setLogList(logList); - - productList.add(productListItem); - } - errTaskListItem.setProductList(productList); - - errTaskList.add(errTaskListItem); - } - data.setErrTaskList(errTaskList); - describeJobStatusResponse.setData(data); - - return describeJobStatusResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeLogStoreResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeLogStoreResponseUnmarshaller.java deleted file mode 100644 index c68904043b..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeLogStoreResponseUnmarshaller.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.DescribeLogStoreResponse; -import com.aliyuncs.cloud_siem.model.v20220616.DescribeLogStoreResponse.Data; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DescribeLogStoreResponseUnmarshaller { - - public static DescribeLogStoreResponse unmarshall(DescribeLogStoreResponse describeLogStoreResponse, UnmarshallerContext _ctx) { - - describeLogStoreResponse.setRequestId(_ctx.stringValue("DescribeLogStoreResponse.RequestId")); - - Data data = new Data(); - data.setLogStoreName(_ctx.stringValue("DescribeLogStoreResponse.Data.LogStoreName")); - data.setTtl(_ctx.integerValue("DescribeLogStoreResponse.Data.Ttl")); - data.setShardCount(_ctx.integerValue("DescribeLogStoreResponse.Data.ShardCount")); - data.setEnableTracking(_ctx.booleanValue("DescribeLogStoreResponse.Data.EnableTracking")); - data.setAutoSplit(_ctx.booleanValue("DescribeLogStoreResponse.Data.AutoSplit")); - data.setMaxSplitShard(_ctx.integerValue("DescribeLogStoreResponse.Data.MaxSplitShard")); - data.setAppendMeta(_ctx.booleanValue("DescribeLogStoreResponse.Data.AppendMeta")); - describeLogStoreResponse.setData(data); - - return describeLogStoreResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeProdCountResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeProdCountResponseUnmarshaller.java index ef7fd62db3..16839aea35 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeProdCountResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeProdCountResponseUnmarshaller.java @@ -29,6 +29,11 @@ public static DescribeProdCountResponse unmarshall(DescribeProdCountResponse des data.setAliyunProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.AliyunProdCount")); data.setHcloudProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.HcloudProdCount")); data.setQcloudProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.QcloudProdCount")); + data.setIdcProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.IdcProdCount")); + data.setAliyunImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.AliyunImportedCount")); + data.setHcloudImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.HcloudImportedCount")); + data.setQcloudImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.QcloudImportedCount")); + data.setIdcImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.IdcImportedCount")); describeProdCountResponse.setData(data); return describeProdCountResponse; diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DoQuickFieldResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DoQuickFieldResponseUnmarshaller.java deleted file mode 100644 index bf3b2e54b4..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DoQuickFieldResponseUnmarshaller.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.DoQuickFieldResponse; -import com.aliyuncs.cloud_siem.model.v20220616.DoQuickFieldResponse.Data; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DoQuickFieldResponseUnmarshaller { - - public static DoQuickFieldResponse unmarshall(DoQuickFieldResponse doQuickFieldResponse, UnmarshallerContext _ctx) { - - doQuickFieldResponse.setRequestId(_ctx.stringValue("DoQuickFieldResponse.RequestId")); - - Data data = new Data(); - data.setQueryMode(_ctx.integerValue("DoQuickFieldResponse.Data.QueryMode")); - data.setLimited(_ctx.longValue("DoQuickFieldResponse.Data.Limited")); - data.setCount(_ctx.integerValue("DoQuickFieldResponse.Data.Count")); - data.setHasSQL(_ctx.booleanValue("DoQuickFieldResponse.Data.HasSQL")); - data.setWhereQuery(_ctx.stringValue("DoQuickFieldResponse.Data.WhereQuery")); - data.setPQuery(_ctx.stringValue("DoQuickFieldResponse.Data.PQuery")); - data.setProcessedRows(_ctx.longValue("DoQuickFieldResponse.Data.ProcessedRows")); - data.setCompleteOrNot(_ctx.booleanValue("DoQuickFieldResponse.Data.CompleteOrNot")); - data.setAggQueryd(_ctx.stringValue("DoQuickFieldResponse.Data.AggQueryd")); - - List keys = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("DoQuickFieldResponse.Data.Keys.Length"); i++) { - keys.add(_ctx.stringValue("DoQuickFieldResponse.Data.Keys["+ i +"]")); - } - data.setKeys(keys); - - List logs = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("DoQuickFieldResponse.Data.Logs.Length"); i++) { - logs.add(_ctx.stringValue("DoQuickFieldResponse.Data.Logs["+ i +"]")); - } - data.setLogs(logs); - doQuickFieldResponse.setData(data); - - return doQuickFieldResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DoSelfDelegateResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DoSelfDelegateResponseUnmarshaller.java deleted file mode 100644 index 3f2148f6b5..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DoSelfDelegateResponseUnmarshaller.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.DoSelfDelegateResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class DoSelfDelegateResponseUnmarshaller { - - public static DoSelfDelegateResponse unmarshall(DoSelfDelegateResponse doSelfDelegateResponse, UnmarshallerContext _ctx) { - - doSelfDelegateResponse.setRequestId(_ctx.stringValue("DoSelfDelegateResponse.RequestId")); - doSelfDelegateResponse.setData(_ctx.booleanValue("DoSelfDelegateResponse.Data")); - - return doSelfDelegateResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetHistogramsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetHistogramsResponseUnmarshaller.java deleted file mode 100644 index ad43196c70..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetHistogramsResponseUnmarshaller.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.GetHistogramsResponse; -import com.aliyuncs.cloud_siem.model.v20220616.GetHistogramsResponse.Data; -import com.aliyuncs.cloud_siem.model.v20220616.GetHistogramsResponse.Data.Histogram; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetHistogramsResponseUnmarshaller { - - public static GetHistogramsResponse unmarshall(GetHistogramsResponse getHistogramsResponse, UnmarshallerContext _ctx) { - - getHistogramsResponse.setRequestId(_ctx.stringValue("GetHistogramsResponse.RequestId")); - - Data data = new Data(); - data.setServer(_ctx.stringValue("GetHistogramsResponse.Data.Server")); - data.setTotalCount(_ctx.longValue("GetHistogramsResponse.Data.TotalCount")); - - List histograms = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetHistogramsResponse.Data.Histograms.Length"); i++) { - Histogram histogram = new Histogram(); - histogram.setFrom(_ctx.integerValue("GetHistogramsResponse.Data.Histograms["+ i +"].From")); - histogram.setTo(_ctx.integerValue("GetHistogramsResponse.Data.Histograms["+ i +"].To")); - histogram.setCount(_ctx.longValue("GetHistogramsResponse.Data.Histograms["+ i +"].Count")); - histogram.setCompletedOrNot(_ctx.booleanValue("GetHistogramsResponse.Data.Histograms["+ i +"].CompletedOrNot")); - - histograms.add(histogram); - } - data.setHistograms(histograms); - getHistogramsResponse.setData(data); - - return getHistogramsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetLogsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetLogsResponseUnmarshaller.java deleted file mode 100644 index c055119acb..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetLogsResponseUnmarshaller.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.GetLogsResponse; -import com.aliyuncs.cloud_siem.model.v20220616.GetLogsResponse.Data; -import com.aliyuncs.cloud_siem.model.v20220616.GetLogsResponse.Data.PageInfo; -import com.aliyuncs.cloud_siem.model.v20220616.GetLogsResponse.Data.ResponseData; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetLogsResponseUnmarshaller { - - public static GetLogsResponse unmarshall(GetLogsResponse getLogsResponse, UnmarshallerContext _ctx) { - - getLogsResponse.setRequestId(_ctx.stringValue("GetLogsResponse.RequestId")); - getLogsResponse.setSuccess(_ctx.booleanValue("GetLogsResponse.Success")); - getLogsResponse.setCode(_ctx.integerValue("GetLogsResponse.Code")); - getLogsResponse.setMessage(_ctx.stringValue("GetLogsResponse.Message")); - - Data data = new Data(); - - PageInfo pageInfo = new PageInfo(); - pageInfo.setCurrentPage(_ctx.integerValue("GetLogsResponse.Data.PageInfo.CurrentPage")); - pageInfo.setPageSize(_ctx.integerValue("GetLogsResponse.Data.PageInfo.PageSize")); - pageInfo.setTotalCount(_ctx.longValue("GetLogsResponse.Data.PageInfo.TotalCount")); - data.setPageInfo(pageInfo); - - ResponseData responseData = new ResponseData(); - responseData.setCompleteOrNot(_ctx.booleanValue("GetLogsResponse.Data.ResponseData.CompleteOrNot")); - responseData.setCount(_ctx.integerValue("GetLogsResponse.Data.ResponseData.Count")); - responseData.setCost(_ctx.longValue("GetLogsResponse.Data.ResponseData.Cost")); - responseData.setHasSql(_ctx.booleanValue("GetLogsResponse.Data.ResponseData.HasSql")); - - List keys = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetLogsResponse.Data.ResponseData.Keys.Length"); i++) { - keys.add(_ctx.stringValue("GetLogsResponse.Data.ResponseData.Keys["+ i +"]")); - } - responseData.setKeys(keys); - - List lines = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("GetLogsResponse.Data.ResponseData.Lines.Length"); i++) { - lines.add(_ctx.stringValue("GetLogsResponse.Data.ResponseData.Lines["+ i +"]")); - } - responseData.setLines(lines); - data.setResponseData(responseData); - getLogsResponse.setData(data); - - return getLogsResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetQuickQueryResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetQuickQueryResponseUnmarshaller.java deleted file mode 100644 index 8a30de801c..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetQuickQueryResponseUnmarshaller.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.GetQuickQueryResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class GetQuickQueryResponseUnmarshaller { - - public static GetQuickQueryResponse unmarshall(GetQuickQueryResponse getQuickQueryResponse, UnmarshallerContext _ctx) { - - getQuickQueryResponse.setRequestId(_ctx.stringValue("GetQuickQueryResponse.RequestId")); - getQuickQueryResponse.setData(_ctx.stringValue("GetQuickQueryResponse.Data")); - - return getQuickQueryResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDisposeStrategyResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDisposeStrategyResponseUnmarshaller.java index d89f048a89..d3d93c720a 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDisposeStrategyResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDisposeStrategyResponseUnmarshaller.java @@ -56,6 +56,7 @@ public static ListDisposeStrategyResponse unmarshall(ListDisposeStrategyResponse responseDataItem.setPlaybookName(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].PlaybookName")); responseDataItem.setPlaybookUuid(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].PlaybookUuid")); responseDataItem.setPlaybookType(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].PlaybookType")); + responseDataItem.setTaskUrl(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].TaskUrl")); responseDataItem.setEntityId(_ctx.longValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].EntityId")); responseDataItem.setEntityType(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].EntityType")); responseDataItem.setTaskParam(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].TaskParam")); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListEntitiesResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListEntitiesResponseUnmarshaller.java new file mode 100644 index 0000000000..30124b492e --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListEntitiesResponseUnmarshaller.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.cloud_siem.transform.v20220616; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.cloud_siem.model.v20220616.ListEntitiesResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListEntitiesResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.ListEntitiesResponse.Data.PageInfo; +import com.aliyuncs.cloud_siem.model.v20220616.ListEntitiesResponse.Data.ResponseDataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListEntitiesResponseUnmarshaller { + + public static ListEntitiesResponse unmarshall(ListEntitiesResponse listEntitiesResponse, UnmarshallerContext _ctx) { + + listEntitiesResponse.setRequestId(_ctx.stringValue("ListEntitiesResponse.RequestId")); + listEntitiesResponse.setSuccess(_ctx.booleanValue("ListEntitiesResponse.Success")); + listEntitiesResponse.setCode(_ctx.integerValue("ListEntitiesResponse.Code")); + listEntitiesResponse.setMessage(_ctx.stringValue("ListEntitiesResponse.Message")); + + Data data = new Data(); + + PageInfo pageInfo = new PageInfo(); + pageInfo.setCurrentPage(_ctx.integerValue("ListEntitiesResponse.Data.PageInfo.CurrentPage")); + pageInfo.setPageSize(_ctx.integerValue("ListEntitiesResponse.Data.PageInfo.PageSize")); + pageInfo.setTotalCount(_ctx.longValue("ListEntitiesResponse.Data.PageInfo.TotalCount")); + data.setPageInfo(pageInfo); + + List responseData = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListEntitiesResponse.Data.ResponseData.Length"); i++) { + ResponseDataItem responseDataItem = new ResponseDataItem(); + responseDataItem.setId(_ctx.longValue("ListEntitiesResponse.Data.ResponseData["+ i +"].Id")); + responseDataItem.setGmtCreate(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].GmtCreate")); + responseDataItem.setGmtModified(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].GmtModified")); + responseDataItem.setAliuid(_ctx.longValue("ListEntitiesResponse.Data.ResponseData["+ i +"].Aliuid")); + responseDataItem.setIncidentUuid(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].IncidentUuid")); + responseDataItem.setAlertUuid(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].AlertUuid")); + responseDataItem.setAlertNum(_ctx.integerValue("ListEntitiesResponse.Data.ResponseData["+ i +"].AlertNum")); + responseDataItem.setEventNum(_ctx.integerValue("ListEntitiesResponse.Data.ResponseData["+ i +"].EventNum")); + responseDataItem.setCloudCode(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].CloudCode")); + responseDataItem.setEntityType(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].EntityType")); + responseDataItem.setEntityName(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].EntityName")); + responseDataItem.setEntityInfo(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].EntityInfo")); + responseDataItem.setSubUserId(_ctx.longValue("ListEntitiesResponse.Data.ResponseData["+ i +"].SubUserId")); + responseDataItem.setEntityId(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].EntityId")); + responseDataItem.setEntityUuid(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].EntityUuid")); + responseDataItem.setMalwareType(_ctx.stringValue("ListEntitiesResponse.Data.ResponseData["+ i +"].MalwareType")); + + responseData.add(responseDataItem); + } + data.setResponseData(responseData); + listEntitiesResponse.setData(data); + + return listEntitiesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListOperationResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListOperationResponseUnmarshaller.java deleted file mode 100644 index fdb9f5b528..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListOperationResponseUnmarshaller.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.ListOperationResponse; -import com.aliyuncs.cloud_siem.model.v20220616.ListOperationResponse.Data; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListOperationResponseUnmarshaller { - - public static ListOperationResponse unmarshall(ListOperationResponse listOperationResponse, UnmarshallerContext _ctx) { - - listOperationResponse.setRequestId(_ctx.stringValue("ListOperationResponse.RequestId")); - - Data data = new Data(); - data.setAdminOrNot(_ctx.booleanValue("ListOperationResponse.Data.AdminOrNot")); - - List operationList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListOperationResponse.Data.OperationList.Length"); i++) { - operationList.add(_ctx.stringValue("ListOperationResponse.Data.OperationList["+ i +"]")); - } - data.setOperationList(operationList); - listOperationResponse.setData(data); - - return listOperationResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListQuickQueryResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListQuickQueryResponseUnmarshaller.java deleted file mode 100644 index 5b878d3bd5..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListQuickQueryResponseUnmarshaller.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.ListQuickQueryResponse; -import com.aliyuncs.cloud_siem.model.v20220616.ListQuickQueryResponse.Data; -import com.aliyuncs.cloud_siem.model.v20220616.ListQuickQueryResponse.Data.QuickQueryListItem; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListQuickQueryResponseUnmarshaller { - - public static ListQuickQueryResponse unmarshall(ListQuickQueryResponse listQuickQueryResponse, UnmarshallerContext _ctx) { - - listQuickQueryResponse.setRequestId(_ctx.stringValue("ListQuickQueryResponse.RequestId")); - - Data data = new Data(); - data.setTotal(_ctx.integerValue("ListQuickQueryResponse.Data.Total")); - data.setCount(_ctx.integerValue("ListQuickQueryResponse.Data.Count")); - - List quickQueryList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListQuickQueryResponse.Data.QuickQueryList.Length"); i++) { - QuickQueryListItem quickQueryListItem = new QuickQueryListItem(); - quickQueryListItem.setQuery(_ctx.stringValue("ListQuickQueryResponse.Data.QuickQueryList["+ i +"].Query")); - quickQueryListItem.setSearchName(_ctx.stringValue("ListQuickQueryResponse.Data.QuickQueryList["+ i +"].SearchName")); - quickQueryListItem.setDisplayName(_ctx.stringValue("ListQuickQueryResponse.Data.QuickQueryList["+ i +"].DisplayName")); - - quickQueryList.add(quickQueryListItem); - } - data.setQuickQueryList(quickQueryList); - listQuickQueryResponse.setData(data); - - return listQuickQueryResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SaveQuickQueryResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SaveQuickQueryResponseUnmarshaller.java deleted file mode 100644 index 2be280b6da..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SaveQuickQueryResponseUnmarshaller.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.SaveQuickQueryResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class SaveQuickQueryResponseUnmarshaller { - - public static SaveQuickQueryResponse unmarshall(SaveQuickQueryResponse saveQuickQueryResponse, UnmarshallerContext _ctx) { - - saveQuickQueryResponse.setRequestId(_ctx.stringValue("SaveQuickQueryResponse.RequestId")); - saveQuickQueryResponse.setData(_ctx.booleanValue("SaveQuickQueryResponse.Data")); - - return saveQuickQueryResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ShowQuickAnalysisResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ShowQuickAnalysisResponseUnmarshaller.java deleted file mode 100644 index 2989541ffd..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ShowQuickAnalysisResponseUnmarshaller.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.cloud_siem.model.v20220616.ShowQuickAnalysisResponse; -import com.aliyuncs.cloud_siem.model.v20220616.ShowQuickAnalysisResponse.Data; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ShowQuickAnalysisResponseUnmarshaller { - - public static ShowQuickAnalysisResponse unmarshall(ShowQuickAnalysisResponse showQuickAnalysisResponse, UnmarshallerContext _ctx) { - - showQuickAnalysisResponse.setRequestId(_ctx.stringValue("ShowQuickAnalysisResponse.RequestId")); - - Data data = new Data(); - - List indexList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ShowQuickAnalysisResponse.Data.IndexList.Length"); i++) { - indexList.add(_ctx.stringValue("ShowQuickAnalysisResponse.Data.IndexList["+ i +"]")); - } - data.setIndexList(indexList); - showQuickAnalysisResponse.setData(data); - - return showQuickAnalysisResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitJobsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitJobsResponseUnmarshaller.java deleted file mode 100644 index 8f923ee107..0000000000 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitJobsResponseUnmarshaller.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.aliyuncs.cloud_siem.transform.v20220616; - -import com.aliyuncs.cloud_siem.model.v20220616.SubmitJobsResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class SubmitJobsResponseUnmarshaller { - - public static SubmitJobsResponse unmarshall(SubmitJobsResponse submitJobsResponse, UnmarshallerContext _ctx) { - - submitJobsResponse.setRequestId(_ctx.stringValue("SubmitJobsResponse.RequestId")); - submitJobsResponse.setData(_ctx.integerValue("SubmitJobsResponse.Data")); - - return submitJobsResponse; - } -} \ No newline at end of file