From 263e2403f3d6ad1d83a74026c9f39e6adc2761e7 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 13 Dec 2023 11:14:30 +0000 Subject: [PATCH] Standardizing api. --- aliyun-java-sdk-cloud-siem/ChangeLog.txt | 3 + aliyun-java-sdk-cloud-siem/pom.xml | 2 +- .../v20220616/AddDataSourceLogRequest.java | 101 ++++ .../v20220616/AddDataSourceLogResponse.java | 79 +++ .../model/v20220616/AddDataSourceRequest.java | 114 ++++ .../v20220616/AddDataSourceResponse.java | 79 +++ .../model/v20220616/AddUserRequest.java | 49 ++ .../model/v20220616/AddUserResponse.java | 56 ++ .../AddUserSourceLogConfigRequest.java | 114 ++++ .../AddUserSourceLogConfigResponse.java | 139 +++++ .../model/v20220616/BindAccountRequest.java | 88 +++ .../model/v20220616/BindAccountResponse.java | 69 +++ .../v20220616/CloseDeliveryResponse.java | 60 --- .../v20220616/DeleteBindAccountRequest.java | 88 +++ .../v20220616/DeleteBindAccountResponse.java | 69 +++ .../v20220616/DeleteDataSourceLogRequest.java | 88 +++ .../DeleteDataSourceLogResponse.java | 79 +++ .../v20220616/DeleteDataSourceRequest.java | 75 +++ .../v20220616/DeleteDataSourceResponse.java | 69 +++ .../v20220616/DeleteQuickQueryResponse.java | 60 --- .../model/v20220616/DeleteUserRequest.java | 49 ++ .../model/v20220616/DeleteUserResponse.java | 56 ++ .../v20220616/DescribeAlertSceneRequest.java | 36 ++ .../v20220616/DescribeAlertSceneResponse.java | 203 +++++++ .../v20220616/DescribeAlertsRequest.java | 169 ++++++ .../v20220616/DescribeAlertsResponse.java | 499 ++++++++++++++++++ .../DescribeAlertsWithEntityRequest.java | 101 ++++ .../DescribeAlertsWithEntityResponse.java | 499 ++++++++++++++++++ .../DescribeAlertsWithEventRequest.java | 143 +++++ .../DescribeAlertsWithEventResponse.java | 499 ++++++++++++++++++ .../model/v20220616/DescribeAuthRequest.java | 36 ++ .../model/v20220616/DescribeAuthResponse.java | 56 ++ ...ribeCsImportedProdStatusByUserRequest.java | 62 +++ ...ibeCsImportedProdStatusByUserResponse.java | 56 ++ .../DescribeDataSourceInstanceRequest.java | 75 +++ .../DescribeDataSourceInstanceResponse.java | 123 +++++ .../DescribeDataSourceParametersRequest.java | 62 +++ .../DescribeDataSourceParametersResponse.java | 223 ++++++++ .../DescribeImportedLogCountRequest.java | 36 ++ .../DescribeImportedLogCountResponse.java | 89 ++++ .../v20220616/DescribeLogStoreResponse.java | 60 --- .../v20220616/DescribeProdCountRequest.java | 36 ++ .../v20220616/DescribeProdCountResponse.java | 89 ++++ .../DescribeServiceStatusRequest.java | 36 ++ .../DescribeServiceStatusResponse.java | 56 ++ .../v20220616/DescribeStorageResponse.java | 60 --- .../DescribeUserBuyStatusRequest.java | 49 ++ .../DescribeUserBuyStatusResponse.java | 169 ++++++ .../DescribeWhiteRuleListRequest.java | 101 ++++ .../DescribeWhiteRuleListResponse.java | 459 ++++++++++++++++ .../model/v20220616/DoQuickFieldResponse.java | 60 --- .../v20220616/DoSelfDelegateResponse.java | 60 --- .../EnableAccessForCloudSiemRequest.java | 36 ++ .../EnableAccessForCloudSiemResponse.java | 56 ++ .../EnableServiceForCloudSiemRequest.java | 36 ++ .../EnableServiceForCloudSiemResponse.java | 56 ++ .../model/v20220616/GetCapacityResponse.java | 60 --- .../v20220616/GetHistogramsResponse.java | 60 --- .../v20220616/GetQuickQueryResponse.java | 60 --- .../model/v20220616/GetStorageResponse.java | 60 --- .../v20220616/ListAccountAccessIdRequest.java | 49 ++ .../ListAccountAccessIdResponse.java | 160 ++++++ .../v20220616/ListAccountsByLogRequest.java | 78 +++ .../v20220616/ListAccountsByLogResponse.java | 130 +++++ .../model/v20220616/ListAllProdsRequest.java | 36 ++ .../model/v20220616/ListAllProdsResponse.java | 153 ++++++ .../v20220616/ListBindAccountRequest.java | 49 ++ .../v20220616/ListBindAccountResponse.java | 140 +++++ .../v20220616/ListBindDataSourcesRequest.java | 62 +++ .../ListBindDataSourcesResponse.java | 150 ++++++ .../v20220616/ListDataSourceLogsRequest.java | 75 +++ .../v20220616/ListDataSourceLogsResponse.java | 206 ++++++++ .../v20220616/ListDataSourceTypesRequest.java | 49 ++ .../ListDataSourceTypesResponse.java | 80 +++ .../ListImportedLogsByProdRequest.java | 62 +++ .../ListImportedLogsByProdResponse.java | 160 ++++++ .../v20220616/ListOperationResponse.java | 60 --- .../ListProjectLogStoresRequest.java | 75 +++ .../ListProjectLogStoresResponse.java | 140 +++++ .../v20220616/ListQuickQueryResponse.java | 60 --- .../model/v20220616/ListRdUsersRequest.java | 36 ++ .../model/v20220616/ListRdUsersResponse.java | 120 +++++ .../v20220616/ListUserProdLogsRequest.java | 62 +++ .../v20220616/ListUserProdLogsResponse.java | 160 ++++++ .../v20220616/ListUsersByProdRequest.java | 49 ++ .../v20220616/ListUsersByProdResponse.java | 150 ++++++ .../v20220616/ModifyBindAccountRequest.java | 101 ++++ .../v20220616/ModifyBindAccountResponse.java | 69 +++ .../v20220616/ModifyDataSourceLogRequest.java | 127 +++++ .../ModifyDataSourceLogResponse.java | 79 +++ .../v20220616/ModifyDataSourceRequest.java | 127 +++++ .../v20220616/ModifyDataSourceResponse.java | 79 +++ .../model/v20220616/OpenDeliveryResponse.java | 60 --- .../v20220616/RestoreCapacityResponse.java | 60 --- .../v20220616/SaveQuickQueryResponse.java | 60 --- .../model/v20220616/SetStorageResponse.java | 60 --- .../v20220616/ShowQuickAnalysisResponse.java | 60 --- .../SubmitImportLogTasksRequest.java | 101 ++++ .../SubmitImportLogTasksResponse.java | 69 +++ .../model/v20220616/SubmitJobsRequest.java | 49 ++ .../model/v20220616/SubmitJobsResponse.java | 56 ++ .../AddDataSourceLogResponseUnmarshaller.java | 35 ++ .../AddDataSourceResponseUnmarshaller.java | 35 ++ .../AddUserResponseUnmarshaller.java | 30 ++ ...erSourceLogConfigResponseUnmarshaller.java | 41 ++ .../BindAccountResponseUnmarshaller.java | 34 ++ .../CloseDeliveryResponseUnmarshaller.java | 8 +- ...DeleteBindAccountResponseUnmarshaller.java | 34 ++ ...leteDataSourceLogResponseUnmarshaller.java | 35 ++ .../DeleteDataSourceResponseUnmarshaller.java | 34 ++ .../DeleteQuickQueryResponseUnmarshaller.java | 8 +- .../DeleteUserResponseUnmarshaller.java | 30 ++ ...escribeAlertSceneResponseUnmarshaller.java | 68 +++ .../DescribeAlertsResponseUnmarshaller.java | 98 ++++ ...eAlertsWithEntityResponseUnmarshaller.java | 98 ++++ ...beAlertsWithEventResponseUnmarshaller.java | 98 ++++ .../DescribeAuthResponseUnmarshaller.java | 30 ++ ...dProdStatusByUserResponseUnmarshaller.java | 30 ++ ...ataSourceInstanceResponseUnmarshaller.java | 50 ++ ...aSourceParametersResponseUnmarshaller.java | 65 +++ ...eImportedLogCountResponseUnmarshaller.java | 36 ++ .../DescribeLogStoreResponseUnmarshaller.java | 6 - ...DescribeProdCountResponseUnmarshaller.java | 36 ++ ...ribeServiceStatusResponseUnmarshaller.java | 30 ++ .../DescribeStorageResponseUnmarshaller.java | 8 +- ...ribeUserBuyStatusResponseUnmarshaller.java | 44 ++ ...ribeWhiteRuleListResponseUnmarshaller.java | 103 ++++ .../DoQuickFieldResponseUnmarshaller.java | 6 - .../DoSelfDelegateResponseUnmarshaller.java | 8 +- ...ccessForCloudSiemResponseUnmarshaller.java | 30 ++ ...rviceForCloudSiemResponseUnmarshaller.java | 30 ++ .../GetCapacityResponseUnmarshaller.java | 6 - .../GetHistogramsResponseUnmarshaller.java | 6 - .../GetQuickQueryResponseUnmarshaller.java | 8 +- .../GetStorageResponseUnmarshaller.java | 6 - ...stAccountAccessIdResponseUnmarshaller.java | 51 ++ ...ListAccountsByLogResponseUnmarshaller.java | 48 ++ .../ListAllProdsResponseUnmarshaller.java | 53 ++ .../ListBindAccountResponseUnmarshaller.java | 49 ++ ...stBindDataSourcesResponseUnmarshaller.java | 50 ++ ...istDataSourceLogsResponseUnmarshaller.java | 66 +++ ...stDataSourceTypesResponseUnmarshaller.java | 43 ++ ...mportedLogsByProdResponseUnmarshaller.java | 51 ++ .../ListOperationResponseUnmarshaller.java | 6 - ...tProjectLogStoresResponseUnmarshaller.java | 49 ++ .../ListQuickQueryResponseUnmarshaller.java | 6 - .../ListRdUsersResponseUnmarshaller.java | 47 ++ .../ListUserProdLogsResponseUnmarshaller.java | 51 ++ .../ListUsersByProdResponseUnmarshaller.java | 50 ++ ...ModifyBindAccountResponseUnmarshaller.java | 34 ++ ...difyDataSourceLogResponseUnmarshaller.java | 35 ++ .../ModifyDataSourceResponseUnmarshaller.java | 35 ++ .../OpenDeliveryResponseUnmarshaller.java | 8 +- .../RestoreCapacityResponseUnmarshaller.java | 8 +- .../SaveQuickQueryResponseUnmarshaller.java | 8 +- .../SetStorageResponseUnmarshaller.java | 8 +- ...ShowQuickAnalysisResponseUnmarshaller.java | 6 - ...mitImportLogTasksResponseUnmarshaller.java | 34 ++ .../SubmitJobsResponseUnmarshaller.java | 30 ++ 159 files changed, 10838 insertions(+), 1132 deletions(-) create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BindAccountRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BindAccountResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceInstanceRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceInstanceResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceParametersRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceParametersResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeImportedLogCountRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeImportedLogCountResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeServiceStatusRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeServiceStatusResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeWhiteRuleListRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeWhiteRuleListResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableServiceForCloudSiemRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableServiceForCloudSiemResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountsByLogRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountsByLogResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAllProdsRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAllProdsResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindAccountRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindAccountResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindDataSourcesRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindDataSourcesResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceLogsRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceLogsResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceTypesRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceTypesResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListImportedLogsByProdRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListImportedLogsByProdResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUserProdLogsRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUserProdLogsResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUsersByProdRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUsersByProdResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsRequest.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsResponse.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserSourceLogConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/BindAccountResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteBindAccountResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteUserResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertSceneResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEntityResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEventResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAuthResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCsImportedProdStatusByUserResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceParametersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeImportedLogCountResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeProdCountResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeServiceStatusResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeUserBuyStatusResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeWhiteRuleListResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableAccessForCloudSiemResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableServiceForCloudSiemResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountAccessIdResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountsByLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAllProdsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindAccountResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindDataSourcesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceLogsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceTypesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListImportedLogsByProdResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListProjectLogStoresResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListRdUsersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUserProdLogsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUsersByProdResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyBindAccountResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitImportLogTasksResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitJobsResponseUnmarshaller.java diff --git a/aliyun-java-sdk-cloud-siem/ChangeLog.txt b/aliyun-java-sdk-cloud-siem/ChangeLog.txt index 7374dde32e..38ac274757 100644 --- a/aliyun-java-sdk-cloud-siem/ChangeLog.txt +++ b/aliyun-java-sdk-cloud-siem/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-12-13 Version: 1.0.3 +- Standardizing api. + 2023-11-01 Version: 1.0.2 - Standardizing api. diff --git a/aliyun-java-sdk-cloud-siem/pom.xml b/aliyun-java-sdk-cloud-siem/pom.xml index d68c228ff5..79d7e812ce 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.2 + 1.0.3 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/AddDataSourceLogRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogRequest.java new file mode 100644 index 0000000000..3de83a7234 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogRequest.java @@ -0,0 +1,101 @@ +/* + * 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 AddDataSourceLogRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private String logCode; + + private String dataSourceInstanceLogs; + + private String dataSourceInstanceId; + public AddDataSourceLogRequest() { + super("cloud-siem", "2022-06-16", "AddDataSourceLog", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getLogCode() { + return this.logCode; + } + + public void setLogCode(String logCode) { + this.logCode = logCode; + if(logCode != null){ + putBodyParameter("LogCode", logCode); + } + } + + public String getDataSourceInstanceLogs() { + return this.dataSourceInstanceLogs; + } + + public void setDataSourceInstanceLogs(String dataSourceInstanceLogs) { + this.dataSourceInstanceLogs = dataSourceInstanceLogs; + if(dataSourceInstanceLogs != null){ + putBodyParameter("DataSourceInstanceLogs", dataSourceInstanceLogs); + } + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + if(dataSourceInstanceId != null){ + putBodyParameter("DataSourceInstanceId", dataSourceInstanceId); + } + } + + @Override + public Class getResponseClass() { + return AddDataSourceLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogResponse.java new file mode 100644 index 0000000000..5736d7a97a --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceLogResponse.java @@ -0,0 +1,79 @@ +/* + * 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.AddDataSourceLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AddDataSourceLogResponse 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 count; + + private String logInstanceId; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public String getLogInstanceId() { + return this.logInstanceId; + } + + public void setLogInstanceId(String logInstanceId) { + this.logInstanceId = logInstanceId; + } + } + + @Override + public AddDataSourceLogResponse getInstance(UnmarshallerContext context) { + return AddDataSourceLogResponseUnmarshaller.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/AddDataSourceRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceRequest.java new file mode 100644 index 0000000000..0ee4a69508 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceRequest.java @@ -0,0 +1,114 @@ +/* + * 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 AddDataSourceRequest extends RpcAcsRequest { + + + private String dataSourceType; + + private String cloudCode; + + private String dataSourceInstanceName; + + private String accountId; + + private String dataSourceInstanceRemark; + + private String dataSourceInstanceParams; + public AddDataSourceRequest() { + super("cloud-siem", "2022-06-16", "AddDataSource", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getDataSourceType() { + return this.dataSourceType; + } + + public void setDataSourceType(String dataSourceType) { + this.dataSourceType = dataSourceType; + if(dataSourceType != null){ + putBodyParameter("DataSourceType", dataSourceType); + } + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getDataSourceInstanceName() { + return this.dataSourceInstanceName; + } + + public void setDataSourceInstanceName(String dataSourceInstanceName) { + this.dataSourceInstanceName = dataSourceInstanceName; + if(dataSourceInstanceName != null){ + putBodyParameter("DataSourceInstanceName", dataSourceInstanceName); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getDataSourceInstanceRemark() { + return this.dataSourceInstanceRemark; + } + + public void setDataSourceInstanceRemark(String dataSourceInstanceRemark) { + this.dataSourceInstanceRemark = dataSourceInstanceRemark; + if(dataSourceInstanceRemark != null){ + putBodyParameter("DataSourceInstanceRemark", dataSourceInstanceRemark); + } + } + + public String getDataSourceInstanceParams() { + return this.dataSourceInstanceParams; + } + + public void setDataSourceInstanceParams(String dataSourceInstanceParams) { + this.dataSourceInstanceParams = dataSourceInstanceParams; + if(dataSourceInstanceParams != null){ + putBodyParameter("DataSourceInstanceParams", dataSourceInstanceParams); + } + } + + @Override + public Class getResponseClass() { + return AddDataSourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceResponse.java new file mode 100644 index 0000000000..75dc2b74cc --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddDataSourceResponse.java @@ -0,0 +1,79 @@ +/* + * 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.AddDataSourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AddDataSourceResponse 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 count; + + private String dataSourceInstanceId; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + } + } + + @Override + public AddDataSourceResponse getInstance(UnmarshallerContext context) { + return AddDataSourceResponseUnmarshaller.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/AddUserRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserRequest.java new file mode 100644 index 0000000000..363b79a039 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserRequest.java @@ -0,0 +1,49 @@ +/* + * 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 new file mode 100644 index 0000000000..df4b908445 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserResponse.java @@ -0,0 +1,56 @@ +/* + * 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/AddUserSourceLogConfigRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigRequest.java new file mode 100644 index 0000000000..aad359889a --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigRequest.java @@ -0,0 +1,114 @@ +/* + * 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 AddUserSourceLogConfigRequest extends RpcAcsRequest { + + + private String disPlayLine; + + private Long subUserId; + + private String sourceProdCode; + + private String sourceLogInfo; + + private Integer deleted; + + private String sourceLogCode; + public AddUserSourceLogConfigRequest() { + super("cloud-siem", "2022-06-16", "AddUserSourceLogConfig", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getDisPlayLine() { + return this.disPlayLine; + } + + public void setDisPlayLine(String disPlayLine) { + this.disPlayLine = disPlayLine; + if(disPlayLine != null){ + putBodyParameter("DisPlayLine", disPlayLine); + } + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + if(subUserId != null){ + putBodyParameter("SubUserId", subUserId.toString()); + } + } + + public String getSourceProdCode() { + return this.sourceProdCode; + } + + public void setSourceProdCode(String sourceProdCode) { + this.sourceProdCode = sourceProdCode; + if(sourceProdCode != null){ + putBodyParameter("SourceProdCode", sourceProdCode); + } + } + + public String getSourceLogInfo() { + return this.sourceLogInfo; + } + + public void setSourceLogInfo(String sourceLogInfo) { + this.sourceLogInfo = sourceLogInfo; + if(sourceLogInfo != null){ + putBodyParameter("SourceLogInfo", sourceLogInfo); + } + } + + public Integer getDeleted() { + return this.deleted; + } + + public void setDeleted(Integer deleted) { + this.deleted = deleted; + if(deleted != null){ + putBodyParameter("Deleted", deleted.toString()); + } + } + + public String getSourceLogCode() { + return this.sourceLogCode; + } + + public void setSourceLogCode(String sourceLogCode) { + this.sourceLogCode = sourceLogCode; + if(sourceLogCode != null){ + putBodyParameter("SourceLogCode", sourceLogCode); + } + } + + @Override + public Class getResponseClass() { + return AddUserSourceLogConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigResponse.java new file mode 100644 index 0000000000..7a1bee08e2 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/AddUserSourceLogConfigResponse.java @@ -0,0 +1,139 @@ +/* + * 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.AddUserSourceLogConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AddUserSourceLogConfigResponse 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 diplayLine; + + private String sourceProdCode; + + private String sourceLogCode; + + private Boolean displayed; + + private Boolean imported; + + private Long mainUserId; + + private Long subUserId; + + private String subUserName; + + public String getDiplayLine() { + return this.diplayLine; + } + + public void setDiplayLine(String diplayLine) { + this.diplayLine = diplayLine; + } + + public String getSourceProdCode() { + return this.sourceProdCode; + } + + public void setSourceProdCode(String sourceProdCode) { + this.sourceProdCode = sourceProdCode; + } + + public String getSourceLogCode() { + return this.sourceLogCode; + } + + public void setSourceLogCode(String sourceLogCode) { + this.sourceLogCode = sourceLogCode; + } + + public Boolean getDisplayed() { + return this.displayed; + } + + public void setDisplayed(Boolean displayed) { + this.displayed = displayed; + } + + public Boolean getImported() { + return this.imported; + } + + public void setImported(Boolean imported) { + this.imported = imported; + } + + public Long getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + } + + @Override + public AddUserSourceLogConfigResponse getInstance(UnmarshallerContext context) { + return AddUserSourceLogConfigResponseUnmarshaller.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/BindAccountRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BindAccountRequest.java new file mode 100644 index 0000000000..5c3d68c2cb --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BindAccountRequest.java @@ -0,0 +1,88 @@ +/* + * 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 BindAccountRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private String accountName; + + private String accessId; + public BindAccountRequest() { + super("cloud-siem", "2022-06-16", "BindAccount", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + if(accountName != null){ + putBodyParameter("AccountName", accountName); + } + } + + public String getAccessId() { + return this.accessId; + } + + public void setAccessId(String accessId) { + this.accessId = accessId; + if(accessId != null){ + putBodyParameter("AccessId", accessId); + } + } + + @Override + public Class getResponseClass() { + return BindAccountResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BindAccountResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BindAccountResponse.java new file mode 100644 index 0000000000..b13a5e4bfd --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/BindAccountResponse.java @@ -0,0 +1,69 @@ +/* + * 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.BindAccountResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class BindAccountResponse 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 count; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + } + + @Override + public BindAccountResponse getInstance(UnmarshallerContext context) { + return BindAccountResponseUnmarshaller.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/CloseDeliveryResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/CloseDeliveryResponse.java index 9aed72d206..b252ff2c96 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/CloseDeliveryResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/CloseDeliveryResponse.java @@ -26,20 +26,8 @@ public class CloseDeliveryResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public CloseDeliveryResponse getInstance(UnmarshallerContext context) { return CloseDeliveryResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountRequest.java new file mode 100644 index 0000000000..21a33ffc54 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountRequest.java @@ -0,0 +1,88 @@ +/* + * 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 DeleteBindAccountRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private Long bindId; + + private String accessId; + public DeleteBindAccountRequest() { + super("cloud-siem", "2022-06-16", "DeleteBindAccount", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public Long getBindId() { + return this.bindId; + } + + public void setBindId(Long bindId) { + this.bindId = bindId; + if(bindId != null){ + putBodyParameter("BindId", bindId.toString()); + } + } + + public String getAccessId() { + return this.accessId; + } + + public void setAccessId(String accessId) { + this.accessId = accessId; + if(accessId != null){ + putBodyParameter("AccessId", accessId); + } + } + + @Override + public Class getResponseClass() { + return DeleteBindAccountResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountResponse.java new file mode 100644 index 0000000000..1005ff92c7 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteBindAccountResponse.java @@ -0,0 +1,69 @@ +/* + * 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.DeleteBindAccountResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteBindAccountResponse 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 count; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + } + + @Override + public DeleteBindAccountResponse getInstance(UnmarshallerContext context) { + return DeleteBindAccountResponseUnmarshaller.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/DeleteDataSourceLogRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogRequest.java new file mode 100644 index 0000000000..1fe2040e5d --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogRequest.java @@ -0,0 +1,88 @@ +/* + * 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 DeleteDataSourceLogRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private String logInstanceId; + + private String dataSourceInstanceId; + public DeleteDataSourceLogRequest() { + super("cloud-siem", "2022-06-16", "DeleteDataSourceLog", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getLogInstanceId() { + return this.logInstanceId; + } + + public void setLogInstanceId(String logInstanceId) { + this.logInstanceId = logInstanceId; + if(logInstanceId != null){ + putBodyParameter("LogInstanceId", logInstanceId); + } + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + if(dataSourceInstanceId != null){ + putBodyParameter("DataSourceInstanceId", dataSourceInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteDataSourceLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogResponse.java new file mode 100644 index 0000000000..c21c03c945 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceLogResponse.java @@ -0,0 +1,79 @@ +/* + * 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.DeleteDataSourceLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDataSourceLogResponse 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 count; + + private String logInstanceId; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public String getLogInstanceId() { + return this.logInstanceId; + } + + public void setLogInstanceId(String logInstanceId) { + this.logInstanceId = logInstanceId; + } + } + + @Override + public DeleteDataSourceLogResponse getInstance(UnmarshallerContext context) { + return DeleteDataSourceLogResponseUnmarshaller.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/DeleteDataSourceRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceRequest.java new file mode 100644 index 0000000000..bd50656af4 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceRequest.java @@ -0,0 +1,75 @@ +/* + * 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 DeleteDataSourceRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private String dataSourceInstanceId; + public DeleteDataSourceRequest() { + super("cloud-siem", "2022-06-16", "DeleteDataSource", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + if(dataSourceInstanceId != null){ + putBodyParameter("DataSourceInstanceId", dataSourceInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DeleteDataSourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceResponse.java new file mode 100644 index 0000000000..23f75f0655 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteDataSourceResponse.java @@ -0,0 +1,69 @@ +/* + * 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.DeleteDataSourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDataSourceResponse 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 count; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + } + + @Override + public DeleteDataSourceResponse getInstance(UnmarshallerContext context) { + return DeleteDataSourceResponseUnmarshaller.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/DeleteQuickQueryResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteQuickQueryResponse.java index 2038083331..c130100e6f 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteQuickQueryResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteQuickQueryResponse.java @@ -26,20 +26,8 @@ public class DeleteQuickQueryResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public DeleteQuickQueryResponse getInstance(UnmarshallerContext context) { return DeleteQuickQueryResponseUnmarshaller.unmarshall(this, context); 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 new file mode 100644 index 0000000000..d324637d0a --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserRequest.java @@ -0,0 +1,49 @@ +/* + * 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 new file mode 100644 index 0000000000..7bb68646c9 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DeleteUserResponse.java @@ -0,0 +1,56 @@ +/* + * 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/DescribeAlertSceneRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneRequest.java new file mode 100644 index 0000000000..bec1281e8c --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneRequest.java @@ -0,0 +1,36 @@ +/* + * 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 DescribeAlertSceneRequest extends RpcAcsRequest { + + public DescribeAlertSceneRequest() { + super("cloud-siem", "2022-06-16", "DescribeAlertScene", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return DescribeAlertSceneResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneResponse.java new file mode 100644 index 0000000000..cb97a12f56 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertSceneResponse.java @@ -0,0 +1,203 @@ +/* + * 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.DescribeAlertSceneResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeAlertSceneResponse 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 alertType; + + private String alertTypeId; + + private String alertName; + + private String alertNameId; + + private String alertTile; + + private String alertTileId; + + private List targets; + + public String getAlertType() { + return this.alertType; + } + + public void setAlertType(String alertType) { + this.alertType = alertType; + } + + public String getAlertTypeId() { + return this.alertTypeId; + } + + public void setAlertTypeId(String alertTypeId) { + this.alertTypeId = alertTypeId; + } + + public String getAlertName() { + return this.alertName; + } + + public void setAlertName(String alertName) { + this.alertName = alertName; + } + + public String getAlertNameId() { + return this.alertNameId; + } + + public void setAlertNameId(String alertNameId) { + this.alertNameId = alertNameId; + } + + public String getAlertTile() { + return this.alertTile; + } + + public void setAlertTile(String alertTile) { + this.alertTile = alertTile; + } + + public String getAlertTileId() { + return this.alertTileId; + } + + public void setAlertTileId(String alertTileId) { + this.alertTileId = alertTileId; + } + + public List getTargets() { + return this.targets; + } + + public void setTargets(List targets) { + this.targets = targets; + } + + public static class Target { + + private String type; + + private String name; + + private String value; + + private List values; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public List getValues() { + return this.values; + } + + public void setValues(List values) { + this.values = values; + } + } + } + + @Override + public DescribeAlertSceneResponse getInstance(UnmarshallerContext context) { + return DescribeAlertSceneResponseUnmarshaller.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/DescribeAlertsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java new file mode 100644 index 0000000000..21ca0bfa4b --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsRequest.java @@ -0,0 +1,169 @@ +/* + * 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 java.util.List; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeAlertsRequest extends RpcAcsRequest { + + + private String source; + + private String isDefend; + + private Long startTime; + + private String subUserId; + + private Integer pageSize; + + private List levels; + + private Long endTime; + + private String alertTitle; + + private Integer currentPage; + + private String alertUuid; + public DescribeAlertsRequest() { + super("cloud-siem", "2022-06-16", "DescribeAlerts", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getSource() { + return this.source; + } + + public void setSource(String source) { + this.source = source; + if(source != null){ + putBodyParameter("Source", source); + } + } + + public String getIsDefend() { + return this.isDefend; + } + + public void setIsDefend(String isDefend) { + this.isDefend = isDefend; + if(isDefend != null){ + putBodyParameter("IsDefend", isDefend); + } + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putBodyParameter("StartTime", startTime.toString()); + } + } + + public String getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(String subUserId) { + this.subUserId = subUserId; + if(subUserId != null){ + putBodyParameter("SubUserId", subUserId); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putBodyParameter("PageSize", pageSize.toString()); + } + } + + public List getLevels() { + return this.levels; + } + + public void setLevels(List levels) { + this.levels = levels; + if (levels != null) { + for (int i = 0; i < levels.size(); i++) { + putBodyParameter("Level." + (i + 1) , levels.get(i)); + } + } + } + + 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; + } + + public void setAlertTitle(String alertTitle) { + this.alertTitle = alertTitle; + if(alertTitle != null){ + putBodyParameter("AlertTitle", alertTitle); + } + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putBodyParameter("CurrentPage", currentPage.toString()); + } + } + + public String getAlertUuid() { + return this.alertUuid; + } + + public void setAlertUuid(String alertUuid) { + this.alertUuid = alertUuid; + if(alertUuid != null){ + putBodyParameter("AlertUuid", alertUuid); + } + } + + @Override + public Class getResponseClass() { + return DescribeAlertsResponse.class; + } + +} 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 new file mode 100644 index 0000000000..eabde62a2d --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsResponse.java @@ -0,0 +1,499 @@ +/* + * 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.DescribeAlertsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeAlertsResponse 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 mainUserId; + + private String incidentUuid; + + private String alertUuid; + + private String logTime; + + private String alertSrcProd; + + private String alertTitle; + + private String alertTitleEn; + + private String alertType; + + private String alertTypeEn; + + private String alertTypeCode; + + private String alertName; + + private String alertNameEn; + + private String alertNameCode; + + private String alertLevel; + + private String assetList; + + private String occurTime; + + private String startTime; + + private String endTime; + + private String alertSrcProdModule; + + private String alertDesc; + + private String alertDescEn; + + private String alertDescCode; + + private String alertDetail; + + private String logUuid; + + private String attCk; + + private Long subUserId; + + private String cloudCode; + + private String isDefend; + + private List alertInfoList; + + 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 getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + 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 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; + } + + 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 getOccurTime() { + return this.occurTime; + } + + public void setOccurTime(String occurTime) { + this.occurTime = occurTime; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getAlertSrcProdModule() { + return this.alertSrcProdModule; + } + + public void setAlertSrcProdModule(String alertSrcProdModule) { + this.alertSrcProdModule = alertSrcProdModule; + } + + public String getAlertDesc() { + return this.alertDesc; + } + + public void setAlertDesc(String alertDesc) { + this.alertDesc = alertDesc; + } + + public String getAlertDescEn() { + return this.alertDescEn; + } + + public void setAlertDescEn(String alertDescEn) { + this.alertDescEn = alertDescEn; + } + + public String getAlertDescCode() { + return this.alertDescCode; + } + + public void setAlertDescCode(String alertDescCode) { + this.alertDescCode = alertDescCode; + } + + public String getAlertDetail() { + return this.alertDetail; + } + + public void setAlertDetail(String alertDetail) { + this.alertDetail = alertDetail; + } + + public String getLogUuid() { + return this.logUuid; + } + + public void setLogUuid(String logUuid) { + this.logUuid = logUuid; + } + + public String getAttCk() { + return this.attCk; + } + + public void setAttCk(String attCk) { + this.attCk = attCk; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public String getIsDefend() { + return this.isDefend; + } + + public void setIsDefend(String isDefend) { + this.isDefend = isDefend; + } + + public List getAlertInfoList() { + return this.alertInfoList; + } + + public void setAlertInfoList(List alertInfoList) { + this.alertInfoList = alertInfoList; + } + + public static class AlertInfoListItem { + + private String key; + + private String keyName; + + private String values; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getKeyName() { + return this.keyName; + } + + public void setKeyName(String keyName) { + this.keyName = keyName; + } + + public String getValues() { + return this.values; + } + + public void setValues(String values) { + this.values = values; + } + } + } + + 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 DescribeAlertsResponse getInstance(UnmarshallerContext context) { + return DescribeAlertsResponseUnmarshaller.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/DescribeAlertsWithEntityRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java new file mode 100644 index 0000000000..33cf8641fc --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityRequest.java @@ -0,0 +1,101 @@ +/* + * 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 DescribeAlertsWithEntityRequest extends RpcAcsRequest { + + + private Long entityId; + + private Integer pageSize; + + private String sophonTaskId; + + private Integer currentPage; + + private String incidentUuid; + public DescribeAlertsWithEntityRequest() { + super("cloud-siem", "2022-06-16", "DescribeAlertsWithEntity", "cloud-siem"); + setMethod(MethodType.POST); + } + + public Long getEntityId() { + return this.entityId; + } + + public void setEntityId(Long entityId) { + this.entityId = entityId; + if(entityId != null){ + putBodyParameter("EntityId", entityId.toString()); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putBodyParameter("PageSize", pageSize.toString()); + } + } + + public String getSophonTaskId() { + return this.sophonTaskId; + } + + public void setSophonTaskId(String sophonTaskId) { + this.sophonTaskId = sophonTaskId; + if(sophonTaskId != null){ + putBodyParameter("SophonTaskId", sophonTaskId); + } + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putBodyParameter("CurrentPage", currentPage.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 DescribeAlertsWithEntityResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityResponse.java new file mode 100644 index 0000000000..56507455f6 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEntityResponse.java @@ -0,0 +1,499 @@ +/* + * 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.DescribeAlertsWithEntityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeAlertsWithEntityResponse 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 mainUserId; + + private String incidentUuid; + + private String alertUuid; + + private String logTime; + + private String alertSrcProd; + + private String alertTitle; + + private String alertTitleEn; + + private String alertType; + + private String alertTypeEn; + + private String alertTypeCode; + + private String alertName; + + private String alertNameEn; + + private String alertNameCode; + + private String alertLevel; + + private String assetList; + + private String occurTime; + + private String startTime; + + private String endTime; + + private String alertSrcProdModule; + + private String alertDesc; + + private String alertDescEn; + + private String alertDescCode; + + private String alertDetail; + + private String logUuid; + + private String attCk; + + private Long subUserId; + + private String cloudCode; + + private String isDefend; + + private List alertInfoList; + + 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 getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + 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 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; + } + + 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 getOccurTime() { + return this.occurTime; + } + + public void setOccurTime(String occurTime) { + this.occurTime = occurTime; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getAlertSrcProdModule() { + return this.alertSrcProdModule; + } + + public void setAlertSrcProdModule(String alertSrcProdModule) { + this.alertSrcProdModule = alertSrcProdModule; + } + + public String getAlertDesc() { + return this.alertDesc; + } + + public void setAlertDesc(String alertDesc) { + this.alertDesc = alertDesc; + } + + public String getAlertDescEn() { + return this.alertDescEn; + } + + public void setAlertDescEn(String alertDescEn) { + this.alertDescEn = alertDescEn; + } + + public String getAlertDescCode() { + return this.alertDescCode; + } + + public void setAlertDescCode(String alertDescCode) { + this.alertDescCode = alertDescCode; + } + + public String getAlertDetail() { + return this.alertDetail; + } + + public void setAlertDetail(String alertDetail) { + this.alertDetail = alertDetail; + } + + public String getLogUuid() { + return this.logUuid; + } + + public void setLogUuid(String logUuid) { + this.logUuid = logUuid; + } + + public String getAttCk() { + return this.attCk; + } + + public void setAttCk(String attCk) { + this.attCk = attCk; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public String getIsDefend() { + return this.isDefend; + } + + public void setIsDefend(String isDefend) { + this.isDefend = isDefend; + } + + public List getAlertInfoList() { + return this.alertInfoList; + } + + public void setAlertInfoList(List alertInfoList) { + this.alertInfoList = alertInfoList; + } + + public static class AlertInfoListItem { + + private String key; + + private String keyName; + + private String values; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getKeyName() { + return this.keyName; + } + + public void setKeyName(String keyName) { + this.keyName = keyName; + } + + public String getValues() { + return this.values; + } + + public void setValues(String values) { + this.values = values; + } + } + } + + 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 DescribeAlertsWithEntityResponse getInstance(UnmarshallerContext context) { + return DescribeAlertsWithEntityResponseUnmarshaller.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/DescribeAlertsWithEventRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventRequest.java new file mode 100644 index 0000000000..b59f063ed3 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventRequest.java @@ -0,0 +1,143 @@ +/* + * 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 java.util.List; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeAlertsWithEventRequest extends RpcAcsRequest { + + + private String source; + + private String isDefend; + + private Long subUserId; + + private Integer pageSize; + + private List levels; + + private String alertTitle; + + private Integer currentPage; + + private String incidentUuid; + public DescribeAlertsWithEventRequest() { + super("cloud-siem", "2022-06-16", "DescribeAlertsWithEvent", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getSource() { + return this.source; + } + + public void setSource(String source) { + this.source = source; + if(source != null){ + putBodyParameter("Source", source); + } + } + + public String getIsDefend() { + return this.isDefend; + } + + public void setIsDefend(String isDefend) { + this.isDefend = isDefend; + if(isDefend != null){ + putBodyParameter("IsDefend", isDefend); + } + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + if(subUserId != null){ + putBodyParameter("SubUserId", subUserId.toString()); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putBodyParameter("PageSize", pageSize.toString()); + } + } + + public List getLevels() { + return this.levels; + } + + public void setLevels(List levels) { + this.levels = levels; + if (levels != null) { + for (int i = 0; i < levels.size(); i++) { + putBodyParameter("Level." + (i + 1) , levels.get(i)); + } + } + } + + public String getAlertTitle() { + return this.alertTitle; + } + + public void setAlertTitle(String alertTitle) { + this.alertTitle = alertTitle; + if(alertTitle != null){ + putBodyParameter("AlertTitle", alertTitle); + } + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putBodyParameter("CurrentPage", currentPage.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 DescribeAlertsWithEventResponse.class; + } + +} 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 new file mode 100644 index 0000000000..26c1073baa --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAlertsWithEventResponse.java @@ -0,0 +1,499 @@ +/* + * 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.DescribeAlertsWithEventResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeAlertsWithEventResponse 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 mainUserId; + + private String incidentUuid; + + private String alertUuid; + + private String logTime; + + private String alertSrcProd; + + private String alertTitle; + + private String alertTitleEn; + + private String alertType; + + private String alertTypeEn; + + private String alertTypeCode; + + private String alertName; + + private String alertNameEn; + + private String alertNameCode; + + private String alertLevel; + + private String assetList; + + private String occurTime; + + private String startTime; + + private String endTime; + + private String alertSrcProdModule; + + private String alertDesc; + + private String alertDescEn; + + private String alertDescCode; + + private String alertDetail; + + private String logUuid; + + private String attCk; + + private Long subUserId; + + private String cloudCode; + + private String isDefend; + + private List alertInfoList; + + 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 getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + 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 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; + } + + 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 getOccurTime() { + return this.occurTime; + } + + public void setOccurTime(String occurTime) { + this.occurTime = occurTime; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getAlertSrcProdModule() { + return this.alertSrcProdModule; + } + + public void setAlertSrcProdModule(String alertSrcProdModule) { + this.alertSrcProdModule = alertSrcProdModule; + } + + public String getAlertDesc() { + return this.alertDesc; + } + + public void setAlertDesc(String alertDesc) { + this.alertDesc = alertDesc; + } + + public String getAlertDescEn() { + return this.alertDescEn; + } + + public void setAlertDescEn(String alertDescEn) { + this.alertDescEn = alertDescEn; + } + + public String getAlertDescCode() { + return this.alertDescCode; + } + + public void setAlertDescCode(String alertDescCode) { + this.alertDescCode = alertDescCode; + } + + public String getAlertDetail() { + return this.alertDetail; + } + + public void setAlertDetail(String alertDetail) { + this.alertDetail = alertDetail; + } + + public String getLogUuid() { + return this.logUuid; + } + + public void setLogUuid(String logUuid) { + this.logUuid = logUuid; + } + + public String getAttCk() { + return this.attCk; + } + + public void setAttCk(String attCk) { + this.attCk = attCk; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public String getIsDefend() { + return this.isDefend; + } + + public void setIsDefend(String isDefend) { + this.isDefend = isDefend; + } + + public List getAlertInfoList() { + return this.alertInfoList; + } + + public void setAlertInfoList(List alertInfoList) { + this.alertInfoList = alertInfoList; + } + + public static class AlertInfoListItem { + + private String key; + + private String keyName; + + private String values; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getKeyName() { + return this.keyName; + } + + public void setKeyName(String keyName) { + this.keyName = keyName; + } + + public String getValues() { + return this.values; + } + + public void setValues(String values) { + this.values = values; + } + } + } + + 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 DescribeAlertsWithEventResponse getInstance(UnmarshallerContext context) { + return DescribeAlertsWithEventResponseUnmarshaller.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/DescribeAuthRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthRequest.java new file mode 100644 index 0000000000..436ea248cc --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthRequest.java @@ -0,0 +1,36 @@ +/* + * 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 DescribeAuthRequest extends RpcAcsRequest { + + public DescribeAuthRequest() { + super("cloud-siem", "2022-06-16", "DescribeAuth", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return DescribeAuthResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthResponse.java new file mode 100644 index 0000000000..366e503b34 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeAuthResponse.java @@ -0,0 +1,56 @@ +/* + * 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.DescribeAuthResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeAuthResponse 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 DescribeAuthResponse getInstance(UnmarshallerContext context) { + return DescribeAuthResponseUnmarshaller.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/DescribeCsImportedProdStatusByUserRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserRequest.java new file mode 100644 index 0000000000..fc0d8dc4f8 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserRequest.java @@ -0,0 +1,62 @@ +/* + * 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 new file mode 100644 index 0000000000..e534f40ef9 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeCsImportedProdStatusByUserResponse.java @@ -0,0 +1,56 @@ +/* + * 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/DescribeDataSourceInstanceRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceInstanceRequest.java new file mode 100644 index 0000000000..b30a850739 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceInstanceRequest.java @@ -0,0 +1,75 @@ +/* + * 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 DescribeDataSourceInstanceRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private String dataSourceInstanceId; + public DescribeDataSourceInstanceRequest() { + super("cloud-siem", "2022-06-16", "DescribeDataSourceInstance", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + if(dataSourceInstanceId != null){ + putBodyParameter("DataSourceInstanceId", dataSourceInstanceId); + } + } + + @Override + public Class getResponseClass() { + return DescribeDataSourceInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceInstanceResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceInstanceResponse.java new file mode 100644 index 0000000000..75fa931997 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceInstanceResponse.java @@ -0,0 +1,123 @@ +/* + * 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.DescribeDataSourceInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDataSourceInstanceResponse 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 dataSourceInstanceId; + + private String accountId; + + private String cloudCode; + + private List dataSourceInstanceParams; + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public List getDataSourceInstanceParams() { + return this.dataSourceInstanceParams; + } + + public void setDataSourceInstanceParams(List dataSourceInstanceParams) { + this.dataSourceInstanceParams = dataSourceInstanceParams; + } + + public static class DataSourceInstanceParam { + + private String paraCode; + + private String paraValue; + + public String getParaCode() { + return this.paraCode; + } + + public void setParaCode(String paraCode) { + this.paraCode = paraCode; + } + + public String getParaValue() { + return this.paraValue; + } + + public void setParaValue(String paraValue) { + this.paraValue = paraValue; + } + } + } + + @Override + public DescribeDataSourceInstanceResponse getInstance(UnmarshallerContext context) { + return DescribeDataSourceInstanceResponseUnmarshaller.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/DescribeDataSourceParametersRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceParametersRequest.java new file mode 100644 index 0000000000..a2ac66f667 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceParametersRequest.java @@ -0,0 +1,62 @@ +/* + * 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 DescribeDataSourceParametersRequest extends RpcAcsRequest { + + + private String dataSourceType; + + private String cloudCode; + public DescribeDataSourceParametersRequest() { + super("cloud-siem", "2022-06-16", "DescribeDataSourceParameters", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getDataSourceType() { + return this.dataSourceType; + } + + public void setDataSourceType(String dataSourceType) { + this.dataSourceType = dataSourceType; + if(dataSourceType != null){ + putBodyParameter("DataSourceType", dataSourceType); + } + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + @Override + public Class getResponseClass() { + return DescribeDataSourceParametersResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceParametersResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceParametersResponse.java new file mode 100644 index 0000000000..ebd210d3d9 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeDataSourceParametersResponse.java @@ -0,0 +1,223 @@ +/* + * 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.DescribeDataSourceParametersResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeDataSourceParametersResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 dataSourceType; + + private Integer paraLevel; + + private String paraCode; + + private String paraName; + + private String paraType; + + private Integer required; + + private String formatCheck; + + private String title; + + private String hit; + + private String defaultValue; + + private Boolean disabled; + + private Integer canEditted; + + private String cloudCode; + + private List paramValue; + + public String getDataSourceType() { + return this.dataSourceType; + } + + public void setDataSourceType(String dataSourceType) { + this.dataSourceType = dataSourceType; + } + + public Integer getParaLevel() { + return this.paraLevel; + } + + public void setParaLevel(Integer paraLevel) { + this.paraLevel = paraLevel; + } + + public String getParaCode() { + return this.paraCode; + } + + public void setParaCode(String paraCode) { + this.paraCode = paraCode; + } + + public String getParaName() { + return this.paraName; + } + + public void setParaName(String paraName) { + this.paraName = paraName; + } + + public String getParaType() { + return this.paraType; + } + + public void setParaType(String paraType) { + this.paraType = paraType; + } + + public Integer getRequired() { + return this.required; + } + + public void setRequired(Integer required) { + this.required = required; + } + + public String getFormatCheck() { + return this.formatCheck; + } + + public void setFormatCheck(String formatCheck) { + this.formatCheck = formatCheck; + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getHit() { + return this.hit; + } + + public void setHit(String hit) { + this.hit = hit; + } + + public String getDefaultValue() { + return this.defaultValue; + } + + public void setDefaultValue(String defaultValue) { + this.defaultValue = defaultValue; + } + + public Boolean getDisabled() { + return this.disabled; + } + + public void setDisabled(Boolean disabled) { + this.disabled = disabled; + } + + public Integer getCanEditted() { + return this.canEditted; + } + + public void setCanEditted(Integer canEditted) { + this.canEditted = canEditted; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public List getParamValue() { + return this.paramValue; + } + + public void setParamValue(List paramValue) { + this.paramValue = paramValue; + } + + public static class ParamValueItem { + + private String label; + + private String value; + + public String getLabel() { + return this.label; + } + + public void setLabel(String label) { + this.label = label; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + } + } + + @Override + public DescribeDataSourceParametersResponse getInstance(UnmarshallerContext context) { + return DescribeDataSourceParametersResponseUnmarshaller.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/DescribeImportedLogCountRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeImportedLogCountRequest.java new file mode 100644 index 0000000000..05477a2472 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeImportedLogCountRequest.java @@ -0,0 +1,36 @@ +/* + * 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 DescribeImportedLogCountRequest extends RpcAcsRequest { + + public DescribeImportedLogCountRequest() { + super("cloud-siem", "2022-06-16", "DescribeImportedLogCount", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return DescribeImportedLogCountResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeImportedLogCountResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeImportedLogCountResponse.java new file mode 100644 index 0000000000..66a0171b70 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeImportedLogCountResponse.java @@ -0,0 +1,89 @@ +/* + * 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.DescribeImportedLogCountResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeImportedLogCountResponse 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 totalLogCount; + + private Integer importedLogCount; + + private Integer unImportedLogCount; + + public Integer getTotalLogCount() { + return this.totalLogCount; + } + + public void setTotalLogCount(Integer totalLogCount) { + this.totalLogCount = totalLogCount; + } + + public Integer getImportedLogCount() { + return this.importedLogCount; + } + + public void setImportedLogCount(Integer importedLogCount) { + this.importedLogCount = importedLogCount; + } + + public Integer getUnImportedLogCount() { + return this.unImportedLogCount; + } + + public void setUnImportedLogCount(Integer unImportedLogCount) { + this.unImportedLogCount = unImportedLogCount; + } + } + + @Override + public DescribeImportedLogCountResponse getInstance(UnmarshallerContext context) { + return DescribeImportedLogCountResponseUnmarshaller.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/DescribeLogStoreResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeLogStoreResponse.java index fe420f5cb0..32dfc8c56f 100644 --- 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 @@ -24,54 +24,10 @@ */ public class DescribeLogStoreResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -80,22 +36,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountRequest.java new file mode 100644 index 0000000000..f2fc826ad4 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountRequest.java @@ -0,0 +1,36 @@ +/* + * 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 DescribeProdCountRequest extends RpcAcsRequest { + + public DescribeProdCountRequest() { + super("cloud-siem", "2022-06-16", "DescribeProdCount", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return DescribeProdCountResponse.class; + } + +} 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 new file mode 100644 index 0000000000..d300c2d968 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeProdCountResponse.java @@ -0,0 +1,89 @@ +/* + * 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.DescribeProdCountResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeProdCountResponse 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 aliyunProdCount; + + private Integer hcloudProdCount; + + private Integer qcloudProdCount; + + public Integer getAliyunProdCount() { + return this.aliyunProdCount; + } + + public void setAliyunProdCount(Integer aliyunProdCount) { + this.aliyunProdCount = aliyunProdCount; + } + + public Integer getHcloudProdCount() { + return this.hcloudProdCount; + } + + public void setHcloudProdCount(Integer hcloudProdCount) { + this.hcloudProdCount = hcloudProdCount; + } + + public Integer getQcloudProdCount() { + return this.qcloudProdCount; + } + + public void setQcloudProdCount(Integer qcloudProdCount) { + this.qcloudProdCount = qcloudProdCount; + } + } + + @Override + public DescribeProdCountResponse getInstance(UnmarshallerContext context) { + return DescribeProdCountResponseUnmarshaller.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/DescribeServiceStatusRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeServiceStatusRequest.java new file mode 100644 index 0000000000..e62c5ba209 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeServiceStatusRequest.java @@ -0,0 +1,36 @@ +/* + * 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 DescribeServiceStatusRequest extends RpcAcsRequest { + + public DescribeServiceStatusRequest() { + super("cloud-siem", "2022-06-16", "DescribeServiceStatus", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return DescribeServiceStatusResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeServiceStatusResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeServiceStatusResponse.java new file mode 100644 index 0000000000..4715142508 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeServiceStatusResponse.java @@ -0,0 +1,56 @@ +/* + * 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.DescribeServiceStatusResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeServiceStatusResponse 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 DescribeServiceStatusResponse getInstance(UnmarshallerContext context) { + return DescribeServiceStatusResponseUnmarshaller.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/DescribeStorageResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeStorageResponse.java index b14e31584d..8e522d891c 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeStorageResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeStorageResponse.java @@ -26,20 +26,8 @@ public class DescribeStorageResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public DescribeStorageResponse getInstance(UnmarshallerContext context) { return DescribeStorageResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusRequest.java new file mode 100644 index 0000000000..378fcf75c2 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusRequest.java @@ -0,0 +1,49 @@ +/* + * 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 DescribeUserBuyStatusRequest extends RpcAcsRequest { + + + private Long subUserId; + public DescribeUserBuyStatusRequest() { + super("cloud-siem", "2022-06-16", "DescribeUserBuyStatus", "cloud-siem"); + setMethod(MethodType.POST); + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + if(subUserId != null){ + putBodyParameter("SubUserId", subUserId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DescribeUserBuyStatusResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusResponse.java new file mode 100644 index 0000000000..2ff599be80 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeUserBuyStatusResponse.java @@ -0,0 +1,169 @@ +/* + * 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.DescribeUserBuyStatusResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeUserBuyStatusResponse 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 Long masterUserId; + + private String masterUserName; + + private Long mainUserId; + + private String mainUserName; + + private Long subUserId; + + private String subUserName; + + private Integer capacity; + + private String sasInstanceId; + + private Boolean canBuy; + + private Long endTime; + + private Long durationDays; + + public Long getMasterUserId() { + return this.masterUserId; + } + + public void setMasterUserId(Long masterUserId) { + this.masterUserId = masterUserId; + } + + public String getMasterUserName() { + return this.masterUserName; + } + + public void setMasterUserName(String masterUserName) { + this.masterUserName = masterUserName; + } + + public Long getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + public String getMainUserName() { + return this.mainUserName; + } + + public void setMainUserName(String mainUserName) { + this.mainUserName = mainUserName; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + + public Integer getCapacity() { + return this.capacity; + } + + public void setCapacity(Integer capacity) { + this.capacity = capacity; + } + + public String getSasInstanceId() { + return this.sasInstanceId; + } + + public void setSasInstanceId(String sasInstanceId) { + this.sasInstanceId = sasInstanceId; + } + + public Boolean getCanBuy() { + return this.canBuy; + } + + public void setCanBuy(Boolean canBuy) { + this.canBuy = canBuy; + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public Long getDurationDays() { + return this.durationDays; + } + + public void setDurationDays(Long durationDays) { + this.durationDays = durationDays; + } + } + + @Override + public DescribeUserBuyStatusResponse getInstance(UnmarshallerContext context) { + return DescribeUserBuyStatusResponseUnmarshaller.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/DescribeWhiteRuleListRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeWhiteRuleListRequest.java new file mode 100644 index 0000000000..8595b8a9ee --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeWhiteRuleListRequest.java @@ -0,0 +1,101 @@ +/* + * 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 DescribeWhiteRuleListRequest extends RpcAcsRequest { + + + private String alertName; + + private Integer pageSize; + + private Integer currentPage; + + private String alertType; + + private String incidentUuid; + public DescribeWhiteRuleListRequest() { + super("cloud-siem", "2022-06-16", "DescribeWhiteRuleList", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getAlertName() { + return this.alertName; + } + + public void setAlertName(String alertName) { + this.alertName = alertName; + if(alertName != null){ + putBodyParameter("AlertName", alertName); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putBodyParameter("PageSize", pageSize.toString()); + } + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + if(currentPage != null){ + putBodyParameter("CurrentPage", currentPage.toString()); + } + } + + public String getAlertType() { + return this.alertType; + } + + public void setAlertType(String alertType) { + this.alertType = alertType; + if(alertType != null){ + putBodyParameter("AlertType", alertType); + } + } + + 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 DescribeWhiteRuleListResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeWhiteRuleListResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeWhiteRuleListResponse.java new file mode 100644 index 0000000000..4247ca7840 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DescribeWhiteRuleListResponse.java @@ -0,0 +1,459 @@ +/* + * 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 java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.cloud_siem.transform.v20220616.DescribeWhiteRuleListResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeWhiteRuleListResponse 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 Long subAliuid; + + private String alertType; + + private String alertTypeId; + + private String alertName; + + private String alertNameId; + + private Integer status; + + private String incidentUuid; + + private String alertUuid; + + private Expression expression; + + 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 Long getSubAliuid() { + return this.subAliuid; + } + + public void setSubAliuid(Long subAliuid) { + this.subAliuid = subAliuid; + } + + public String getAlertType() { + return this.alertType; + } + + public void setAlertType(String alertType) { + this.alertType = alertType; + } + + public String getAlertTypeId() { + return this.alertTypeId; + } + + public void setAlertTypeId(String alertTypeId) { + this.alertTypeId = alertTypeId; + } + + public String getAlertName() { + return this.alertName; + } + + public void setAlertName(String alertName) { + this.alertName = alertName; + } + + public String getAlertNameId() { + return this.alertNameId; + } + + public void setAlertNameId(String alertNameId) { + this.alertNameId = alertNameId; + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + 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 Expression getExpression() { + return this.expression; + } + + public void setExpression(Expression expression) { + this.expression = expression; + } + + public static class Expression { + + private String logic; + + private List conditions; + + public String getLogic() { + return this.logic; + } + + public void setLogic(String logic) { + this.logic = logic; + } + + public List getConditions() { + return this.conditions; + } + + public void setConditions(List conditions) { + this.conditions = conditions; + } + + public static class Condition { + + private Integer itemId; + + private String operator; + + private Boolean isNot; + + private Left left; + + private Right right; + + public Integer getItemId() { + return this.itemId; + } + + public void setItemId(Integer itemId) { + this.itemId = itemId; + } + + public String getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + public Boolean getIsNot() { + return this.isNot; + } + + public void setIsNot(Boolean isNot) { + this.isNot = isNot; + } + + public Left getLeft() { + return this.left; + } + + public void setLeft(Left left) { + this.left = left; + } + + public Right getRight() { + return this.right; + } + + public void setRight(Right right) { + this.right = right; + } + + public static class Left { + + private String value; + + private Boolean isVar; + + private String type; + + private String modifier; + + private Map modifierParam; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public Boolean getIsVar() { + return this.isVar; + } + + public void setIsVar(Boolean isVar) { + this.isVar = isVar; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getModifier() { + return this.modifier; + } + + public void setModifier(String modifier) { + this.modifier = modifier; + } + + public Map getModifierParam() { + return this.modifierParam; + } + + public void setModifierParam(Map modifierParam) { + this.modifierParam = modifierParam; + } + } + + public static class Right { + + private String value; + + private Boolean isVar; + + private String type; + + private String modifier; + + private Map modifierParam; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public Boolean getIsVar() { + return this.isVar; + } + + public void setIsVar(Boolean isVar) { + this.isVar = isVar; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getModifier() { + return this.modifier; + } + + public void setModifier(String modifier) { + this.modifier = modifier; + } + + public Map getModifierParam() { + return this.modifierParam; + } + + public void setModifierParam(Map modifierParam) { + this.modifierParam = modifierParam; + } + } + } + } + } + + 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 DescribeWhiteRuleListResponse getInstance(UnmarshallerContext context) { + return DescribeWhiteRuleListResponseUnmarshaller.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/DoQuickFieldResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/DoQuickFieldResponse.java index 138fd6e5f6..42d9772703 100644 --- 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 @@ -25,54 +25,10 @@ */ public class DoQuickFieldResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -81,22 +37,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } 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 index 44dc4c3f72..bfb12c114a 100644 --- 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 @@ -26,20 +26,8 @@ public class DoSelfDelegateResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public DoSelfDelegateResponse getInstance(UnmarshallerContext context) { return DoSelfDelegateResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemRequest.java new file mode 100644 index 0000000000..e7e7a52f83 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemRequest.java @@ -0,0 +1,36 @@ +/* + * 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 EnableAccessForCloudSiemRequest extends RpcAcsRequest { + + public EnableAccessForCloudSiemRequest() { + super("cloud-siem", "2022-06-16", "EnableAccessForCloudSiem", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return EnableAccessForCloudSiemResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemResponse.java new file mode 100644 index 0000000000..0e24c980de --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableAccessForCloudSiemResponse.java @@ -0,0 +1,56 @@ +/* + * 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.EnableAccessForCloudSiemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class EnableAccessForCloudSiemResponse 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 EnableAccessForCloudSiemResponse getInstance(UnmarshallerContext context) { + return EnableAccessForCloudSiemResponseUnmarshaller.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/EnableServiceForCloudSiemRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableServiceForCloudSiemRequest.java new file mode 100644 index 0000000000..961b0f22c8 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableServiceForCloudSiemRequest.java @@ -0,0 +1,36 @@ +/* + * 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 EnableServiceForCloudSiemRequest extends RpcAcsRequest { + + public EnableServiceForCloudSiemRequest() { + super("cloud-siem", "2022-06-16", "EnableServiceForCloudSiem", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return EnableServiceForCloudSiemResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableServiceForCloudSiemResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableServiceForCloudSiemResponse.java new file mode 100644 index 0000000000..2fd10bbeb2 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/EnableServiceForCloudSiemResponse.java @@ -0,0 +1,56 @@ +/* + * 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.EnableServiceForCloudSiemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class EnableServiceForCloudSiemResponse 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 EnableServiceForCloudSiemResponse getInstance(UnmarshallerContext context) { + return EnableServiceForCloudSiemResponseUnmarshaller.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/GetCapacityResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetCapacityResponse.java index 80ba5b6ce0..572b5ab7d0 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetCapacityResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetCapacityResponse.java @@ -24,54 +24,10 @@ */ public class GetCapacityResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -80,22 +36,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } 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 index 194cdb2b2e..37b011d109 100644 --- 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 @@ -25,54 +25,10 @@ */ public class GetHistogramsResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -81,22 +37,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } 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 index 1e230e7622..dc82011f51 100644 --- 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 @@ -26,20 +26,8 @@ public class GetQuickQueryResponse extends AcsResponse { private String data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public String getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(String data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public GetQuickQueryResponse getInstance(UnmarshallerContext context) { return GetQuickQueryResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetStorageResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetStorageResponse.java index c66b99a5f5..bbc5a21bb8 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetStorageResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/GetStorageResponse.java @@ -24,54 +24,10 @@ */ public class GetStorageResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -80,22 +36,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdRequest.java new file mode 100644 index 0000000000..3eb1a858ba --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdRequest.java @@ -0,0 +1,49 @@ +/* + * 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 ListAccountAccessIdRequest extends RpcAcsRequest { + + + private String cloudCode; + public ListAccountAccessIdRequest() { + super("cloud-siem", "2022-06-16", "ListAccountAccessId", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + @Override + public Class getResponseClass() { + return ListAccountAccessIdResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdResponse.java new file mode 100644 index 0000000000..acf93200dd --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountAccessIdResponse.java @@ -0,0 +1,160 @@ +/* + * 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.ListAccountAccessIdResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAccountAccessIdResponse 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 Long subUserId; + + private String accessIdMd5; + + private String accountStr; + + private Integer bound; + + private String accessId; + + private String accountId; + + private String cloudCode; + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getAccessIdMd5() { + return this.accessIdMd5; + } + + public void setAccessIdMd5(String accessIdMd5) { + this.accessIdMd5 = accessIdMd5; + } + + public String getAccountStr() { + return this.accountStr; + } + + public void setAccountStr(String accountStr) { + this.accountStr = accountStr; + } + + public Integer getBound() { + return this.bound; + } + + public void setBound(Integer bound) { + this.bound = bound; + } + + public String getAccessId() { + return this.accessId; + } + + public void setAccessId(String accessId) { + this.accessId = accessId; + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + } + + @Override + public ListAccountAccessIdResponse getInstance(UnmarshallerContext context) { + return ListAccountAccessIdResponseUnmarshaller.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/ListAccountsByLogRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountsByLogRequest.java new file mode 100644 index 0000000000..9eacf4c099 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountsByLogRequest.java @@ -0,0 +1,78 @@ +/* + * 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 java.util.List; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListAccountsByLogRequest extends RpcAcsRequest { + + + private String cloudCode; + + private List logCodess; + + private String prodCode; + public ListAccountsByLogRequest() { + super("cloud-siem", "2022-06-16", "ListAccountsByLog", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public List getLogCodess() { + return this.logCodess; + } + + public void setLogCodess(List logCodess) { + this.logCodess = logCodess; + if (logCodess != null) { + for (int i = 0; i < logCodess.size(); i++) { + putBodyParameter("LogCodes." + (i + 1) , logCodess.get(i)); + } + } + } + + public String getProdCode() { + return this.prodCode; + } + + public void setProdCode(String prodCode) { + this.prodCode = prodCode; + if(prodCode != null){ + putBodyParameter("ProdCode", prodCode); + } + } + + @Override + public Class getResponseClass() { + return ListAccountsByLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountsByLogResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountsByLogResponse.java new file mode 100644 index 0000000000..5d15e4d5a3 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAccountsByLogResponse.java @@ -0,0 +1,130 @@ +/* + * 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.ListAccountsByLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAccountsByLogResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 Long subUserId; + + private Long mainUserId; + + private String accountId; + + private String accountName; + + private Integer imported; + + private String logCode; + + private String prodCode; + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public Long getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public Integer getImported() { + return this.imported; + } + + public void setImported(Integer imported) { + this.imported = imported; + } + + public String getLogCode() { + return this.logCode; + } + + public void setLogCode(String logCode) { + this.logCode = logCode; + } + + public String getProdCode() { + return this.prodCode; + } + + public void setProdCode(String prodCode) { + this.prodCode = prodCode; + } + } + + @Override + public ListAccountsByLogResponse getInstance(UnmarshallerContext context) { + return ListAccountsByLogResponseUnmarshaller.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/ListAllProdsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAllProdsRequest.java new file mode 100644 index 0000000000..c394381d79 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAllProdsRequest.java @@ -0,0 +1,36 @@ +/* + * 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 ListAllProdsRequest extends RpcAcsRequest { + + public ListAllProdsRequest() { + super("cloud-siem", "2022-06-16", "ListAllProds", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return ListAllProdsResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAllProdsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAllProdsResponse.java new file mode 100644 index 0000000000..4b8c4bb1da --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListAllProdsResponse.java @@ -0,0 +1,153 @@ +/* + * 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.ListAllProdsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAllProdsResponse 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 totalCount; + + private Integer pageSize; + + private Integer currentPage; + + private List prodList; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Integer getCurrentPage() { + return this.currentPage; + } + + public void setCurrentPage(Integer currentPage) { + this.currentPage = currentPage; + } + + public List getProdList() { + return this.prodList; + } + + public void setProdList(List prodList) { + this.prodList = prodList; + } + + public static class ProdListItem { + + private String prodCode; + + private Integer totalLogCount; + + private Integer importedLogCount; + + private String modifyTime; + + private String cloudCode; + + public String getProdCode() { + return this.prodCode; + } + + public void setProdCode(String prodCode) { + this.prodCode = prodCode; + } + + public Integer getTotalLogCount() { + return this.totalLogCount; + } + + public void setTotalLogCount(Integer totalLogCount) { + this.totalLogCount = totalLogCount; + } + + public Integer getImportedLogCount() { + return this.importedLogCount; + } + + public void setImportedLogCount(Integer importedLogCount) { + this.importedLogCount = importedLogCount; + } + + public String getModifyTime() { + return this.modifyTime; + } + + public void setModifyTime(String modifyTime) { + this.modifyTime = modifyTime; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + } + } + + @Override + public ListAllProdsResponse getInstance(UnmarshallerContext context) { + return ListAllProdsResponseUnmarshaller.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/ListBindAccountRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindAccountRequest.java new file mode 100644 index 0000000000..67a4250214 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindAccountRequest.java @@ -0,0 +1,49 @@ +/* + * 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 ListBindAccountRequest extends RpcAcsRequest { + + + private String cloudCode; + public ListBindAccountRequest() { + super("cloud-siem", "2022-06-16", "ListBindAccount", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + @Override + public Class getResponseClass() { + return ListBindAccountResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindAccountResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindAccountResponse.java new file mode 100644 index 0000000000..fd0318e399 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindAccountResponse.java @@ -0,0 +1,140 @@ +/* + * 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.ListBindAccountResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListBindAccountResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 accountName; + + private String accessId; + + private Long dataSourceCount; + + private String modifyTime; + + private String createUser; + + private Long bindId; + + private String accountId; + + private String cloudCode; + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getAccessId() { + return this.accessId; + } + + public void setAccessId(String accessId) { + this.accessId = accessId; + } + + public Long getDataSourceCount() { + return this.dataSourceCount; + } + + public void setDataSourceCount(Long dataSourceCount) { + this.dataSourceCount = dataSourceCount; + } + + public String getModifyTime() { + return this.modifyTime; + } + + public void setModifyTime(String modifyTime) { + this.modifyTime = modifyTime; + } + + public String getCreateUser() { + return this.createUser; + } + + public void setCreateUser(String createUser) { + this.createUser = createUser; + } + + public Long getBindId() { + return this.bindId; + } + + public void setBindId(Long bindId) { + this.bindId = bindId; + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + } + + @Override + public ListBindAccountResponse getInstance(UnmarshallerContext context) { + return ListBindAccountResponseUnmarshaller.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/ListBindDataSourcesRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindDataSourcesRequest.java new file mode 100644 index 0000000000..aa4afea5a2 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindDataSourcesRequest.java @@ -0,0 +1,62 @@ +/* + * 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 ListBindDataSourcesRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + public ListBindDataSourcesRequest() { + super("cloud-siem", "2022-06-16", "ListBindDataSources", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + @Override + public Class getResponseClass() { + return ListBindDataSourcesResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindDataSourcesResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindDataSourcesResponse.java new file mode 100644 index 0000000000..5376aafcb7 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListBindDataSourcesResponse.java @@ -0,0 +1,150 @@ +/* + * 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.ListBindDataSourcesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListBindDataSourcesResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 accountName; + + private String dataSourceInstanceId; + + private String dataSourceType; + + private String dataSourceName; + + private String dataSourceRemark; + + private Integer logCount; + + private Integer taskCount; + + private String accountId; + + private String cloudCode; + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + } + + public String getDataSourceType() { + return this.dataSourceType; + } + + public void setDataSourceType(String dataSourceType) { + this.dataSourceType = dataSourceType; + } + + public String getDataSourceName() { + return this.dataSourceName; + } + + public void setDataSourceName(String dataSourceName) { + this.dataSourceName = dataSourceName; + } + + public String getDataSourceRemark() { + return this.dataSourceRemark; + } + + public void setDataSourceRemark(String dataSourceRemark) { + this.dataSourceRemark = dataSourceRemark; + } + + public Integer getLogCount() { + return this.logCount; + } + + public void setLogCount(Integer logCount) { + this.logCount = logCount; + } + + public Integer getTaskCount() { + return this.taskCount; + } + + public void setTaskCount(Integer taskCount) { + this.taskCount = taskCount; + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + } + + @Override + public ListBindDataSourcesResponse getInstance(UnmarshallerContext context) { + return ListBindDataSourcesResponseUnmarshaller.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/ListDataSourceLogsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceLogsRequest.java new file mode 100644 index 0000000000..0f19a2abbd --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceLogsRequest.java @@ -0,0 +1,75 @@ +/* + * 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 ListDataSourceLogsRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private String dataSourceInstanceId; + public ListDataSourceLogsRequest() { + super("cloud-siem", "2022-06-16", "ListDataSourceLogs", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + if(dataSourceInstanceId != null){ + putBodyParameter("DataSourceInstanceId", dataSourceInstanceId); + } + } + + @Override + public Class getResponseClass() { + return ListDataSourceLogsResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceLogsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceLogsResponse.java new file mode 100644 index 0000000000..04f0d05cf8 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceLogsResponse.java @@ -0,0 +1,206 @@ +/* + * 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.ListDataSourceLogsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListDataSourceLogsResponse 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 Long subUserId; + + private String dataSourceInstanceId; + + private String dataSourceInstanceName; + + private String dataSourceInstanceRemark; + + private String accountId; + + private String cloudCode; + + private List dataSourceInstanceLogs; + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + } + + public String getDataSourceInstanceName() { + return this.dataSourceInstanceName; + } + + public void setDataSourceInstanceName(String dataSourceInstanceName) { + this.dataSourceInstanceName = dataSourceInstanceName; + } + + public String getDataSourceInstanceRemark() { + return this.dataSourceInstanceRemark; + } + + public void setDataSourceInstanceRemark(String dataSourceInstanceRemark) { + this.dataSourceInstanceRemark = dataSourceInstanceRemark; + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public List getDataSourceInstanceLogs() { + return this.dataSourceInstanceLogs; + } + + public void setDataSourceInstanceLogs(List dataSourceInstanceLogs) { + this.dataSourceInstanceLogs = dataSourceInstanceLogs; + } + + public static class DataSourceInstanceLog { + + private String logInstanceId; + + private String logCode; + + private String logMdsCode; + + private Integer taskStatus; + + private List logParams; + + public String getLogInstanceId() { + return this.logInstanceId; + } + + public void setLogInstanceId(String logInstanceId) { + this.logInstanceId = logInstanceId; + } + + public String getLogCode() { + return this.logCode; + } + + public void setLogCode(String logCode) { + this.logCode = logCode; + } + + public String getLogMdsCode() { + return this.logMdsCode; + } + + public void setLogMdsCode(String logMdsCode) { + this.logMdsCode = logMdsCode; + } + + public Integer getTaskStatus() { + return this.taskStatus; + } + + public void setTaskStatus(Integer taskStatus) { + this.taskStatus = taskStatus; + } + + public List getLogParams() { + return this.logParams; + } + + public void setLogParams(List logParams) { + this.logParams = logParams; + } + + public static class LogParam { + + private String paraCode; + + private String paraValue; + + public String getParaCode() { + return this.paraCode; + } + + public void setParaCode(String paraCode) { + this.paraCode = paraCode; + } + + public String getParaValue() { + return this.paraValue; + } + + public void setParaValue(String paraValue) { + this.paraValue = paraValue; + } + } + } + } + + @Override + public ListDataSourceLogsResponse getInstance(UnmarshallerContext context) { + return ListDataSourceLogsResponseUnmarshaller.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/ListDataSourceTypesRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceTypesRequest.java new file mode 100644 index 0000000000..57cf003a49 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceTypesRequest.java @@ -0,0 +1,49 @@ +/* + * 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 ListDataSourceTypesRequest extends RpcAcsRequest { + + + private String cloudCode; + public ListDataSourceTypesRequest() { + super("cloud-siem", "2022-06-16", "ListDataSourceTypes", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + @Override + public Class getResponseClass() { + return ListDataSourceTypesResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceTypesResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceTypesResponse.java new file mode 100644 index 0000000000..fd5e5f2394 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListDataSourceTypesResponse.java @@ -0,0 +1,80 @@ +/* + * 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.ListDataSourceTypesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListDataSourceTypesResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 dataSourceType; + + private String cloudCode; + + public String getDataSourceType() { + return this.dataSourceType; + } + + public void setDataSourceType(String dataSourceType) { + this.dataSourceType = dataSourceType; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + } + + @Override + public ListDataSourceTypesResponse getInstance(UnmarshallerContext context) { + return ListDataSourceTypesResponseUnmarshaller.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/ListImportedLogsByProdRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListImportedLogsByProdRequest.java new file mode 100644 index 0000000000..5e3d4aebca --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListImportedLogsByProdRequest.java @@ -0,0 +1,62 @@ +/* + * 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 ListImportedLogsByProdRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String prodCode; + public ListImportedLogsByProdRequest() { + super("cloud-siem", "2022-06-16", "ListImportedLogsByProd", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getProdCode() { + return this.prodCode; + } + + public void setProdCode(String prodCode) { + this.prodCode = prodCode; + if(prodCode != null){ + putBodyParameter("ProdCode", prodCode); + } + } + + @Override + public Class getResponseClass() { + return ListImportedLogsByProdResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListImportedLogsByProdResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListImportedLogsByProdResponse.java new file mode 100644 index 0000000000..649be00a89 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListImportedLogsByProdResponse.java @@ -0,0 +1,160 @@ +/* + * 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.ListImportedLogsByProdResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListImportedLogsByProdResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 prodCode; + + private String logCode; + + private String logMdsCode; + + private Integer importedUserCount; + + private Integer unImportedUserCount; + + private Integer totalUserCount; + + private String modifyTime; + + private Integer imported; + + private Integer autoImported; + + private String cloudCode; + + public String getProdCode() { + return this.prodCode; + } + + public void setProdCode(String prodCode) { + this.prodCode = prodCode; + } + + public String getLogCode() { + return this.logCode; + } + + public void setLogCode(String logCode) { + this.logCode = logCode; + } + + public String getLogMdsCode() { + return this.logMdsCode; + } + + public void setLogMdsCode(String logMdsCode) { + this.logMdsCode = logMdsCode; + } + + public Integer getImportedUserCount() { + return this.importedUserCount; + } + + public void setImportedUserCount(Integer importedUserCount) { + this.importedUserCount = importedUserCount; + } + + public Integer getUnImportedUserCount() { + return this.unImportedUserCount; + } + + public void setUnImportedUserCount(Integer unImportedUserCount) { + this.unImportedUserCount = unImportedUserCount; + } + + public Integer getTotalUserCount() { + return this.totalUserCount; + } + + public void setTotalUserCount(Integer totalUserCount) { + this.totalUserCount = totalUserCount; + } + + public String getModifyTime() { + return this.modifyTime; + } + + public void setModifyTime(String modifyTime) { + this.modifyTime = modifyTime; + } + + public Integer getImported() { + return this.imported; + } + + public void setImported(Integer imported) { + this.imported = imported; + } + + public Integer getAutoImported() { + return this.autoImported; + } + + public void setAutoImported(Integer autoImported) { + this.autoImported = autoImported; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + } + + @Override + public ListImportedLogsByProdResponse getInstance(UnmarshallerContext context) { + return ListImportedLogsByProdResponseUnmarshaller.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/ListOperationResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListOperationResponse.java index c218afae64..d65ba38881 100644 --- 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 @@ -25,54 +25,10 @@ */ public class ListOperationResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -81,22 +37,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresRequest.java new file mode 100644 index 0000000000..0aefec3490 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresRequest.java @@ -0,0 +1,75 @@ +/* + * 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 ListProjectLogStoresRequest extends RpcAcsRequest { + + + private Long subUserId; + + private String sourceProdCode; + + private String sourceLogCode; + public ListProjectLogStoresRequest() { + super("cloud-siem", "2022-06-16", "ListProjectLogStores", "cloud-siem"); + setMethod(MethodType.POST); + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + if(subUserId != null){ + putBodyParameter("SubUserId", subUserId.toString()); + } + } + + public String getSourceProdCode() { + return this.sourceProdCode; + } + + public void setSourceProdCode(String sourceProdCode) { + this.sourceProdCode = sourceProdCode; + if(sourceProdCode != null){ + putBodyParameter("SourceProdCode", sourceProdCode); + } + } + + public String getSourceLogCode() { + return this.sourceLogCode; + } + + public void setSourceLogCode(String sourceLogCode) { + this.sourceLogCode = sourceLogCode; + if(sourceLogCode != null){ + putBodyParameter("SourceLogCode", sourceLogCode); + } + } + + @Override + public Class getResponseClass() { + return ListProjectLogStoresResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresResponse.java new file mode 100644 index 0000000000..39340e8c2a --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListProjectLogStoresResponse.java @@ -0,0 +1,140 @@ +/* + * 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.ListProjectLogStoresResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListProjectLogStoresResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 project; + + private String logStore; + + private String endPoint; + + private String regionId; + + private String localName; + + private Long mainUserId; + + private Long subUserId; + + private String subUserName; + + public String getProject() { + return this.project; + } + + public void setProject(String project) { + this.project = project; + } + + public String getLogStore() { + return this.logStore; + } + + public void setLogStore(String logStore) { + this.logStore = logStore; + } + + public String getEndPoint() { + return this.endPoint; + } + + public void setEndPoint(String endPoint) { + this.endPoint = endPoint; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getLocalName() { + return this.localName; + } + + public void setLocalName(String localName) { + this.localName = localName; + } + + public Long getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + } + + @Override + public ListProjectLogStoresResponse getInstance(UnmarshallerContext context) { + return ListProjectLogStoresResponseUnmarshaller.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/ListQuickQueryResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListQuickQueryResponse.java index fd2e247d5a..15103022d0 100644 --- 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 @@ -25,54 +25,10 @@ */ public class ListQuickQueryResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -81,22 +37,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersRequest.java new file mode 100644 index 0000000000..edb8014a0c --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersRequest.java @@ -0,0 +1,36 @@ +/* + * 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 ListRdUsersRequest extends RpcAcsRequest { + + public ListRdUsersRequest() { + super("cloud-siem", "2022-06-16", "ListRdUsers", "cloud-siem"); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return ListRdUsersResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersResponse.java new file mode 100644 index 0000000000..a9e5bd947c --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListRdUsersResponse.java @@ -0,0 +1,120 @@ +/* + * 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.ListRdUsersResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListRdUsersResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 Boolean joined; + + private String joinedTime; + + private Boolean delegatedOrNot; + + private Long mainUserId; + + private Long subUserId; + + private String subUserName; + + public Boolean getJoined() { + return this.joined; + } + + public void setJoined(Boolean joined) { + this.joined = joined; + } + + public String getJoinedTime() { + return this.joinedTime; + } + + public void setJoinedTime(String joinedTime) { + this.joinedTime = joinedTime; + } + + public Boolean getDelegatedOrNot() { + return this.delegatedOrNot; + } + + public void setDelegatedOrNot(Boolean delegatedOrNot) { + this.delegatedOrNot = delegatedOrNot; + } + + public Long getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + } + + @Override + public ListRdUsersResponse getInstance(UnmarshallerContext context) { + return ListRdUsersResponseUnmarshaller.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/ListUserProdLogsRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUserProdLogsRequest.java new file mode 100644 index 0000000000..af73c70dc6 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUserProdLogsRequest.java @@ -0,0 +1,62 @@ +/* + * 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 ListUserProdLogsRequest extends RpcAcsRequest { + + + private String sourceProdCode; + + private String sourceLogCode; + public ListUserProdLogsRequest() { + super("cloud-siem", "2022-06-16", "ListUserProdLogs", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getSourceProdCode() { + return this.sourceProdCode; + } + + public void setSourceProdCode(String sourceProdCode) { + this.sourceProdCode = sourceProdCode; + if(sourceProdCode != null){ + putBodyParameter("SourceProdCode", sourceProdCode); + } + } + + public String getSourceLogCode() { + return this.sourceLogCode; + } + + public void setSourceLogCode(String sourceLogCode) { + this.sourceLogCode = sourceLogCode; + if(sourceLogCode != null){ + putBodyParameter("SourceLogCode", sourceLogCode); + } + } + + @Override + public Class getResponseClass() { + return ListUserProdLogsResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUserProdLogsResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUserProdLogsResponse.java new file mode 100644 index 0000000000..aeb1dde893 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUserProdLogsResponse.java @@ -0,0 +1,160 @@ +/* + * 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.ListUserProdLogsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListUserProdLogsResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 sourceLogCode; + + private String sourceLogInfo; + + private String displayLine; + + private String sourceProdCode; + + private Integer isDeleted; + + private Boolean imported; + + private Boolean displayed; + + private Long mainUserId; + + private Long subUserId; + + private String subUserName; + + public String getSourceLogCode() { + return this.sourceLogCode; + } + + public void setSourceLogCode(String sourceLogCode) { + this.sourceLogCode = sourceLogCode; + } + + public String getSourceLogInfo() { + return this.sourceLogInfo; + } + + public void setSourceLogInfo(String sourceLogInfo) { + this.sourceLogInfo = sourceLogInfo; + } + + public String getDisplayLine() { + return this.displayLine; + } + + public void setDisplayLine(String displayLine) { + this.displayLine = displayLine; + } + + public String getSourceProdCode() { + return this.sourceProdCode; + } + + public void setSourceProdCode(String sourceProdCode) { + this.sourceProdCode = sourceProdCode; + } + + public Integer getIsDeleted() { + return this.isDeleted; + } + + public void setIsDeleted(Integer isDeleted) { + this.isDeleted = isDeleted; + } + + public Boolean getImported() { + return this.imported; + } + + public void setImported(Boolean imported) { + this.imported = imported; + } + + public Boolean getDisplayed() { + return this.displayed; + } + + public void setDisplayed(Boolean displayed) { + this.displayed = displayed; + } + + public Long getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + } + + @Override + public ListUserProdLogsResponse getInstance(UnmarshallerContext context) { + return ListUserProdLogsResponseUnmarshaller.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/ListUsersByProdRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUsersByProdRequest.java new file mode 100644 index 0000000000..8085273dd2 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUsersByProdRequest.java @@ -0,0 +1,49 @@ +/* + * 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 ListUsersByProdRequest extends RpcAcsRequest { + + + private String sourceProdCode; + public ListUsersByProdRequest() { + super("cloud-siem", "2022-06-16", "ListUsersByProd", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getSourceProdCode() { + return this.sourceProdCode; + } + + public void setSourceProdCode(String sourceProdCode) { + this.sourceProdCode = sourceProdCode; + if(sourceProdCode != null){ + putBodyParameter("SourceProdCode", sourceProdCode); + } + } + + @Override + public Class getResponseClass() { + return ListUsersByProdResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUsersByProdResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUsersByProdResponse.java new file mode 100644 index 0000000000..7780a658be --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ListUsersByProdResponse.java @@ -0,0 +1,150 @@ +/* + * 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.ListUsersByProdResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListUsersByProdResponse extends AcsResponse { + + private String requestId; + + private List data; + + 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 sourceProdCode; + + private String sourceLogCode; + + private String sourceLogName; + + private String cloudCode; + + private Boolean imported; + + private String logMdsCode; + + private Long mainUserId; + + private Long subUserId; + + private String subUserName; + + public String getSourceProdCode() { + return this.sourceProdCode; + } + + public void setSourceProdCode(String sourceProdCode) { + this.sourceProdCode = sourceProdCode; + } + + public String getSourceLogCode() { + return this.sourceLogCode; + } + + public void setSourceLogCode(String sourceLogCode) { + this.sourceLogCode = sourceLogCode; + } + + public String getSourceLogName() { + return this.sourceLogName; + } + + public void setSourceLogName(String sourceLogName) { + this.sourceLogName = sourceLogName; + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + } + + public Boolean getImported() { + return this.imported; + } + + public void setImported(Boolean imported) { + this.imported = imported; + } + + public String getLogMdsCode() { + return this.logMdsCode; + } + + public void setLogMdsCode(String logMdsCode) { + this.logMdsCode = logMdsCode; + } + + public Long getMainUserId() { + return this.mainUserId; + } + + public void setMainUserId(Long mainUserId) { + this.mainUserId = mainUserId; + } + + public Long getSubUserId() { + return this.subUserId; + } + + public void setSubUserId(Long subUserId) { + this.subUserId = subUserId; + } + + public String getSubUserName() { + return this.subUserName; + } + + public void setSubUserName(String subUserName) { + this.subUserName = subUserName; + } + } + + @Override + public ListUsersByProdResponse getInstance(UnmarshallerContext context) { + return ListUsersByProdResponseUnmarshaller.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/ModifyBindAccountRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountRequest.java new file mode 100644 index 0000000000..10e0ec107b --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountRequest.java @@ -0,0 +1,101 @@ +/* + * 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 ModifyBindAccountRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String accountId; + + private String accountName; + + private Long bindId; + + private String accessId; + public ModifyBindAccountRequest() { + super("cloud-siem", "2022-06-16", "ModifyBindAccount", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + if(accountName != null){ + putBodyParameter("AccountName", accountName); + } + } + + public Long getBindId() { + return this.bindId; + } + + public void setBindId(Long bindId) { + this.bindId = bindId; + if(bindId != null){ + putBodyParameter("BindId", bindId.toString()); + } + } + + public String getAccessId() { + return this.accessId; + } + + public void setAccessId(String accessId) { + this.accessId = accessId; + if(accessId != null){ + putBodyParameter("AccessId", accessId); + } + } + + @Override + public Class getResponseClass() { + return ModifyBindAccountResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountResponse.java new file mode 100644 index 0000000000..1aab178c84 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountResponse.java @@ -0,0 +1,69 @@ +/* + * 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.ModifyBindAccountResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyBindAccountResponse 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 count; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + } + + @Override + public ModifyBindAccountResponse getInstance(UnmarshallerContext context) { + return ModifyBindAccountResponseUnmarshaller.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/ModifyDataSourceLogRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogRequest.java new file mode 100644 index 0000000000..7297267e72 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogRequest.java @@ -0,0 +1,127 @@ +/* + * 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 ModifyDataSourceLogRequest extends RpcAcsRequest { + + + private String dataSourceType; + + private String cloudCode; + + private String accountId; + + private String logCode; + + private String logInstanceId; + + private String dataSourceInstanceLogs; + + private String dataSourceInstanceId; + public ModifyDataSourceLogRequest() { + super("cloud-siem", "2022-06-16", "ModifyDataSourceLog", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getDataSourceType() { + return this.dataSourceType; + } + + public void setDataSourceType(String dataSourceType) { + this.dataSourceType = dataSourceType; + if(dataSourceType != null){ + putBodyParameter("DataSourceType", dataSourceType); + } + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getLogCode() { + return this.logCode; + } + + public void setLogCode(String logCode) { + this.logCode = logCode; + if(logCode != null){ + putBodyParameter("LogCode", logCode); + } + } + + public String getLogInstanceId() { + return this.logInstanceId; + } + + public void setLogInstanceId(String logInstanceId) { + this.logInstanceId = logInstanceId; + if(logInstanceId != null){ + putBodyParameter("LogInstanceId", logInstanceId); + } + } + + public String getDataSourceInstanceLogs() { + return this.dataSourceInstanceLogs; + } + + public void setDataSourceInstanceLogs(String dataSourceInstanceLogs) { + this.dataSourceInstanceLogs = dataSourceInstanceLogs; + if(dataSourceInstanceLogs != null){ + putBodyParameter("DataSourceInstanceLogs", dataSourceInstanceLogs); + } + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + if(dataSourceInstanceId != null){ + putBodyParameter("DataSourceInstanceId", dataSourceInstanceId); + } + } + + @Override + public Class getResponseClass() { + return ModifyDataSourceLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogResponse.java new file mode 100644 index 0000000000..133e3a0226 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogResponse.java @@ -0,0 +1,79 @@ +/* + * 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.ModifyDataSourceLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyDataSourceLogResponse 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 count; + + private String logInstanceId; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public String getLogInstanceId() { + return this.logInstanceId; + } + + public void setLogInstanceId(String logInstanceId) { + this.logInstanceId = logInstanceId; + } + } + + @Override + public ModifyDataSourceLogResponse getInstance(UnmarshallerContext context) { + return ModifyDataSourceLogResponseUnmarshaller.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/ModifyDataSourceRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceRequest.java new file mode 100644 index 0000000000..3e75374bcb --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceRequest.java @@ -0,0 +1,127 @@ +/* + * 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 ModifyDataSourceRequest extends RpcAcsRequest { + + + private String dataSourceType; + + private String cloudCode; + + private String dataSourceInstanceName; + + private String accountId; + + private String dataSourceInstanceRemark; + + private String dataSourceInstanceParams; + + private String dataSourceInstanceId; + public ModifyDataSourceRequest() { + super("cloud-siem", "2022-06-16", "ModifyDataSource", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getDataSourceType() { + return this.dataSourceType; + } + + public void setDataSourceType(String dataSourceType) { + this.dataSourceType = dataSourceType; + if(dataSourceType != null){ + putBodyParameter("DataSourceType", dataSourceType); + } + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getDataSourceInstanceName() { + return this.dataSourceInstanceName; + } + + public void setDataSourceInstanceName(String dataSourceInstanceName) { + this.dataSourceInstanceName = dataSourceInstanceName; + if(dataSourceInstanceName != null){ + putBodyParameter("DataSourceInstanceName", dataSourceInstanceName); + } + } + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + if(accountId != null){ + putBodyParameter("AccountId", accountId); + } + } + + public String getDataSourceInstanceRemark() { + return this.dataSourceInstanceRemark; + } + + public void setDataSourceInstanceRemark(String dataSourceInstanceRemark) { + this.dataSourceInstanceRemark = dataSourceInstanceRemark; + if(dataSourceInstanceRemark != null){ + putBodyParameter("DataSourceInstanceRemark", dataSourceInstanceRemark); + } + } + + public String getDataSourceInstanceParams() { + return this.dataSourceInstanceParams; + } + + public void setDataSourceInstanceParams(String dataSourceInstanceParams) { + this.dataSourceInstanceParams = dataSourceInstanceParams; + if(dataSourceInstanceParams != null){ + putBodyParameter("DataSourceInstanceParams", dataSourceInstanceParams); + } + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + if(dataSourceInstanceId != null){ + putBodyParameter("DataSourceInstanceId", dataSourceInstanceId); + } + } + + @Override + public Class getResponseClass() { + return ModifyDataSourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceResponse.java new file mode 100644 index 0000000000..ce2b5f6918 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceResponse.java @@ -0,0 +1,79 @@ +/* + * 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.ModifyDataSourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ModifyDataSourceResponse 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 count; + + private String dataSourceInstanceId; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public String getDataSourceInstanceId() { + return this.dataSourceInstanceId; + } + + public void setDataSourceInstanceId(String dataSourceInstanceId) { + this.dataSourceInstanceId = dataSourceInstanceId; + } + } + + @Override + public ModifyDataSourceResponse getInstance(UnmarshallerContext context) { + return ModifyDataSourceResponseUnmarshaller.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/OpenDeliveryResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/OpenDeliveryResponse.java index 8d77e50553..a1a4133764 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/OpenDeliveryResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/OpenDeliveryResponse.java @@ -26,20 +26,8 @@ public class OpenDeliveryResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public OpenDeliveryResponse getInstance(UnmarshallerContext context) { return OpenDeliveryResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/RestoreCapacityResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/RestoreCapacityResponse.java index e70e3a5990..197b0cc28e 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/RestoreCapacityResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/RestoreCapacityResponse.java @@ -26,20 +26,8 @@ public class RestoreCapacityResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public RestoreCapacityResponse getInstance(UnmarshallerContext context) { return RestoreCapacityResponseUnmarshaller.unmarshall(this, context); 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 index abd2ce39e4..44a73868f8 100644 --- 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 @@ -26,20 +26,8 @@ public class SaveQuickQueryResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public SaveQuickQueryResponse getInstance(UnmarshallerContext context) { return SaveQuickQueryResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SetStorageResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SetStorageResponse.java index 1a1541107f..fc972d9414 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SetStorageResponse.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SetStorageResponse.java @@ -26,20 +26,8 @@ public class SetStorageResponse extends AcsResponse { private Boolean data; - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - public Boolean getData() { return this.data; } @@ -48,38 +36,6 @@ public void setData(Boolean data) { this.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; } @@ -88,22 +44,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - @Override public SetStorageResponse getInstance(UnmarshallerContext context) { return SetStorageResponseUnmarshaller.unmarshall(this, context); 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 index 77ce684810..f7ea638456 100644 --- 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 @@ -25,54 +25,10 @@ */ public class ShowQuickAnalysisResponse extends AcsResponse { - private Boolean success; - - private Integer code; - - private String message; - - private String errCode; - private String requestId; - private String dyCode; - - private String dyMessage; - 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; } @@ -81,22 +37,6 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public String getDyCode() { - return this.dyCode; - } - - public void setDyCode(String dyCode) { - this.dyCode = dyCode; - } - - public String getDyMessage() { - return this.dyMessage; - } - - public void setDyMessage(String dyMessage) { - this.dyMessage = dyMessage; - } - public Data getData() { return this.data; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksRequest.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksRequest.java new file mode 100644 index 0000000000..84c4353a39 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksRequest.java @@ -0,0 +1,101 @@ +/* + * 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 SubmitImportLogTasksRequest extends RpcAcsRequest { + + + private String cloudCode; + + private String logCodes; + + private String prodCode; + + private Integer autoImported; + + private String accounts; + public SubmitImportLogTasksRequest() { + super("cloud-siem", "2022-06-16", "SubmitImportLogTasks", "cloud-siem"); + setMethod(MethodType.POST); + } + + public String getCloudCode() { + return this.cloudCode; + } + + public void setCloudCode(String cloudCode) { + this.cloudCode = cloudCode; + if(cloudCode != null){ + putBodyParameter("CloudCode", cloudCode); + } + } + + public String getLogCodes() { + return this.logCodes; + } + + public void setLogCodes(String logCodes) { + this.logCodes = logCodes; + if(logCodes != null){ + putBodyParameter("LogCodes", logCodes); + } + } + + public String getProdCode() { + return this.prodCode; + } + + public void setProdCode(String prodCode) { + this.prodCode = prodCode; + if(prodCode != null){ + putBodyParameter("ProdCode", prodCode); + } + } + + public Integer getAutoImported() { + return this.autoImported; + } + + public void setAutoImported(Integer autoImported) { + this.autoImported = autoImported; + if(autoImported != null){ + putBodyParameter("AutoImported", autoImported.toString()); + } + } + + public String getAccounts() { + return this.accounts; + } + + public void setAccounts(String accounts) { + this.accounts = accounts; + if(accounts != null){ + putBodyParameter("Accounts", accounts); + } + } + + @Override + public Class getResponseClass() { + return SubmitImportLogTasksResponse.class; + } + +} diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksResponse.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksResponse.java new file mode 100644 index 0000000000..5c706f825b --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksResponse.java @@ -0,0 +1,69 @@ +/* + * 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.SubmitImportLogTasksResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SubmitImportLogTasksResponse 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 count; + + public Integer getCount() { + return this.count; + } + + public void setCount(Integer count) { + this.count = count; + } + } + + @Override + public SubmitImportLogTasksResponse getInstance(UnmarshallerContext context) { + return SubmitImportLogTasksResponseUnmarshaller.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 new file mode 100644 index 0000000000..1095acfb79 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsRequest.java @@ -0,0 +1,49 @@ +/* + * 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 new file mode 100644 index 0000000000..9ebd93f178 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/model/v20220616/SubmitJobsResponse.java @@ -0,0 +1,56 @@ +/* + * 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/AddDataSourceLogResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceLogResponseUnmarshaller.java new file mode 100644 index 0000000000..71e5083de5 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceLogResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * 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.AddDataSourceLogResponse; +import com.aliyuncs.cloud_siem.model.v20220616.AddDataSourceLogResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddDataSourceLogResponseUnmarshaller { + + public static AddDataSourceLogResponse unmarshall(AddDataSourceLogResponse addDataSourceLogResponse, UnmarshallerContext _ctx) { + + addDataSourceLogResponse.setRequestId(_ctx.stringValue("AddDataSourceLogResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("AddDataSourceLogResponse.Data.Count")); + data.setLogInstanceId(_ctx.stringValue("AddDataSourceLogResponse.Data.LogInstanceId")); + addDataSourceLogResponse.setData(data); + + return addDataSourceLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceResponseUnmarshaller.java new file mode 100644 index 0000000000..a6754ba99d --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * 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.AddDataSourceResponse; +import com.aliyuncs.cloud_siem.model.v20220616.AddDataSourceResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddDataSourceResponseUnmarshaller { + + public static AddDataSourceResponse unmarshall(AddDataSourceResponse addDataSourceResponse, UnmarshallerContext _ctx) { + + addDataSourceResponse.setRequestId(_ctx.stringValue("AddDataSourceResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("AddDataSourceResponse.Data.Count")); + data.setDataSourceInstanceId(_ctx.stringValue("AddDataSourceResponse.Data.DataSourceInstanceId")); + addDataSourceResponse.setData(data); + + return addDataSourceResponse; + } +} \ No newline at end of file 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 new file mode 100644 index 0000000000..46e06af1f1 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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/AddUserSourceLogConfigResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserSourceLogConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..ee46a982cd --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/AddUserSourceLogConfigResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * 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.AddUserSourceLogConfigResponse; +import com.aliyuncs.cloud_siem.model.v20220616.AddUserSourceLogConfigResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddUserSourceLogConfigResponseUnmarshaller { + + public static AddUserSourceLogConfigResponse unmarshall(AddUserSourceLogConfigResponse addUserSourceLogConfigResponse, UnmarshallerContext _ctx) { + + addUserSourceLogConfigResponse.setRequestId(_ctx.stringValue("AddUserSourceLogConfigResponse.RequestId")); + + Data data = new Data(); + data.setDiplayLine(_ctx.stringValue("AddUserSourceLogConfigResponse.Data.DiplayLine")); + data.setSourceProdCode(_ctx.stringValue("AddUserSourceLogConfigResponse.Data.SourceProdCode")); + data.setSourceLogCode(_ctx.stringValue("AddUserSourceLogConfigResponse.Data.SourceLogCode")); + data.setDisplayed(_ctx.booleanValue("AddUserSourceLogConfigResponse.Data.Displayed")); + data.setImported(_ctx.booleanValue("AddUserSourceLogConfigResponse.Data.Imported")); + data.setMainUserId(_ctx.longValue("AddUserSourceLogConfigResponse.Data.MainUserId")); + data.setSubUserId(_ctx.longValue("AddUserSourceLogConfigResponse.Data.SubUserId")); + data.setSubUserName(_ctx.stringValue("AddUserSourceLogConfigResponse.Data.SubUserName")); + addUserSourceLogConfigResponse.setData(data); + + return addUserSourceLogConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/BindAccountResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/BindAccountResponseUnmarshaller.java new file mode 100644 index 0000000000..b399680d5a --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/BindAccountResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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.BindAccountResponse; +import com.aliyuncs.cloud_siem.model.v20220616.BindAccountResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class BindAccountResponseUnmarshaller { + + public static BindAccountResponse unmarshall(BindAccountResponse bindAccountResponse, UnmarshallerContext _ctx) { + + bindAccountResponse.setRequestId(_ctx.stringValue("BindAccountResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("BindAccountResponse.Data.Count")); + bindAccountResponse.setData(data); + + return bindAccountResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/CloseDeliveryResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/CloseDeliveryResponseUnmarshaller.java index 149708eae9..e2e22abd82 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/CloseDeliveryResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/CloseDeliveryResponseUnmarshaller.java @@ -23,13 +23,7 @@ public class CloseDeliveryResponseUnmarshaller { public static CloseDeliveryResponse unmarshall(CloseDeliveryResponse closeDeliveryResponse, UnmarshallerContext _ctx) { closeDeliveryResponse.setRequestId(_ctx.stringValue("CloseDeliveryResponse.RequestId")); - closeDeliveryResponse.setData(_ctx.booleanValue("CloseDeliveryResponse.Data")); - closeDeliveryResponse.setSuccess(_ctx.booleanValue("CloseDeliveryResponse.Success")); - closeDeliveryResponse.setCode(_ctx.integerValue("CloseDeliveryResponse.Code")); - closeDeliveryResponse.setMessage(_ctx.stringValue("CloseDeliveryResponse.Message")); - closeDeliveryResponse.setErrCode(_ctx.stringValue("CloseDeliveryResponse.ErrCode")); - closeDeliveryResponse.setDyCode(_ctx.stringValue("CloseDeliveryResponse.DyCode")); - closeDeliveryResponse.setDyMessage(_ctx.stringValue("CloseDeliveryResponse.DyMessage")); + closeDeliveryResponse.setData(_ctx.booleanValue("CloseDeliveryResponse.Data")); return closeDeliveryResponse; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteBindAccountResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteBindAccountResponseUnmarshaller.java new file mode 100644 index 0000000000..c0bc1fe9a7 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteBindAccountResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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.DeleteBindAccountResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DeleteBindAccountResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteBindAccountResponseUnmarshaller { + + public static DeleteBindAccountResponse unmarshall(DeleteBindAccountResponse deleteBindAccountResponse, UnmarshallerContext _ctx) { + + deleteBindAccountResponse.setRequestId(_ctx.stringValue("DeleteBindAccountResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("DeleteBindAccountResponse.Data.Count")); + deleteBindAccountResponse.setData(data); + + return deleteBindAccountResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceLogResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceLogResponseUnmarshaller.java new file mode 100644 index 0000000000..1e400d2df9 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceLogResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * 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.DeleteDataSourceLogResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DeleteDataSourceLogResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDataSourceLogResponseUnmarshaller { + + public static DeleteDataSourceLogResponse unmarshall(DeleteDataSourceLogResponse deleteDataSourceLogResponse, UnmarshallerContext _ctx) { + + deleteDataSourceLogResponse.setRequestId(_ctx.stringValue("DeleteDataSourceLogResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("DeleteDataSourceLogResponse.Data.Count")); + data.setLogInstanceId(_ctx.stringValue("DeleteDataSourceLogResponse.Data.LogInstanceId")); + deleteDataSourceLogResponse.setData(data); + + return deleteDataSourceLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceResponseUnmarshaller.java new file mode 100644 index 0000000000..ade48d4eff --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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.DeleteDataSourceResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DeleteDataSourceResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDataSourceResponseUnmarshaller { + + public static DeleteDataSourceResponse unmarshall(DeleteDataSourceResponse deleteDataSourceResponse, UnmarshallerContext _ctx) { + + deleteDataSourceResponse.setRequestId(_ctx.stringValue("DeleteDataSourceResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("DeleteDataSourceResponse.Data.Count")); + deleteDataSourceResponse.setData(data); + + return deleteDataSourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteQuickQueryResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteQuickQueryResponseUnmarshaller.java index ad102e9d14..f9e302cfec 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteQuickQueryResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteQuickQueryResponseUnmarshaller.java @@ -23,13 +23,7 @@ public class DeleteQuickQueryResponseUnmarshaller { public static DeleteQuickQueryResponse unmarshall(DeleteQuickQueryResponse deleteQuickQueryResponse, UnmarshallerContext _ctx) { deleteQuickQueryResponse.setRequestId(_ctx.stringValue("DeleteQuickQueryResponse.RequestId")); - deleteQuickQueryResponse.setData(_ctx.booleanValue("DeleteQuickQueryResponse.Data")); - deleteQuickQueryResponse.setSuccess(_ctx.booleanValue("DeleteQuickQueryResponse.Success")); - deleteQuickQueryResponse.setCode(_ctx.integerValue("DeleteQuickQueryResponse.Code")); - deleteQuickQueryResponse.setMessage(_ctx.stringValue("DeleteQuickQueryResponse.Message")); - deleteQuickQueryResponse.setErrCode(_ctx.stringValue("DeleteQuickQueryResponse.ErrCode")); - deleteQuickQueryResponse.setDyCode(_ctx.stringValue("DeleteQuickQueryResponse.DyCode")); - deleteQuickQueryResponse.setDyMessage(_ctx.stringValue("DeleteQuickQueryResponse.DyMessage")); + deleteQuickQueryResponse.setData(_ctx.booleanValue("DeleteQuickQueryResponse.Data")); return deleteQuickQueryResponse; } 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 new file mode 100644 index 0000000000..823494fb2c --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DeleteUserResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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/DescribeAlertSceneResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertSceneResponseUnmarshaller.java new file mode 100644 index 0000000000..18cccca4ad --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertSceneResponseUnmarshaller.java @@ -0,0 +1,68 @@ +/* + * 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.DescribeAlertSceneResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertSceneResponse.DataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertSceneResponse.DataItem.Target; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeAlertSceneResponseUnmarshaller { + + public static DescribeAlertSceneResponse unmarshall(DescribeAlertSceneResponse describeAlertSceneResponse, UnmarshallerContext _ctx) { + + describeAlertSceneResponse.setRequestId(_ctx.stringValue("DescribeAlertSceneResponse.RequestId")); + describeAlertSceneResponse.setSuccess(_ctx.booleanValue("DescribeAlertSceneResponse.Success")); + describeAlertSceneResponse.setCode(_ctx.integerValue("DescribeAlertSceneResponse.Code")); + describeAlertSceneResponse.setMessage(_ctx.stringValue("DescribeAlertSceneResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeAlertSceneResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setAlertType(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].AlertType")); + dataItem.setAlertTypeId(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].AlertTypeId")); + dataItem.setAlertName(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].AlertName")); + dataItem.setAlertNameId(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].AlertNameId")); + dataItem.setAlertTile(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].AlertTile")); + dataItem.setAlertTileId(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].AlertTileId")); + + List targets = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeAlertSceneResponse.Data["+ i +"].Targets.Length"); j++) { + Target target = new Target(); + target.setType(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].Targets["+ j +"].Type")); + target.setName(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].Targets["+ j +"].Name")); + target.setValue(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].Targets["+ j +"].Value")); + + List values = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("DescribeAlertSceneResponse.Data["+ i +"].Targets["+ j +"].Values.Length"); k++) { + values.add(_ctx.stringValue("DescribeAlertSceneResponse.Data["+ i +"].Targets["+ j +"].Values["+ k +"]")); + } + target.setValues(values); + + targets.add(target); + } + dataItem.setTargets(targets); + + data.add(dataItem); + } + describeAlertSceneResponse.setData(data); + + return describeAlertSceneResponse; + } +} \ No newline at end of file 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 new file mode 100644 index 0000000000..4ee6c01cd9 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsResponseUnmarshaller.java @@ -0,0 +1,98 @@ +/* + * 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.DescribeAlertsResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsResponse.Data.PageInfo; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsResponse.Data.ResponseDataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsResponse.Data.ResponseDataItem.AlertInfoListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeAlertsResponseUnmarshaller { + + public static DescribeAlertsResponse unmarshall(DescribeAlertsResponse describeAlertsResponse, UnmarshallerContext _ctx) { + + describeAlertsResponse.setRequestId(_ctx.stringValue("DescribeAlertsResponse.RequestId")); + describeAlertsResponse.setSuccess(_ctx.booleanValue("DescribeAlertsResponse.Success")); + describeAlertsResponse.setCode(_ctx.integerValue("DescribeAlertsResponse.Code")); + describeAlertsResponse.setMessage(_ctx.stringValue("DescribeAlertsResponse.Message")); + + Data data = new Data(); + + PageInfo pageInfo = new PageInfo(); + pageInfo.setCurrentPage(_ctx.integerValue("DescribeAlertsResponse.Data.PageInfo.CurrentPage")); + pageInfo.setPageSize(_ctx.integerValue("DescribeAlertsResponse.Data.PageInfo.PageSize")); + pageInfo.setTotalCount(_ctx.longValue("DescribeAlertsResponse.Data.PageInfo.TotalCount")); + data.setPageInfo(pageInfo); + + List responseData = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeAlertsResponse.Data.ResponseData.Length"); i++) { + ResponseDataItem responseDataItem = new ResponseDataItem(); + responseDataItem.setId(_ctx.longValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].Id")); + responseDataItem.setGmtCreate(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].GmtCreate")); + responseDataItem.setGmtModified(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].GmtModified")); + responseDataItem.setMainUserId(_ctx.longValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].MainUserId")); + responseDataItem.setIncidentUuid(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].IncidentUuid")); + responseDataItem.setAlertUuid(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertUuid")); + responseDataItem.setLogTime(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].LogTime")); + responseDataItem.setAlertSrcProd(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertSrcProd")); + responseDataItem.setAlertTitle(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertTitle")); + responseDataItem.setAlertTitleEn(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertTitleEn")); + responseDataItem.setAlertType(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertType")); + responseDataItem.setAlertTypeEn(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertTypeEn")); + responseDataItem.setAlertTypeCode(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertTypeCode")); + responseDataItem.setAlertName(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertName")); + responseDataItem.setAlertNameEn(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertNameEn")); + responseDataItem.setAlertNameCode(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertNameCode")); + responseDataItem.setAlertLevel(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertLevel")); + responseDataItem.setAssetList(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AssetList")); + responseDataItem.setOccurTime(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].OccurTime")); + responseDataItem.setStartTime(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].StartTime")); + responseDataItem.setEndTime(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].EndTime")); + responseDataItem.setAlertSrcProdModule(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertSrcProdModule")); + responseDataItem.setAlertDesc(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertDesc")); + responseDataItem.setAlertDescEn(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertDescEn")); + 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.setAttCk(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AttCk")); + responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].SubUserId")); + responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].CloudCode")); + responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].IsDefend")); + + List alertInfoList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertInfoList.Length"); j++) { + AlertInfoListItem alertInfoListItem = new AlertInfoListItem(); + alertInfoListItem.setKey(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].Key")); + alertInfoListItem.setKeyName(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].KeyName")); + alertInfoListItem.setValues(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].Values")); + + alertInfoList.add(alertInfoListItem); + } + responseDataItem.setAlertInfoList(alertInfoList); + + responseData.add(responseDataItem); + } + data.setResponseData(responseData); + describeAlertsResponse.setData(data); + + return describeAlertsResponse; + } +} \ No newline at end of file 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 new file mode 100644 index 0000000000..c5642567d4 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEntityResponseUnmarshaller.java @@ -0,0 +1,98 @@ +/* + * 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.DescribeAlertsWithEntityResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEntityResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEntityResponse.Data.PageInfo; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEntityResponse.Data.ResponseDataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEntityResponse.Data.ResponseDataItem.AlertInfoListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeAlertsWithEntityResponseUnmarshaller { + + public static DescribeAlertsWithEntityResponse unmarshall(DescribeAlertsWithEntityResponse describeAlertsWithEntityResponse, UnmarshallerContext _ctx) { + + describeAlertsWithEntityResponse.setRequestId(_ctx.stringValue("DescribeAlertsWithEntityResponse.RequestId")); + describeAlertsWithEntityResponse.setSuccess(_ctx.booleanValue("DescribeAlertsWithEntityResponse.Success")); + describeAlertsWithEntityResponse.setCode(_ctx.integerValue("DescribeAlertsWithEntityResponse.Code")); + describeAlertsWithEntityResponse.setMessage(_ctx.stringValue("DescribeAlertsWithEntityResponse.Message")); + + Data data = new Data(); + + PageInfo pageInfo = new PageInfo(); + pageInfo.setCurrentPage(_ctx.integerValue("DescribeAlertsWithEntityResponse.Data.PageInfo.CurrentPage")); + pageInfo.setPageSize(_ctx.integerValue("DescribeAlertsWithEntityResponse.Data.PageInfo.PageSize")); + pageInfo.setTotalCount(_ctx.longValue("DescribeAlertsWithEntityResponse.Data.PageInfo.TotalCount")); + data.setPageInfo(pageInfo); + + List responseData = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeAlertsWithEntityResponse.Data.ResponseData.Length"); i++) { + ResponseDataItem responseDataItem = new ResponseDataItem(); + responseDataItem.setId(_ctx.longValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].Id")); + responseDataItem.setGmtCreate(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].GmtCreate")); + responseDataItem.setGmtModified(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].GmtModified")); + responseDataItem.setMainUserId(_ctx.longValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].MainUserId")); + responseDataItem.setIncidentUuid(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].IncidentUuid")); + responseDataItem.setAlertUuid(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertUuid")); + responseDataItem.setLogTime(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].LogTime")); + responseDataItem.setAlertSrcProd(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertSrcProd")); + responseDataItem.setAlertTitle(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertTitle")); + responseDataItem.setAlertTitleEn(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertTitleEn")); + responseDataItem.setAlertType(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertType")); + responseDataItem.setAlertTypeEn(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertTypeEn")); + responseDataItem.setAlertTypeCode(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertTypeCode")); + responseDataItem.setAlertName(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertName")); + responseDataItem.setAlertNameEn(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertNameEn")); + responseDataItem.setAlertNameCode(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertNameCode")); + responseDataItem.setAlertLevel(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertLevel")); + responseDataItem.setAssetList(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AssetList")); + responseDataItem.setOccurTime(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].OccurTime")); + responseDataItem.setStartTime(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].StartTime")); + responseDataItem.setEndTime(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].EndTime")); + responseDataItem.setAlertSrcProdModule(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertSrcProdModule")); + responseDataItem.setAlertDesc(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertDesc")); + responseDataItem.setAlertDescEn(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertDescEn")); + 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.setAttCk(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AttCk")); + responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].SubUserId")); + responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].CloudCode")); + responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].IsDefend")); + + List alertInfoList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertInfoList.Length"); j++) { + AlertInfoListItem alertInfoListItem = new AlertInfoListItem(); + alertInfoListItem.setKey(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].Key")); + alertInfoListItem.setKeyName(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].KeyName")); + alertInfoListItem.setValues(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].Values")); + + alertInfoList.add(alertInfoListItem); + } + responseDataItem.setAlertInfoList(alertInfoList); + + responseData.add(responseDataItem); + } + data.setResponseData(responseData); + describeAlertsWithEntityResponse.setData(data); + + return describeAlertsWithEntityResponse; + } +} \ No newline at end of file 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 new file mode 100644 index 0000000000..1d1ac5b3d8 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEventResponseUnmarshaller.java @@ -0,0 +1,98 @@ +/* + * 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.DescribeAlertsWithEventResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEventResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEventResponse.Data.PageInfo; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEventResponse.Data.ResponseDataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsWithEventResponse.Data.ResponseDataItem.AlertInfoListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeAlertsWithEventResponseUnmarshaller { + + public static DescribeAlertsWithEventResponse unmarshall(DescribeAlertsWithEventResponse describeAlertsWithEventResponse, UnmarshallerContext _ctx) { + + describeAlertsWithEventResponse.setRequestId(_ctx.stringValue("DescribeAlertsWithEventResponse.RequestId")); + describeAlertsWithEventResponse.setSuccess(_ctx.booleanValue("DescribeAlertsWithEventResponse.Success")); + describeAlertsWithEventResponse.setCode(_ctx.integerValue("DescribeAlertsWithEventResponse.Code")); + describeAlertsWithEventResponse.setMessage(_ctx.stringValue("DescribeAlertsWithEventResponse.Message")); + + Data data = new Data(); + + PageInfo pageInfo = new PageInfo(); + pageInfo.setCurrentPage(_ctx.integerValue("DescribeAlertsWithEventResponse.Data.PageInfo.CurrentPage")); + pageInfo.setPageSize(_ctx.integerValue("DescribeAlertsWithEventResponse.Data.PageInfo.PageSize")); + pageInfo.setTotalCount(_ctx.longValue("DescribeAlertsWithEventResponse.Data.PageInfo.TotalCount")); + data.setPageInfo(pageInfo); + + List responseData = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeAlertsWithEventResponse.Data.ResponseData.Length"); i++) { + ResponseDataItem responseDataItem = new ResponseDataItem(); + responseDataItem.setId(_ctx.longValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].Id")); + responseDataItem.setGmtCreate(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].GmtCreate")); + responseDataItem.setGmtModified(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].GmtModified")); + responseDataItem.setMainUserId(_ctx.longValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].MainUserId")); + responseDataItem.setIncidentUuid(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].IncidentUuid")); + responseDataItem.setAlertUuid(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertUuid")); + responseDataItem.setLogTime(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].LogTime")); + responseDataItem.setAlertSrcProd(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertSrcProd")); + responseDataItem.setAlertTitle(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertTitle")); + responseDataItem.setAlertTitleEn(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertTitleEn")); + responseDataItem.setAlertType(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertType")); + responseDataItem.setAlertTypeEn(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertTypeEn")); + responseDataItem.setAlertTypeCode(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertTypeCode")); + responseDataItem.setAlertName(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertName")); + responseDataItem.setAlertNameEn(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertNameEn")); + responseDataItem.setAlertNameCode(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertNameCode")); + responseDataItem.setAlertLevel(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertLevel")); + responseDataItem.setAssetList(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AssetList")); + responseDataItem.setOccurTime(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].OccurTime")); + responseDataItem.setStartTime(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].StartTime")); + responseDataItem.setEndTime(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].EndTime")); + responseDataItem.setAlertSrcProdModule(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertSrcProdModule")); + responseDataItem.setAlertDesc(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertDesc")); + responseDataItem.setAlertDescEn(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertDescEn")); + responseDataItem.setAlertDescCode(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertDescCode")); + responseDataItem.setAlertDetail(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertDetail")); + responseDataItem.setLogUuid(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].LogUuid")); + responseDataItem.setAttCk(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AttCk")); + responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].SubUserId")); + responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].CloudCode")); + responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].IsDefend")); + + List alertInfoList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertInfoList.Length"); j++) { + AlertInfoListItem alertInfoListItem = new AlertInfoListItem(); + alertInfoListItem.setKey(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].Key")); + alertInfoListItem.setKeyName(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].KeyName")); + alertInfoListItem.setValues(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AlertInfoList["+ j +"].Values")); + + alertInfoList.add(alertInfoListItem); + } + responseDataItem.setAlertInfoList(alertInfoList); + + responseData.add(responseDataItem); + } + data.setResponseData(responseData); + describeAlertsWithEventResponse.setData(data); + + return describeAlertsWithEventResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAuthResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAuthResponseUnmarshaller.java new file mode 100644 index 0000000000..c3f3656792 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAuthResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.DescribeAuthResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeAuthResponseUnmarshaller { + + public static DescribeAuthResponse unmarshall(DescribeAuthResponse describeAuthResponse, UnmarshallerContext _ctx) { + + describeAuthResponse.setRequestId(_ctx.stringValue("DescribeAuthResponse.RequestId")); + describeAuthResponse.setData(_ctx.booleanValue("DescribeAuthResponse.Data")); + + return describeAuthResponse; + } +} \ No newline at end of file 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 new file mode 100644 index 0000000000..01c19e9aa7 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCsImportedProdStatusByUserResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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/DescribeDataSourceInstanceResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceInstanceResponseUnmarshaller.java new file mode 100644 index 0000000000..a59d9d3a18 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceInstanceResponseUnmarshaller.java @@ -0,0 +1,50 @@ +/* + * 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.DescribeDataSourceInstanceResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeDataSourceInstanceResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeDataSourceInstanceResponse.Data.DataSourceInstanceParam; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDataSourceInstanceResponseUnmarshaller { + + public static DescribeDataSourceInstanceResponse unmarshall(DescribeDataSourceInstanceResponse describeDataSourceInstanceResponse, UnmarshallerContext _ctx) { + + describeDataSourceInstanceResponse.setRequestId(_ctx.stringValue("DescribeDataSourceInstanceResponse.RequestId")); + + Data data = new Data(); + data.setDataSourceInstanceId(_ctx.stringValue("DescribeDataSourceInstanceResponse.Data.DataSourceInstanceId")); + data.setAccountId(_ctx.stringValue("DescribeDataSourceInstanceResponse.Data.AccountId")); + data.setCloudCode(_ctx.stringValue("DescribeDataSourceInstanceResponse.Data.CloudCode")); + + List dataSourceInstanceParams = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDataSourceInstanceResponse.Data.DataSourceInstanceParams.Length"); i++) { + DataSourceInstanceParam dataSourceInstanceParam = new DataSourceInstanceParam(); + dataSourceInstanceParam.setParaCode(_ctx.stringValue("DescribeDataSourceInstanceResponse.Data.DataSourceInstanceParams["+ i +"].ParaCode")); + dataSourceInstanceParam.setParaValue(_ctx.stringValue("DescribeDataSourceInstanceResponse.Data.DataSourceInstanceParams["+ i +"].ParaValue")); + + dataSourceInstanceParams.add(dataSourceInstanceParam); + } + data.setDataSourceInstanceParams(dataSourceInstanceParams); + describeDataSourceInstanceResponse.setData(data); + + return describeDataSourceInstanceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceParametersResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceParametersResponseUnmarshaller.java new file mode 100644 index 0000000000..e52df7ae6c --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceParametersResponseUnmarshaller.java @@ -0,0 +1,65 @@ +/* + * 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.DescribeDataSourceParametersResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeDataSourceParametersResponse.DataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeDataSourceParametersResponse.DataItem.ParamValueItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeDataSourceParametersResponseUnmarshaller { + + public static DescribeDataSourceParametersResponse unmarshall(DescribeDataSourceParametersResponse describeDataSourceParametersResponse, UnmarshallerContext _ctx) { + + describeDataSourceParametersResponse.setRequestId(_ctx.stringValue("DescribeDataSourceParametersResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeDataSourceParametersResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setDataSourceType(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].DataSourceType")); + dataItem.setParaLevel(_ctx.integerValue("DescribeDataSourceParametersResponse.Data["+ i +"].ParaLevel")); + dataItem.setParaCode(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].ParaCode")); + dataItem.setParaName(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].ParaName")); + dataItem.setParaType(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].ParaType")); + dataItem.setRequired(_ctx.integerValue("DescribeDataSourceParametersResponse.Data["+ i +"].Required")); + dataItem.setFormatCheck(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].FormatCheck")); + dataItem.setTitle(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].Title")); + dataItem.setHit(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].Hit")); + dataItem.setDefaultValue(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].DefaultValue")); + dataItem.setDisabled(_ctx.booleanValue("DescribeDataSourceParametersResponse.Data["+ i +"].Disabled")); + dataItem.setCanEditted(_ctx.integerValue("DescribeDataSourceParametersResponse.Data["+ i +"].CanEditted")); + dataItem.setCloudCode(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].CloudCode")); + + List paramValue = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeDataSourceParametersResponse.Data["+ i +"].ParamValue.Length"); j++) { + ParamValueItem paramValueItem = new ParamValueItem(); + paramValueItem.setLabel(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].ParamValue["+ j +"].Label")); + paramValueItem.setValue(_ctx.stringValue("DescribeDataSourceParametersResponse.Data["+ i +"].ParamValue["+ j +"].Value")); + + paramValue.add(paramValueItem); + } + dataItem.setParamValue(paramValue); + + data.add(dataItem); + } + describeDataSourceParametersResponse.setData(data); + + return describeDataSourceParametersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeImportedLogCountResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeImportedLogCountResponseUnmarshaller.java new file mode 100644 index 0000000000..3b65624dcd --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeImportedLogCountResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * 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.DescribeImportedLogCountResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeImportedLogCountResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeImportedLogCountResponseUnmarshaller { + + public static DescribeImportedLogCountResponse unmarshall(DescribeImportedLogCountResponse describeImportedLogCountResponse, UnmarshallerContext _ctx) { + + describeImportedLogCountResponse.setRequestId(_ctx.stringValue("DescribeImportedLogCountResponse.RequestId")); + + Data data = new Data(); + data.setTotalLogCount(_ctx.integerValue("DescribeImportedLogCountResponse.Data.TotalLogCount")); + data.setImportedLogCount(_ctx.integerValue("DescribeImportedLogCountResponse.Data.ImportedLogCount")); + data.setUnImportedLogCount(_ctx.integerValue("DescribeImportedLogCountResponse.Data.UnImportedLogCount")); + describeImportedLogCountResponse.setData(data); + + return describeImportedLogCountResponse; + } +} \ 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 index 0cc42725f1..c68904043b 100644 --- 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 @@ -24,12 +24,6 @@ public class DescribeLogStoreResponseUnmarshaller { public static DescribeLogStoreResponse unmarshall(DescribeLogStoreResponse describeLogStoreResponse, UnmarshallerContext _ctx) { describeLogStoreResponse.setRequestId(_ctx.stringValue("DescribeLogStoreResponse.RequestId")); - describeLogStoreResponse.setSuccess(_ctx.booleanValue("DescribeLogStoreResponse.Success")); - describeLogStoreResponse.setCode(_ctx.integerValue("DescribeLogStoreResponse.Code")); - describeLogStoreResponse.setMessage(_ctx.stringValue("DescribeLogStoreResponse.Message")); - describeLogStoreResponse.setErrCode(_ctx.stringValue("DescribeLogStoreResponse.ErrCode")); - describeLogStoreResponse.setDyCode(_ctx.stringValue("DescribeLogStoreResponse.DyCode")); - describeLogStoreResponse.setDyMessage(_ctx.stringValue("DescribeLogStoreResponse.DyMessage")); Data data = new Data(); data.setLogStoreName(_ctx.stringValue("DescribeLogStoreResponse.Data.LogStoreName")); 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 new file mode 100644 index 0000000000..ef7fd62db3 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeProdCountResponseUnmarshaller.java @@ -0,0 +1,36 @@ +/* + * 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.DescribeProdCountResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeProdCountResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeProdCountResponseUnmarshaller { + + public static DescribeProdCountResponse unmarshall(DescribeProdCountResponse describeProdCountResponse, UnmarshallerContext _ctx) { + + describeProdCountResponse.setRequestId(_ctx.stringValue("DescribeProdCountResponse.RequestId")); + + Data data = new Data(); + data.setAliyunProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.AliyunProdCount")); + data.setHcloudProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.HcloudProdCount")); + data.setQcloudProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.QcloudProdCount")); + describeProdCountResponse.setData(data); + + return describeProdCountResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeServiceStatusResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeServiceStatusResponseUnmarshaller.java new file mode 100644 index 0000000000..5641d60ef2 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeServiceStatusResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.DescribeServiceStatusResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeServiceStatusResponseUnmarshaller { + + public static DescribeServiceStatusResponse unmarshall(DescribeServiceStatusResponse describeServiceStatusResponse, UnmarshallerContext _ctx) { + + describeServiceStatusResponse.setRequestId(_ctx.stringValue("DescribeServiceStatusResponse.RequestId")); + describeServiceStatusResponse.setData(_ctx.booleanValue("DescribeServiceStatusResponse.Data")); + + return describeServiceStatusResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeStorageResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeStorageResponseUnmarshaller.java index dcc3ff5b52..86339c437d 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeStorageResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeStorageResponseUnmarshaller.java @@ -23,13 +23,7 @@ public class DescribeStorageResponseUnmarshaller { public static DescribeStorageResponse unmarshall(DescribeStorageResponse describeStorageResponse, UnmarshallerContext _ctx) { describeStorageResponse.setRequestId(_ctx.stringValue("DescribeStorageResponse.RequestId")); - describeStorageResponse.setData(_ctx.booleanValue("DescribeStorageResponse.Data")); - describeStorageResponse.setSuccess(_ctx.booleanValue("DescribeStorageResponse.Success")); - describeStorageResponse.setCode(_ctx.integerValue("DescribeStorageResponse.Code")); - describeStorageResponse.setMessage(_ctx.stringValue("DescribeStorageResponse.Message")); - describeStorageResponse.setErrCode(_ctx.stringValue("DescribeStorageResponse.ErrCode")); - describeStorageResponse.setDyCode(_ctx.stringValue("DescribeStorageResponse.DyCode")); - describeStorageResponse.setDyMessage(_ctx.stringValue("DescribeStorageResponse.DyMessage")); + describeStorageResponse.setData(_ctx.booleanValue("DescribeStorageResponse.Data")); return describeStorageResponse; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeUserBuyStatusResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeUserBuyStatusResponseUnmarshaller.java new file mode 100644 index 0000000000..b682c0c9df --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeUserBuyStatusResponseUnmarshaller.java @@ -0,0 +1,44 @@ +/* + * 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.DescribeUserBuyStatusResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeUserBuyStatusResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeUserBuyStatusResponseUnmarshaller { + + public static DescribeUserBuyStatusResponse unmarshall(DescribeUserBuyStatusResponse describeUserBuyStatusResponse, UnmarshallerContext _ctx) { + + describeUserBuyStatusResponse.setRequestId(_ctx.stringValue("DescribeUserBuyStatusResponse.RequestId")); + + Data data = new Data(); + data.setMasterUserId(_ctx.longValue("DescribeUserBuyStatusResponse.Data.MasterUserId")); + data.setMasterUserName(_ctx.stringValue("DescribeUserBuyStatusResponse.Data.MasterUserName")); + data.setMainUserId(_ctx.longValue("DescribeUserBuyStatusResponse.Data.MainUserId")); + data.setMainUserName(_ctx.stringValue("DescribeUserBuyStatusResponse.Data.MainUserName")); + data.setSubUserId(_ctx.longValue("DescribeUserBuyStatusResponse.Data.SubUserId")); + data.setSubUserName(_ctx.stringValue("DescribeUserBuyStatusResponse.Data.SubUserName")); + data.setCapacity(_ctx.integerValue("DescribeUserBuyStatusResponse.Data.Capacity")); + data.setSasInstanceId(_ctx.stringValue("DescribeUserBuyStatusResponse.Data.SasInstanceId")); + data.setCanBuy(_ctx.booleanValue("DescribeUserBuyStatusResponse.Data.CanBuy")); + data.setEndTime(_ctx.longValue("DescribeUserBuyStatusResponse.Data.EndTime")); + data.setDurationDays(_ctx.longValue("DescribeUserBuyStatusResponse.Data.DurationDays")); + describeUserBuyStatusResponse.setData(data); + + return describeUserBuyStatusResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeWhiteRuleListResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeWhiteRuleListResponseUnmarshaller.java new file mode 100644 index 0000000000..b6e9e95b47 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/DescribeWhiteRuleListResponseUnmarshaller.java @@ -0,0 +1,103 @@ +/* + * 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.DescribeWhiteRuleListResponse; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeWhiteRuleListResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeWhiteRuleListResponse.Data.PageInfo; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeWhiteRuleListResponse.Data.ResponseDataItem; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeWhiteRuleListResponse.Data.ResponseDataItem.Expression; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeWhiteRuleListResponse.Data.ResponseDataItem.Expression.Condition; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeWhiteRuleListResponse.Data.ResponseDataItem.Expression.Condition.Left; +import com.aliyuncs.cloud_siem.model.v20220616.DescribeWhiteRuleListResponse.Data.ResponseDataItem.Expression.Condition.Right; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeWhiteRuleListResponseUnmarshaller { + + public static DescribeWhiteRuleListResponse unmarshall(DescribeWhiteRuleListResponse describeWhiteRuleListResponse, UnmarshallerContext _ctx) { + + describeWhiteRuleListResponse.setRequestId(_ctx.stringValue("DescribeWhiteRuleListResponse.RequestId")); + describeWhiteRuleListResponse.setSuccess(_ctx.booleanValue("DescribeWhiteRuleListResponse.Success")); + describeWhiteRuleListResponse.setCode(_ctx.integerValue("DescribeWhiteRuleListResponse.Code")); + describeWhiteRuleListResponse.setMessage(_ctx.stringValue("DescribeWhiteRuleListResponse.Message")); + + Data data = new Data(); + + PageInfo pageInfo = new PageInfo(); + pageInfo.setCurrentPage(_ctx.integerValue("DescribeWhiteRuleListResponse.Data.PageInfo.CurrentPage")); + pageInfo.setPageSize(_ctx.integerValue("DescribeWhiteRuleListResponse.Data.PageInfo.PageSize")); + pageInfo.setTotalCount(_ctx.longValue("DescribeWhiteRuleListResponse.Data.PageInfo.TotalCount")); + data.setPageInfo(pageInfo); + + List responseData = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeWhiteRuleListResponse.Data.ResponseData.Length"); i++) { + ResponseDataItem responseDataItem = new ResponseDataItem(); + responseDataItem.setId(_ctx.longValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Id")); + responseDataItem.setGmtCreate(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].GmtCreate")); + responseDataItem.setGmtModified(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].GmtModified")); + responseDataItem.setAliuid(_ctx.longValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Aliuid")); + responseDataItem.setSubAliuid(_ctx.longValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].SubAliuid")); + responseDataItem.setAlertType(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].AlertType")); + responseDataItem.setAlertTypeId(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].AlertTypeId")); + responseDataItem.setAlertName(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].AlertName")); + responseDataItem.setAlertNameId(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].AlertNameId")); + responseDataItem.setStatus(_ctx.integerValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Status")); + responseDataItem.setIncidentUuid(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].IncidentUuid")); + responseDataItem.setAlertUuid(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].AlertUuid")); + + Expression expression = new Expression(); + expression.setLogic(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Logic")); + + List conditions = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions.Length"); j++) { + Condition condition = new Condition(); + condition.setItemId(_ctx.integerValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].ItemId")); + condition.setOperator(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Operator")); + condition.setIsNot(_ctx.booleanValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].IsNot")); + + Left left = new Left(); + left.setValue(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Left.Value")); + left.setIsVar(_ctx.booleanValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Left.IsVar")); + left.setType(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Left.Type")); + left.setModifier(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Left.Modifier")); + left.setModifierParam(_ctx.mapValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Left.ModifierParam")); + condition.setLeft(left); + + Right right = new Right(); + right.setValue(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Right.Value")); + right.setIsVar(_ctx.booleanValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Right.IsVar")); + right.setType(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Right.Type")); + right.setModifier(_ctx.stringValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Right.Modifier")); + right.setModifierParam(_ctx.mapValue("DescribeWhiteRuleListResponse.Data.ResponseData["+ i +"].Expression.Conditions["+ j +"].Right.ModifierParam")); + condition.setRight(right); + + conditions.add(condition); + } + expression.setConditions(conditions); + responseDataItem.setExpression(expression); + + responseData.add(responseDataItem); + } + data.setResponseData(responseData); + describeWhiteRuleListResponse.setData(data); + + return describeWhiteRuleListResponse; + } +} \ No newline at end of file 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 index e909ee7629..bf3b2e54b4 100644 --- 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 @@ -27,12 +27,6 @@ public class DoQuickFieldResponseUnmarshaller { public static DoQuickFieldResponse unmarshall(DoQuickFieldResponse doQuickFieldResponse, UnmarshallerContext _ctx) { doQuickFieldResponse.setRequestId(_ctx.stringValue("DoQuickFieldResponse.RequestId")); - doQuickFieldResponse.setSuccess(_ctx.booleanValue("DoQuickFieldResponse.Success")); - doQuickFieldResponse.setCode(_ctx.integerValue("DoQuickFieldResponse.Code")); - doQuickFieldResponse.setMessage(_ctx.stringValue("DoQuickFieldResponse.Message")); - doQuickFieldResponse.setErrCode(_ctx.stringValue("DoQuickFieldResponse.ErrCode")); - doQuickFieldResponse.setDyCode(_ctx.stringValue("DoQuickFieldResponse.DyCode")); - doQuickFieldResponse.setDyMessage(_ctx.stringValue("DoQuickFieldResponse.DyMessage")); Data data = new Data(); data.setQueryMode(_ctx.integerValue("DoQuickFieldResponse.Data.QueryMode")); 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 index 08ecb33685..3f2148f6b5 100644 --- 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 @@ -23,13 +23,7 @@ public class DoSelfDelegateResponseUnmarshaller { public static DoSelfDelegateResponse unmarshall(DoSelfDelegateResponse doSelfDelegateResponse, UnmarshallerContext _ctx) { doSelfDelegateResponse.setRequestId(_ctx.stringValue("DoSelfDelegateResponse.RequestId")); - doSelfDelegateResponse.setData(_ctx.booleanValue("DoSelfDelegateResponse.Data")); - doSelfDelegateResponse.setSuccess(_ctx.booleanValue("DoSelfDelegateResponse.Success")); - doSelfDelegateResponse.setCode(_ctx.integerValue("DoSelfDelegateResponse.Code")); - doSelfDelegateResponse.setMessage(_ctx.stringValue("DoSelfDelegateResponse.Message")); - doSelfDelegateResponse.setErrCode(_ctx.stringValue("DoSelfDelegateResponse.ErrCode")); - doSelfDelegateResponse.setDyCode(_ctx.stringValue("DoSelfDelegateResponse.DyCode")); - doSelfDelegateResponse.setDyMessage(_ctx.stringValue("DoSelfDelegateResponse.DyMessage")); + doSelfDelegateResponse.setData(_ctx.booleanValue("DoSelfDelegateResponse.Data")); return doSelfDelegateResponse; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableAccessForCloudSiemResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableAccessForCloudSiemResponseUnmarshaller.java new file mode 100644 index 0000000000..c109530de1 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableAccessForCloudSiemResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.EnableAccessForCloudSiemResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class EnableAccessForCloudSiemResponseUnmarshaller { + + public static EnableAccessForCloudSiemResponse unmarshall(EnableAccessForCloudSiemResponse enableAccessForCloudSiemResponse, UnmarshallerContext _ctx) { + + enableAccessForCloudSiemResponse.setRequestId(_ctx.stringValue("EnableAccessForCloudSiemResponse.RequestId")); + enableAccessForCloudSiemResponse.setData(_ctx.booleanValue("EnableAccessForCloudSiemResponse.Data")); + + return enableAccessForCloudSiemResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableServiceForCloudSiemResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableServiceForCloudSiemResponseUnmarshaller.java new file mode 100644 index 0000000000..bd23e0b337 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/EnableServiceForCloudSiemResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.EnableServiceForCloudSiemResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class EnableServiceForCloudSiemResponseUnmarshaller { + + public static EnableServiceForCloudSiemResponse unmarshall(EnableServiceForCloudSiemResponse enableServiceForCloudSiemResponse, UnmarshallerContext _ctx) { + + enableServiceForCloudSiemResponse.setRequestId(_ctx.stringValue("EnableServiceForCloudSiemResponse.RequestId")); + enableServiceForCloudSiemResponse.setData(_ctx.booleanValue("EnableServiceForCloudSiemResponse.Data")); + + return enableServiceForCloudSiemResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetCapacityResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetCapacityResponseUnmarshaller.java index 11cbb65eda..d840e328d7 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetCapacityResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetCapacityResponseUnmarshaller.java @@ -24,12 +24,6 @@ public class GetCapacityResponseUnmarshaller { public static GetCapacityResponse unmarshall(GetCapacityResponse getCapacityResponse, UnmarshallerContext _ctx) { getCapacityResponse.setRequestId(_ctx.stringValue("GetCapacityResponse.RequestId")); - getCapacityResponse.setSuccess(_ctx.booleanValue("GetCapacityResponse.Success")); - getCapacityResponse.setCode(_ctx.integerValue("GetCapacityResponse.Code")); - getCapacityResponse.setMessage(_ctx.stringValue("GetCapacityResponse.Message")); - getCapacityResponse.setErrCode(_ctx.stringValue("GetCapacityResponse.ErrCode")); - getCapacityResponse.setDyCode(_ctx.stringValue("GetCapacityResponse.DyCode")); - getCapacityResponse.setDyMessage(_ctx.stringValue("GetCapacityResponse.DyMessage")); Data data = new Data(); data.setUsedCapacity(_ctx.doubleValue("GetCapacityResponse.Data.UsedCapacity")); 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 index 6e2fd6f404..ad43196c70 100644 --- 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 @@ -28,12 +28,6 @@ public class GetHistogramsResponseUnmarshaller { public static GetHistogramsResponse unmarshall(GetHistogramsResponse getHistogramsResponse, UnmarshallerContext _ctx) { getHistogramsResponse.setRequestId(_ctx.stringValue("GetHistogramsResponse.RequestId")); - getHistogramsResponse.setSuccess(_ctx.booleanValue("GetHistogramsResponse.Success")); - getHistogramsResponse.setCode(_ctx.integerValue("GetHistogramsResponse.Code")); - getHistogramsResponse.setMessage(_ctx.stringValue("GetHistogramsResponse.Message")); - getHistogramsResponse.setErrCode(_ctx.stringValue("GetHistogramsResponse.ErrCode")); - getHistogramsResponse.setDyCode(_ctx.stringValue("GetHistogramsResponse.DyCode")); - getHistogramsResponse.setDyMessage(_ctx.stringValue("GetHistogramsResponse.DyMessage")); Data data = new Data(); data.setServer(_ctx.stringValue("GetHistogramsResponse.Data.Server")); 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 index e80ca6dae7..8a30de801c 100644 --- 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 @@ -23,13 +23,7 @@ public class GetQuickQueryResponseUnmarshaller { public static GetQuickQueryResponse unmarshall(GetQuickQueryResponse getQuickQueryResponse, UnmarshallerContext _ctx) { getQuickQueryResponse.setRequestId(_ctx.stringValue("GetQuickQueryResponse.RequestId")); - getQuickQueryResponse.setData(_ctx.stringValue("GetQuickQueryResponse.Data")); - getQuickQueryResponse.setSuccess(_ctx.booleanValue("GetQuickQueryResponse.Success")); - getQuickQueryResponse.setCode(_ctx.integerValue("GetQuickQueryResponse.Code")); - getQuickQueryResponse.setMessage(_ctx.stringValue("GetQuickQueryResponse.Message")); - getQuickQueryResponse.setErrCode(_ctx.stringValue("GetQuickQueryResponse.ErrCode")); - getQuickQueryResponse.setDyCode(_ctx.stringValue("GetQuickQueryResponse.DyCode")); - getQuickQueryResponse.setDyMessage(_ctx.stringValue("GetQuickQueryResponse.DyMessage")); + getQuickQueryResponse.setData(_ctx.stringValue("GetQuickQueryResponse.Data")); return getQuickQueryResponse; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetStorageResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetStorageResponseUnmarshaller.java index 6e5f58ab31..143ba74e32 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetStorageResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/GetStorageResponseUnmarshaller.java @@ -24,12 +24,6 @@ public class GetStorageResponseUnmarshaller { public static GetStorageResponse unmarshall(GetStorageResponse getStorageResponse, UnmarshallerContext _ctx) { getStorageResponse.setRequestId(_ctx.stringValue("GetStorageResponse.RequestId")); - getStorageResponse.setSuccess(_ctx.booleanValue("GetStorageResponse.Success")); - getStorageResponse.setCode(_ctx.integerValue("GetStorageResponse.Code")); - getStorageResponse.setMessage(_ctx.stringValue("GetStorageResponse.Message")); - getStorageResponse.setErrCode(_ctx.stringValue("GetStorageResponse.ErrCode")); - getStorageResponse.setDyCode(_ctx.stringValue("GetStorageResponse.DyCode")); - getStorageResponse.setDyMessage(_ctx.stringValue("GetStorageResponse.DyMessage")); Data data = new Data(); data.setTtl(_ctx.integerValue("GetStorageResponse.Data.Ttl")); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountAccessIdResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountAccessIdResponseUnmarshaller.java new file mode 100644 index 0000000000..7e85347860 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountAccessIdResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * 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.ListAccountAccessIdResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListAccountAccessIdResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAccountAccessIdResponseUnmarshaller { + + public static ListAccountAccessIdResponse unmarshall(ListAccountAccessIdResponse listAccountAccessIdResponse, UnmarshallerContext _ctx) { + + listAccountAccessIdResponse.setRequestId(_ctx.stringValue("ListAccountAccessIdResponse.RequestId")); + listAccountAccessIdResponse.setSuccess(_ctx.booleanValue("ListAccountAccessIdResponse.Success")); + listAccountAccessIdResponse.setCode(_ctx.integerValue("ListAccountAccessIdResponse.Code")); + listAccountAccessIdResponse.setMessage(_ctx.stringValue("ListAccountAccessIdResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAccountAccessIdResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setSubUserId(_ctx.longValue("ListAccountAccessIdResponse.Data["+ i +"].SubUserId")); + dataItem.setAccessIdMd5(_ctx.stringValue("ListAccountAccessIdResponse.Data["+ i +"].AccessIdMd5")); + dataItem.setAccountStr(_ctx.stringValue("ListAccountAccessIdResponse.Data["+ i +"].AccountStr")); + dataItem.setBound(_ctx.integerValue("ListAccountAccessIdResponse.Data["+ i +"].Bound")); + dataItem.setAccessId(_ctx.stringValue("ListAccountAccessIdResponse.Data["+ i +"].AccessId")); + dataItem.setAccountId(_ctx.stringValue("ListAccountAccessIdResponse.Data["+ i +"].AccountId")); + dataItem.setCloudCode(_ctx.stringValue("ListAccountAccessIdResponse.Data["+ i +"].CloudCode")); + + data.add(dataItem); + } + listAccountAccessIdResponse.setData(data); + + return listAccountAccessIdResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountsByLogResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountsByLogResponseUnmarshaller.java new file mode 100644 index 0000000000..2ba259fb4f --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountsByLogResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * 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.ListAccountsByLogResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListAccountsByLogResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAccountsByLogResponseUnmarshaller { + + public static ListAccountsByLogResponse unmarshall(ListAccountsByLogResponse listAccountsByLogResponse, UnmarshallerContext _ctx) { + + listAccountsByLogResponse.setRequestId(_ctx.stringValue("ListAccountsByLogResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAccountsByLogResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setSubUserId(_ctx.longValue("ListAccountsByLogResponse.Data["+ i +"].SubUserId")); + dataItem.setMainUserId(_ctx.longValue("ListAccountsByLogResponse.Data["+ i +"].MainUserId")); + dataItem.setAccountId(_ctx.stringValue("ListAccountsByLogResponse.Data["+ i +"].AccountId")); + dataItem.setAccountName(_ctx.stringValue("ListAccountsByLogResponse.Data["+ i +"].AccountName")); + dataItem.setImported(_ctx.integerValue("ListAccountsByLogResponse.Data["+ i +"].Imported")); + dataItem.setLogCode(_ctx.stringValue("ListAccountsByLogResponse.Data["+ i +"].LogCode")); + dataItem.setProdCode(_ctx.stringValue("ListAccountsByLogResponse.Data["+ i +"].ProdCode")); + + data.add(dataItem); + } + listAccountsByLogResponse.setData(data); + + return listAccountsByLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAllProdsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAllProdsResponseUnmarshaller.java new file mode 100644 index 0000000000..35b4b4a9e5 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListAllProdsResponseUnmarshaller.java @@ -0,0 +1,53 @@ +/* + * 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.ListAllProdsResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListAllProdsResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.ListAllProdsResponse.Data.ProdListItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAllProdsResponseUnmarshaller { + + public static ListAllProdsResponse unmarshall(ListAllProdsResponse listAllProdsResponse, UnmarshallerContext _ctx) { + + listAllProdsResponse.setRequestId(_ctx.stringValue("ListAllProdsResponse.RequestId")); + + Data data = new Data(); + data.setTotalCount(_ctx.integerValue("ListAllProdsResponse.Data.TotalCount")); + data.setPageSize(_ctx.integerValue("ListAllProdsResponse.Data.PageSize")); + data.setCurrentPage(_ctx.integerValue("ListAllProdsResponse.Data.CurrentPage")); + + List prodList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAllProdsResponse.Data.ProdList.Length"); i++) { + ProdListItem prodListItem = new ProdListItem(); + prodListItem.setProdCode(_ctx.stringValue("ListAllProdsResponse.Data.ProdList["+ i +"].ProdCode")); + prodListItem.setTotalLogCount(_ctx.integerValue("ListAllProdsResponse.Data.ProdList["+ i +"].TotalLogCount")); + prodListItem.setImportedLogCount(_ctx.integerValue("ListAllProdsResponse.Data.ProdList["+ i +"].ImportedLogCount")); + prodListItem.setModifyTime(_ctx.stringValue("ListAllProdsResponse.Data.ProdList["+ i +"].ModifyTime")); + prodListItem.setCloudCode(_ctx.stringValue("ListAllProdsResponse.Data.ProdList["+ i +"].CloudCode")); + + prodList.add(prodListItem); + } + data.setProdList(prodList); + listAllProdsResponse.setData(data); + + return listAllProdsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindAccountResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindAccountResponseUnmarshaller.java new file mode 100644 index 0000000000..146b689ca6 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindAccountResponseUnmarshaller.java @@ -0,0 +1,49 @@ +/* + * 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.ListBindAccountResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListBindAccountResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListBindAccountResponseUnmarshaller { + + public static ListBindAccountResponse unmarshall(ListBindAccountResponse listBindAccountResponse, UnmarshallerContext _ctx) { + + listBindAccountResponse.setRequestId(_ctx.stringValue("ListBindAccountResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListBindAccountResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setAccountName(_ctx.stringValue("ListBindAccountResponse.Data["+ i +"].AccountName")); + dataItem.setAccessId(_ctx.stringValue("ListBindAccountResponse.Data["+ i +"].AccessId")); + dataItem.setDataSourceCount(_ctx.longValue("ListBindAccountResponse.Data["+ i +"].DataSourceCount")); + dataItem.setModifyTime(_ctx.stringValue("ListBindAccountResponse.Data["+ i +"].ModifyTime")); + dataItem.setCreateUser(_ctx.stringValue("ListBindAccountResponse.Data["+ i +"].CreateUser")); + dataItem.setBindId(_ctx.longValue("ListBindAccountResponse.Data["+ i +"].BindId")); + dataItem.setAccountId(_ctx.stringValue("ListBindAccountResponse.Data["+ i +"].AccountId")); + dataItem.setCloudCode(_ctx.stringValue("ListBindAccountResponse.Data["+ i +"].CloudCode")); + + data.add(dataItem); + } + listBindAccountResponse.setData(data); + + return listBindAccountResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindDataSourcesResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindDataSourcesResponseUnmarshaller.java new file mode 100644 index 0000000000..dc4154c2f9 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListBindDataSourcesResponseUnmarshaller.java @@ -0,0 +1,50 @@ +/* + * 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.ListBindDataSourcesResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListBindDataSourcesResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListBindDataSourcesResponseUnmarshaller { + + public static ListBindDataSourcesResponse unmarshall(ListBindDataSourcesResponse listBindDataSourcesResponse, UnmarshallerContext _ctx) { + + listBindDataSourcesResponse.setRequestId(_ctx.stringValue("ListBindDataSourcesResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListBindDataSourcesResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setAccountName(_ctx.stringValue("ListBindDataSourcesResponse.Data["+ i +"].AccountName")); + dataItem.setDataSourceInstanceId(_ctx.stringValue("ListBindDataSourcesResponse.Data["+ i +"].DataSourceInstanceId")); + dataItem.setDataSourceType(_ctx.stringValue("ListBindDataSourcesResponse.Data["+ i +"].DataSourceType")); + dataItem.setDataSourceName(_ctx.stringValue("ListBindDataSourcesResponse.Data["+ i +"].DataSourceName")); + dataItem.setDataSourceRemark(_ctx.stringValue("ListBindDataSourcesResponse.Data["+ i +"].DataSourceRemark")); + dataItem.setLogCount(_ctx.integerValue("ListBindDataSourcesResponse.Data["+ i +"].LogCount")); + dataItem.setTaskCount(_ctx.integerValue("ListBindDataSourcesResponse.Data["+ i +"].TaskCount")); + dataItem.setAccountId(_ctx.stringValue("ListBindDataSourcesResponse.Data["+ i +"].AccountId")); + dataItem.setCloudCode(_ctx.stringValue("ListBindDataSourcesResponse.Data["+ i +"].CloudCode")); + + data.add(dataItem); + } + listBindDataSourcesResponse.setData(data); + + return listBindDataSourcesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceLogsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceLogsResponseUnmarshaller.java new file mode 100644 index 0000000000..3905ed3257 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceLogsResponseUnmarshaller.java @@ -0,0 +1,66 @@ +/* + * 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.ListDataSourceLogsResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListDataSourceLogsResponse.Data; +import com.aliyuncs.cloud_siem.model.v20220616.ListDataSourceLogsResponse.Data.DataSourceInstanceLog; +import com.aliyuncs.cloud_siem.model.v20220616.ListDataSourceLogsResponse.Data.DataSourceInstanceLog.LogParam; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListDataSourceLogsResponseUnmarshaller { + + public static ListDataSourceLogsResponse unmarshall(ListDataSourceLogsResponse listDataSourceLogsResponse, UnmarshallerContext _ctx) { + + listDataSourceLogsResponse.setRequestId(_ctx.stringValue("ListDataSourceLogsResponse.RequestId")); + + Data data = new Data(); + data.setSubUserId(_ctx.longValue("ListDataSourceLogsResponse.Data.SubUserId")); + data.setDataSourceInstanceId(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceId")); + data.setDataSourceInstanceName(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceName")); + data.setDataSourceInstanceRemark(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceRemark")); + data.setAccountId(_ctx.stringValue("ListDataSourceLogsResponse.Data.AccountId")); + data.setCloudCode(_ctx.stringValue("ListDataSourceLogsResponse.Data.CloudCode")); + + List dataSourceInstanceLogs = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs.Length"); i++) { + DataSourceInstanceLog dataSourceInstanceLog = new DataSourceInstanceLog(); + dataSourceInstanceLog.setLogInstanceId(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs["+ i +"].LogInstanceId")); + dataSourceInstanceLog.setLogCode(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs["+ i +"].LogCode")); + dataSourceInstanceLog.setLogMdsCode(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs["+ i +"].LogMdsCode")); + dataSourceInstanceLog.setTaskStatus(_ctx.integerValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs["+ i +"].TaskStatus")); + + List logParams = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs["+ i +"].LogParams.Length"); j++) { + LogParam logParam = new LogParam(); + logParam.setParaCode(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs["+ i +"].LogParams["+ j +"].ParaCode")); + logParam.setParaValue(_ctx.stringValue("ListDataSourceLogsResponse.Data.DataSourceInstanceLogs["+ i +"].LogParams["+ j +"].ParaValue")); + + logParams.add(logParam); + } + dataSourceInstanceLog.setLogParams(logParams); + + dataSourceInstanceLogs.add(dataSourceInstanceLog); + } + data.setDataSourceInstanceLogs(dataSourceInstanceLogs); + listDataSourceLogsResponse.setData(data); + + return listDataSourceLogsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceTypesResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceTypesResponseUnmarshaller.java new file mode 100644 index 0000000000..d08534b7f5 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceTypesResponseUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * 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.ListDataSourceTypesResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListDataSourceTypesResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListDataSourceTypesResponseUnmarshaller { + + public static ListDataSourceTypesResponse unmarshall(ListDataSourceTypesResponse listDataSourceTypesResponse, UnmarshallerContext _ctx) { + + listDataSourceTypesResponse.setRequestId(_ctx.stringValue("ListDataSourceTypesResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListDataSourceTypesResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setDataSourceType(_ctx.stringValue("ListDataSourceTypesResponse.Data["+ i +"].DataSourceType")); + dataItem.setCloudCode(_ctx.stringValue("ListDataSourceTypesResponse.Data["+ i +"].CloudCode")); + + data.add(dataItem); + } + listDataSourceTypesResponse.setData(data); + + return listDataSourceTypesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListImportedLogsByProdResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListImportedLogsByProdResponseUnmarshaller.java new file mode 100644 index 0000000000..b95cb06ecf --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListImportedLogsByProdResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * 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.ListImportedLogsByProdResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListImportedLogsByProdResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListImportedLogsByProdResponseUnmarshaller { + + public static ListImportedLogsByProdResponse unmarshall(ListImportedLogsByProdResponse listImportedLogsByProdResponse, UnmarshallerContext _ctx) { + + listImportedLogsByProdResponse.setRequestId(_ctx.stringValue("ListImportedLogsByProdResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListImportedLogsByProdResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setProdCode(_ctx.stringValue("ListImportedLogsByProdResponse.Data["+ i +"].ProdCode")); + dataItem.setLogCode(_ctx.stringValue("ListImportedLogsByProdResponse.Data["+ i +"].LogCode")); + dataItem.setLogMdsCode(_ctx.stringValue("ListImportedLogsByProdResponse.Data["+ i +"].LogMdsCode")); + dataItem.setImportedUserCount(_ctx.integerValue("ListImportedLogsByProdResponse.Data["+ i +"].ImportedUserCount")); + dataItem.setUnImportedUserCount(_ctx.integerValue("ListImportedLogsByProdResponse.Data["+ i +"].UnImportedUserCount")); + dataItem.setTotalUserCount(_ctx.integerValue("ListImportedLogsByProdResponse.Data["+ i +"].TotalUserCount")); + dataItem.setModifyTime(_ctx.stringValue("ListImportedLogsByProdResponse.Data["+ i +"].ModifyTime")); + dataItem.setImported(_ctx.integerValue("ListImportedLogsByProdResponse.Data["+ i +"].Imported")); + dataItem.setAutoImported(_ctx.integerValue("ListImportedLogsByProdResponse.Data["+ i +"].AutoImported")); + dataItem.setCloudCode(_ctx.stringValue("ListImportedLogsByProdResponse.Data["+ i +"].CloudCode")); + + data.add(dataItem); + } + listImportedLogsByProdResponse.setData(data); + + return listImportedLogsByProdResponse; + } +} \ 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 index 77ade7e0e9..fdb9f5b528 100644 --- 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 @@ -27,12 +27,6 @@ public class ListOperationResponseUnmarshaller { public static ListOperationResponse unmarshall(ListOperationResponse listOperationResponse, UnmarshallerContext _ctx) { listOperationResponse.setRequestId(_ctx.stringValue("ListOperationResponse.RequestId")); - listOperationResponse.setSuccess(_ctx.booleanValue("ListOperationResponse.Success")); - listOperationResponse.setCode(_ctx.integerValue("ListOperationResponse.Code")); - listOperationResponse.setMessage(_ctx.stringValue("ListOperationResponse.Message")); - listOperationResponse.setErrCode(_ctx.stringValue("ListOperationResponse.ErrCode")); - listOperationResponse.setDyCode(_ctx.stringValue("ListOperationResponse.DyCode")); - listOperationResponse.setDyMessage(_ctx.stringValue("ListOperationResponse.DyMessage")); Data data = new Data(); data.setAdminOrNot(_ctx.booleanValue("ListOperationResponse.Data.AdminOrNot")); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListProjectLogStoresResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListProjectLogStoresResponseUnmarshaller.java new file mode 100644 index 0000000000..80fe995586 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListProjectLogStoresResponseUnmarshaller.java @@ -0,0 +1,49 @@ +/* + * 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.ListProjectLogStoresResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListProjectLogStoresResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListProjectLogStoresResponseUnmarshaller { + + public static ListProjectLogStoresResponse unmarshall(ListProjectLogStoresResponse listProjectLogStoresResponse, UnmarshallerContext _ctx) { + + listProjectLogStoresResponse.setRequestId(_ctx.stringValue("ListProjectLogStoresResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListProjectLogStoresResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setProject(_ctx.stringValue("ListProjectLogStoresResponse.Data["+ i +"].Project")); + dataItem.setLogStore(_ctx.stringValue("ListProjectLogStoresResponse.Data["+ i +"].LogStore")); + dataItem.setEndPoint(_ctx.stringValue("ListProjectLogStoresResponse.Data["+ i +"].EndPoint")); + dataItem.setRegionId(_ctx.stringValue("ListProjectLogStoresResponse.Data["+ i +"].RegionId")); + dataItem.setLocalName(_ctx.stringValue("ListProjectLogStoresResponse.Data["+ i +"].LocalName")); + dataItem.setMainUserId(_ctx.longValue("ListProjectLogStoresResponse.Data["+ i +"].MainUserId")); + dataItem.setSubUserId(_ctx.longValue("ListProjectLogStoresResponse.Data["+ i +"].SubUserId")); + dataItem.setSubUserName(_ctx.stringValue("ListProjectLogStoresResponse.Data["+ i +"].SubUserName")); + + data.add(dataItem); + } + listProjectLogStoresResponse.setData(data); + + return listProjectLogStoresResponse; + } +} \ 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 index 3089988aae..5b878d3bd5 100644 --- 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 @@ -28,12 +28,6 @@ public class ListQuickQueryResponseUnmarshaller { public static ListQuickQueryResponse unmarshall(ListQuickQueryResponse listQuickQueryResponse, UnmarshallerContext _ctx) { listQuickQueryResponse.setRequestId(_ctx.stringValue("ListQuickQueryResponse.RequestId")); - listQuickQueryResponse.setSuccess(_ctx.booleanValue("ListQuickQueryResponse.Success")); - listQuickQueryResponse.setCode(_ctx.integerValue("ListQuickQueryResponse.Code")); - listQuickQueryResponse.setMessage(_ctx.stringValue("ListQuickQueryResponse.Message")); - listQuickQueryResponse.setErrCode(_ctx.stringValue("ListQuickQueryResponse.ErrCode")); - listQuickQueryResponse.setDyCode(_ctx.stringValue("ListQuickQueryResponse.DyCode")); - listQuickQueryResponse.setDyMessage(_ctx.stringValue("ListQuickQueryResponse.DyMessage")); Data data = new Data(); data.setTotal(_ctx.integerValue("ListQuickQueryResponse.Data.Total")); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListRdUsersResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListRdUsersResponseUnmarshaller.java new file mode 100644 index 0000000000..5b14098222 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListRdUsersResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * 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.ListRdUsersResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListRdUsersResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListRdUsersResponseUnmarshaller { + + public static ListRdUsersResponse unmarshall(ListRdUsersResponse listRdUsersResponse, UnmarshallerContext _ctx) { + + listRdUsersResponse.setRequestId(_ctx.stringValue("ListRdUsersResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListRdUsersResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setJoined(_ctx.booleanValue("ListRdUsersResponse.Data["+ i +"].Joined")); + dataItem.setJoinedTime(_ctx.stringValue("ListRdUsersResponse.Data["+ i +"].JoinedTime")); + dataItem.setDelegatedOrNot(_ctx.booleanValue("ListRdUsersResponse.Data["+ i +"].DelegatedOrNot")); + dataItem.setMainUserId(_ctx.longValue("ListRdUsersResponse.Data["+ i +"].MainUserId")); + dataItem.setSubUserId(_ctx.longValue("ListRdUsersResponse.Data["+ i +"].SubUserId")); + dataItem.setSubUserName(_ctx.stringValue("ListRdUsersResponse.Data["+ i +"].SubUserName")); + + data.add(dataItem); + } + listRdUsersResponse.setData(data); + + return listRdUsersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUserProdLogsResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUserProdLogsResponseUnmarshaller.java new file mode 100644 index 0000000000..4e98d402da --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUserProdLogsResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * 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.ListUserProdLogsResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListUserProdLogsResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListUserProdLogsResponseUnmarshaller { + + public static ListUserProdLogsResponse unmarshall(ListUserProdLogsResponse listUserProdLogsResponse, UnmarshallerContext _ctx) { + + listUserProdLogsResponse.setRequestId(_ctx.stringValue("ListUserProdLogsResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListUserProdLogsResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setSourceLogCode(_ctx.stringValue("ListUserProdLogsResponse.Data["+ i +"].SourceLogCode")); + dataItem.setSourceLogInfo(_ctx.stringValue("ListUserProdLogsResponse.Data["+ i +"].SourceLogInfo")); + dataItem.setDisplayLine(_ctx.stringValue("ListUserProdLogsResponse.Data["+ i +"].DisplayLine")); + dataItem.setSourceProdCode(_ctx.stringValue("ListUserProdLogsResponse.Data["+ i +"].SourceProdCode")); + dataItem.setIsDeleted(_ctx.integerValue("ListUserProdLogsResponse.Data["+ i +"].IsDeleted")); + dataItem.setImported(_ctx.booleanValue("ListUserProdLogsResponse.Data["+ i +"].Imported")); + dataItem.setDisplayed(_ctx.booleanValue("ListUserProdLogsResponse.Data["+ i +"].Displayed")); + dataItem.setMainUserId(_ctx.longValue("ListUserProdLogsResponse.Data["+ i +"].MainUserId")); + dataItem.setSubUserId(_ctx.longValue("ListUserProdLogsResponse.Data["+ i +"].SubUserId")); + dataItem.setSubUserName(_ctx.stringValue("ListUserProdLogsResponse.Data["+ i +"].SubUserName")); + + data.add(dataItem); + } + listUserProdLogsResponse.setData(data); + + return listUserProdLogsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUsersByProdResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUsersByProdResponseUnmarshaller.java new file mode 100644 index 0000000000..abd6b3a1af --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ListUsersByProdResponseUnmarshaller.java @@ -0,0 +1,50 @@ +/* + * 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.ListUsersByProdResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ListUsersByProdResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListUsersByProdResponseUnmarshaller { + + public static ListUsersByProdResponse unmarshall(ListUsersByProdResponse listUsersByProdResponse, UnmarshallerContext _ctx) { + + listUsersByProdResponse.setRequestId(_ctx.stringValue("ListUsersByProdResponse.RequestId")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListUsersByProdResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setSourceProdCode(_ctx.stringValue("ListUsersByProdResponse.Data["+ i +"].SourceProdCode")); + dataItem.setSourceLogCode(_ctx.stringValue("ListUsersByProdResponse.Data["+ i +"].SourceLogCode")); + dataItem.setSourceLogName(_ctx.stringValue("ListUsersByProdResponse.Data["+ i +"].SourceLogName")); + dataItem.setCloudCode(_ctx.stringValue("ListUsersByProdResponse.Data["+ i +"].CloudCode")); + dataItem.setImported(_ctx.booleanValue("ListUsersByProdResponse.Data["+ i +"].Imported")); + dataItem.setLogMdsCode(_ctx.stringValue("ListUsersByProdResponse.Data["+ i +"].LogMdsCode")); + dataItem.setMainUserId(_ctx.longValue("ListUsersByProdResponse.Data["+ i +"].MainUserId")); + dataItem.setSubUserId(_ctx.longValue("ListUsersByProdResponse.Data["+ i +"].SubUserId")); + dataItem.setSubUserName(_ctx.stringValue("ListUsersByProdResponse.Data["+ i +"].SubUserName")); + + data.add(dataItem); + } + listUsersByProdResponse.setData(data); + + return listUsersByProdResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyBindAccountResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyBindAccountResponseUnmarshaller.java new file mode 100644 index 0000000000..d1dc085a45 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyBindAccountResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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.ModifyBindAccountResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ModifyBindAccountResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyBindAccountResponseUnmarshaller { + + public static ModifyBindAccountResponse unmarshall(ModifyBindAccountResponse modifyBindAccountResponse, UnmarshallerContext _ctx) { + + modifyBindAccountResponse.setRequestId(_ctx.stringValue("ModifyBindAccountResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("ModifyBindAccountResponse.Data.Count")); + modifyBindAccountResponse.setData(data); + + return modifyBindAccountResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceLogResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceLogResponseUnmarshaller.java new file mode 100644 index 0000000000..932d634d6a --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceLogResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * 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.ModifyDataSourceLogResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ModifyDataSourceLogResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyDataSourceLogResponseUnmarshaller { + + public static ModifyDataSourceLogResponse unmarshall(ModifyDataSourceLogResponse modifyDataSourceLogResponse, UnmarshallerContext _ctx) { + + modifyDataSourceLogResponse.setRequestId(_ctx.stringValue("ModifyDataSourceLogResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("ModifyDataSourceLogResponse.Data.Count")); + data.setLogInstanceId(_ctx.stringValue("ModifyDataSourceLogResponse.Data.LogInstanceId")); + modifyDataSourceLogResponse.setData(data); + + return modifyDataSourceLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceResponseUnmarshaller.java new file mode 100644 index 0000000000..0b106d0c87 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/ModifyDataSourceResponseUnmarshaller.java @@ -0,0 +1,35 @@ +/* + * 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.ModifyDataSourceResponse; +import com.aliyuncs.cloud_siem.model.v20220616.ModifyDataSourceResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ModifyDataSourceResponseUnmarshaller { + + public static ModifyDataSourceResponse unmarshall(ModifyDataSourceResponse modifyDataSourceResponse, UnmarshallerContext _ctx) { + + modifyDataSourceResponse.setRequestId(_ctx.stringValue("ModifyDataSourceResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("ModifyDataSourceResponse.Data.Count")); + data.setDataSourceInstanceId(_ctx.stringValue("ModifyDataSourceResponse.Data.DataSourceInstanceId")); + modifyDataSourceResponse.setData(data); + + return modifyDataSourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/OpenDeliveryResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/OpenDeliveryResponseUnmarshaller.java index 2669f8ac5f..3c033ff699 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/OpenDeliveryResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/OpenDeliveryResponseUnmarshaller.java @@ -23,13 +23,7 @@ public class OpenDeliveryResponseUnmarshaller { public static OpenDeliveryResponse unmarshall(OpenDeliveryResponse openDeliveryResponse, UnmarshallerContext _ctx) { openDeliveryResponse.setRequestId(_ctx.stringValue("OpenDeliveryResponse.RequestId")); - openDeliveryResponse.setData(_ctx.booleanValue("OpenDeliveryResponse.Data")); - openDeliveryResponse.setSuccess(_ctx.booleanValue("OpenDeliveryResponse.Success")); - openDeliveryResponse.setCode(_ctx.integerValue("OpenDeliveryResponse.Code")); - openDeliveryResponse.setMessage(_ctx.stringValue("OpenDeliveryResponse.Message")); - openDeliveryResponse.setErrCode(_ctx.stringValue("OpenDeliveryResponse.ErrCode")); - openDeliveryResponse.setDyCode(_ctx.stringValue("OpenDeliveryResponse.DyCode")); - openDeliveryResponse.setDyMessage(_ctx.stringValue("OpenDeliveryResponse.DyMessage")); + openDeliveryResponse.setData(_ctx.booleanValue("OpenDeliveryResponse.Data")); return openDeliveryResponse; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/RestoreCapacityResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/RestoreCapacityResponseUnmarshaller.java index 3312b052d4..3324de0e45 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/RestoreCapacityResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/RestoreCapacityResponseUnmarshaller.java @@ -23,13 +23,7 @@ public class RestoreCapacityResponseUnmarshaller { public static RestoreCapacityResponse unmarshall(RestoreCapacityResponse restoreCapacityResponse, UnmarshallerContext _ctx) { restoreCapacityResponse.setRequestId(_ctx.stringValue("RestoreCapacityResponse.RequestId")); - restoreCapacityResponse.setData(_ctx.booleanValue("RestoreCapacityResponse.Data")); - restoreCapacityResponse.setSuccess(_ctx.booleanValue("RestoreCapacityResponse.Success")); - restoreCapacityResponse.setCode(_ctx.integerValue("RestoreCapacityResponse.Code")); - restoreCapacityResponse.setMessage(_ctx.stringValue("RestoreCapacityResponse.Message")); - restoreCapacityResponse.setErrCode(_ctx.stringValue("RestoreCapacityResponse.ErrCode")); - restoreCapacityResponse.setDyCode(_ctx.stringValue("RestoreCapacityResponse.DyCode")); - restoreCapacityResponse.setDyMessage(_ctx.stringValue("RestoreCapacityResponse.DyMessage")); + restoreCapacityResponse.setData(_ctx.booleanValue("RestoreCapacityResponse.Data")); return restoreCapacityResponse; } 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 index 93cb16b539..2be280b6da 100644 --- 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 @@ -23,13 +23,7 @@ public class SaveQuickQueryResponseUnmarshaller { public static SaveQuickQueryResponse unmarshall(SaveQuickQueryResponse saveQuickQueryResponse, UnmarshallerContext _ctx) { saveQuickQueryResponse.setRequestId(_ctx.stringValue("SaveQuickQueryResponse.RequestId")); - saveQuickQueryResponse.setData(_ctx.booleanValue("SaveQuickQueryResponse.Data")); - saveQuickQueryResponse.setSuccess(_ctx.booleanValue("SaveQuickQueryResponse.Success")); - saveQuickQueryResponse.setCode(_ctx.integerValue("SaveQuickQueryResponse.Code")); - saveQuickQueryResponse.setMessage(_ctx.stringValue("SaveQuickQueryResponse.Message")); - saveQuickQueryResponse.setErrCode(_ctx.stringValue("SaveQuickQueryResponse.ErrCode")); - saveQuickQueryResponse.setDyCode(_ctx.stringValue("SaveQuickQueryResponse.DyCode")); - saveQuickQueryResponse.setDyMessage(_ctx.stringValue("SaveQuickQueryResponse.DyMessage")); + saveQuickQueryResponse.setData(_ctx.booleanValue("SaveQuickQueryResponse.Data")); return saveQuickQueryResponse; } diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SetStorageResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SetStorageResponseUnmarshaller.java index e166d4f8d1..e158b159b4 100644 --- a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SetStorageResponseUnmarshaller.java +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SetStorageResponseUnmarshaller.java @@ -23,13 +23,7 @@ public class SetStorageResponseUnmarshaller { public static SetStorageResponse unmarshall(SetStorageResponse setStorageResponse, UnmarshallerContext _ctx) { setStorageResponse.setRequestId(_ctx.stringValue("SetStorageResponse.RequestId")); - setStorageResponse.setData(_ctx.booleanValue("SetStorageResponse.Data")); - setStorageResponse.setSuccess(_ctx.booleanValue("SetStorageResponse.Success")); - setStorageResponse.setCode(_ctx.integerValue("SetStorageResponse.Code")); - setStorageResponse.setMessage(_ctx.stringValue("SetStorageResponse.Message")); - setStorageResponse.setErrCode(_ctx.stringValue("SetStorageResponse.ErrCode")); - setStorageResponse.setDyCode(_ctx.stringValue("SetStorageResponse.DyCode")); - setStorageResponse.setDyMessage(_ctx.stringValue("SetStorageResponse.DyMessage")); + setStorageResponse.setData(_ctx.booleanValue("SetStorageResponse.Data")); return setStorageResponse; } 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 index 5b0aff1baa..2989541ffd 100644 --- 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 @@ -27,12 +27,6 @@ public class ShowQuickAnalysisResponseUnmarshaller { public static ShowQuickAnalysisResponse unmarshall(ShowQuickAnalysisResponse showQuickAnalysisResponse, UnmarshallerContext _ctx) { showQuickAnalysisResponse.setRequestId(_ctx.stringValue("ShowQuickAnalysisResponse.RequestId")); - showQuickAnalysisResponse.setSuccess(_ctx.booleanValue("ShowQuickAnalysisResponse.Success")); - showQuickAnalysisResponse.setCode(_ctx.integerValue("ShowQuickAnalysisResponse.Code")); - showQuickAnalysisResponse.setMessage(_ctx.stringValue("ShowQuickAnalysisResponse.Message")); - showQuickAnalysisResponse.setErrCode(_ctx.stringValue("ShowQuickAnalysisResponse.ErrCode")); - showQuickAnalysisResponse.setDyCode(_ctx.stringValue("ShowQuickAnalysisResponse.DyCode")); - showQuickAnalysisResponse.setDyMessage(_ctx.stringValue("ShowQuickAnalysisResponse.DyMessage")); Data data = new Data(); diff --git a/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitImportLogTasksResponseUnmarshaller.java b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitImportLogTasksResponseUnmarshaller.java new file mode 100644 index 0000000000..a841ad3546 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitImportLogTasksResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * 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.SubmitImportLogTasksResponse; +import com.aliyuncs.cloud_siem.model.v20220616.SubmitImportLogTasksResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SubmitImportLogTasksResponseUnmarshaller { + + public static SubmitImportLogTasksResponse unmarshall(SubmitImportLogTasksResponse submitImportLogTasksResponse, UnmarshallerContext _ctx) { + + submitImportLogTasksResponse.setRequestId(_ctx.stringValue("SubmitImportLogTasksResponse.RequestId")); + + Data data = new Data(); + data.setCount(_ctx.integerValue("SubmitImportLogTasksResponse.Data.Count")); + submitImportLogTasksResponse.setData(data); + + return submitImportLogTasksResponse; + } +} \ 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 new file mode 100644 index 0000000000..8f923ee107 --- /dev/null +++ b/aliyun-java-sdk-cloud-siem/src/main/java/com/aliyuncs/cloud_siem/transform/v20220616/SubmitJobsResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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