index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountRequest.java
|
/*
* 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<ModifyBindAccountResponse> {
private String cloudCode;
private Long roleFor;
private String accountId;
private String accountName;
private Integer roleType;
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 Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
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 Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
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<ModifyBindAccountResponse> getResponseClass() {
return ModifyBindAccountResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/ModifyBindAccountResponse.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogRequest.java
|
/*
* 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<ModifyDataSourceLogResponse> {
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<ModifyDataSourceLogResponse> getResponseClass() {
return ModifyDataSourceLogResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceLogResponse.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceRequest.java
|
/*
* 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<ModifyDataSourceResponse> {
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<ModifyDataSourceResponse> getResponseClass() {
return ModifyDataSourceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/ModifyDataSourceResponse.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/OpenDeliveryRequest.java
|
/*
* 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 OpenDeliveryRequest extends RpcAcsRequest<OpenDeliveryResponse> {
private String productCode;
private Long roleFor;
private String logCode;
private Integer roleType;
public OpenDeliveryRequest() {
super("cloud-siem", "2022-06-16", "OpenDelivery", "cloud-siem");
setMethod(MethodType.POST);
}
public String getProductCode() {
return this.productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
if(productCode != null){
putBodyParameter("ProductCode", productCode);
}
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getLogCode() {
return this.logCode;
}
public void setLogCode(String logCode) {
this.logCode = logCode;
if(logCode != null){
putBodyParameter("LogCode", logCode);
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
@Override
public Class<OpenDeliveryResponse> getResponseClass() {
return OpenDeliveryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/OpenDeliveryResponse.java
|
/*
* 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.OpenDeliveryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class OpenDeliveryResponse 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 OpenDeliveryResponse getInstance(UnmarshallerContext context) {
return OpenDeliveryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostAutomateResponseConfigRequest.java
|
/*
* 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 PostAutomateResponseConfigRequest extends RpcAcsRequest<PostAutomateResponseConfigResponse> {
private String actionType;
private Long roleFor;
private String ruleName;
private String executionCondition;
private String actionConfig;
private Long subUserId;
private String autoResponseType;
private Integer roleType;
private Long id;
public PostAutomateResponseConfigRequest() {
super("cloud-siem", "2022-06-16", "PostAutomateResponseConfig", "cloud-siem");
setMethod(MethodType.POST);
}
public String getActionType() {
return this.actionType;
}
public void setActionType(String actionType) {
this.actionType = actionType;
if(actionType != null){
putBodyParameter("ActionType", actionType);
}
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putBodyParameter("RuleName", ruleName);
}
}
public String getExecutionCondition() {
return this.executionCondition;
}
public void setExecutionCondition(String executionCondition) {
this.executionCondition = executionCondition;
if(executionCondition != null){
putBodyParameter("ExecutionCondition", executionCondition);
}
}
public String getActionConfig() {
return this.actionConfig;
}
public void setActionConfig(String actionConfig) {
this.actionConfig = actionConfig;
if(actionConfig != null){
putBodyParameter("ActionConfig", actionConfig);
}
}
public Long getSubUserId() {
return this.subUserId;
}
public void setSubUserId(Long subUserId) {
this.subUserId = subUserId;
if(subUserId != null){
putBodyParameter("SubUserId", subUserId.toString());
}
}
public String getAutoResponseType() {
return this.autoResponseType;
}
public void setAutoResponseType(String autoResponseType) {
this.autoResponseType = autoResponseType;
if(autoResponseType != null){
putBodyParameter("AutoResponseType", autoResponseType);
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putBodyParameter("Id", id.toString());
}
}
@Override
public Class<PostAutomateResponseConfigResponse> getResponseClass() {
return PostAutomateResponseConfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostAutomateResponseConfigResponse.java
|
/*
* 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.PostAutomateResponseConfigResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PostAutomateResponseConfigResponse extends AcsResponse {
private String data;
private Boolean success;
private Integer code;
private String message;
private String requestId;
public String getData() {
return this.data;
}
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 getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PostAutomateResponseConfigResponse getInstance(UnmarshallerContext context) {
return PostAutomateResponseConfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostCustomizeRuleRequest.java
|
/*
* 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 PostCustomizeRuleRequest extends RpcAcsRequest<PostCustomizeRuleResponse> {
private Long roleFor;
private String attCk;
private String ruleDesc;
private String ruleName;
private String alertTypeMds;
private String ruleThreshold;
private String logSourceMds;
private String logType;
private String logTypeMds;
private Integer roleType;
private Long id;
private Integer eventTransferSwitch;
private String queryCycle;
private String logSource;
private String alertType;
private String eventTransferType;
private String ruleCondition;
private String eventTransferExt;
private String threatLevel;
private String ruleGroup;
public PostCustomizeRuleRequest() {
super("cloud-siem", "2022-06-16", "PostCustomizeRule", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getAttCk() {
return this.attCk;
}
public void setAttCk(String attCk) {
this.attCk = attCk;
if(attCk != null){
putBodyParameter("AttCk", attCk);
}
}
public String getRuleDesc() {
return this.ruleDesc;
}
public void setRuleDesc(String ruleDesc) {
this.ruleDesc = ruleDesc;
if(ruleDesc != null){
putBodyParameter("RuleDesc", ruleDesc);
}
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putBodyParameter("RuleName", ruleName);
}
}
public String getAlertTypeMds() {
return this.alertTypeMds;
}
public void setAlertTypeMds(String alertTypeMds) {
this.alertTypeMds = alertTypeMds;
if(alertTypeMds != null){
putBodyParameter("AlertTypeMds", alertTypeMds);
}
}
public String getRuleThreshold() {
return this.ruleThreshold;
}
public void setRuleThreshold(String ruleThreshold) {
this.ruleThreshold = ruleThreshold;
if(ruleThreshold != null){
putBodyParameter("RuleThreshold", ruleThreshold);
}
}
public String getLogSourceMds() {
return this.logSourceMds;
}
public void setLogSourceMds(String logSourceMds) {
this.logSourceMds = logSourceMds;
if(logSourceMds != null){
putBodyParameter("LogSourceMds", logSourceMds);
}
}
public String getLogType() {
return this.logType;
}
public void setLogType(String logType) {
this.logType = logType;
if(logType != null){
putBodyParameter("LogType", logType);
}
}
public String getLogTypeMds() {
return this.logTypeMds;
}
public void setLogTypeMds(String logTypeMds) {
this.logTypeMds = logTypeMds;
if(logTypeMds != null){
putBodyParameter("LogTypeMds", logTypeMds);
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putBodyParameter("Id", id.toString());
}
}
public Integer getEventTransferSwitch() {
return this.eventTransferSwitch;
}
public void setEventTransferSwitch(Integer eventTransferSwitch) {
this.eventTransferSwitch = eventTransferSwitch;
if(eventTransferSwitch != null){
putBodyParameter("EventTransferSwitch", eventTransferSwitch.toString());
}
}
public String getQueryCycle() {
return this.queryCycle;
}
public void setQueryCycle(String queryCycle) {
this.queryCycle = queryCycle;
if(queryCycle != null){
putBodyParameter("QueryCycle", queryCycle);
}
}
public String getLogSource() {
return this.logSource;
}
public void setLogSource(String logSource) {
this.logSource = logSource;
if(logSource != null){
putBodyParameter("LogSource", logSource);
}
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
if(alertType != null){
putBodyParameter("AlertType", alertType);
}
}
public String getEventTransferType() {
return this.eventTransferType;
}
public void setEventTransferType(String eventTransferType) {
this.eventTransferType = eventTransferType;
if(eventTransferType != null){
putBodyParameter("EventTransferType", eventTransferType);
}
}
public String getRuleCondition() {
return this.ruleCondition;
}
public void setRuleCondition(String ruleCondition) {
this.ruleCondition = ruleCondition;
if(ruleCondition != null){
putBodyParameter("RuleCondition", ruleCondition);
}
}
public String getEventTransferExt() {
return this.eventTransferExt;
}
public void setEventTransferExt(String eventTransferExt) {
this.eventTransferExt = eventTransferExt;
if(eventTransferExt != null){
putBodyParameter("EventTransferExt", eventTransferExt);
}
}
public String getThreatLevel() {
return this.threatLevel;
}
public void setThreatLevel(String threatLevel) {
this.threatLevel = threatLevel;
if(threatLevel != null){
putBodyParameter("ThreatLevel", threatLevel);
}
}
public String getRuleGroup() {
return this.ruleGroup;
}
public void setRuleGroup(String ruleGroup) {
this.ruleGroup = ruleGroup;
if(ruleGroup != null){
putBodyParameter("RuleGroup", ruleGroup);
}
}
@Override
public Class<PostCustomizeRuleResponse> getResponseClass() {
return PostCustomizeRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostCustomizeRuleResponse.java
|
/*
* 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.PostCustomizeRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PostCustomizeRuleResponse 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 Long id;
private String gmtCreate;
private String gmtModified;
private Long aliuid;
private String ruleName;
private String ruleDesc;
private String ruleType;
private String threatLevel;
private String alertType;
private String alertTypeMds;
private String logType;
private String logTypeMds;
private String logSource;
private String logSourceMds;
private String ruleCondition;
private String ruleGroup;
private String ruleThreshold;
private String queryCycle;
private String attCk;
private Integer eventTransferSwitch;
private String eventTransferType;
private String eventTransferExt;
private Integer status;
private Integer dataType;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public Long getAliuid() {
return this.aliuid;
}
public void setAliuid(Long aliuid) {
this.aliuid = aliuid;
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
}
public String getRuleDesc() {
return this.ruleDesc;
}
public void setRuleDesc(String ruleDesc) {
this.ruleDesc = ruleDesc;
}
public String getRuleType() {
return this.ruleType;
}
public void setRuleType(String ruleType) {
this.ruleType = ruleType;
}
public String getThreatLevel() {
return this.threatLevel;
}
public void setThreatLevel(String threatLevel) {
this.threatLevel = threatLevel;
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public String getAlertTypeMds() {
return this.alertTypeMds;
}
public void setAlertTypeMds(String alertTypeMds) {
this.alertTypeMds = alertTypeMds;
}
public String getLogType() {
return this.logType;
}
public void setLogType(String logType) {
this.logType = logType;
}
public String getLogTypeMds() {
return this.logTypeMds;
}
public void setLogTypeMds(String logTypeMds) {
this.logTypeMds = logTypeMds;
}
public String getLogSource() {
return this.logSource;
}
public void setLogSource(String logSource) {
this.logSource = logSource;
}
public String getLogSourceMds() {
return this.logSourceMds;
}
public void setLogSourceMds(String logSourceMds) {
this.logSourceMds = logSourceMds;
}
public String getRuleCondition() {
return this.ruleCondition;
}
public void setRuleCondition(String ruleCondition) {
this.ruleCondition = ruleCondition;
}
public String getRuleGroup() {
return this.ruleGroup;
}
public void setRuleGroup(String ruleGroup) {
this.ruleGroup = ruleGroup;
}
public String getRuleThreshold() {
return this.ruleThreshold;
}
public void setRuleThreshold(String ruleThreshold) {
this.ruleThreshold = ruleThreshold;
}
public String getQueryCycle() {
return this.queryCycle;
}
public void setQueryCycle(String queryCycle) {
this.queryCycle = queryCycle;
}
public String getAttCk() {
return this.attCk;
}
public void setAttCk(String attCk) {
this.attCk = attCk;
}
public Integer getEventTransferSwitch() {
return this.eventTransferSwitch;
}
public void setEventTransferSwitch(Integer eventTransferSwitch) {
this.eventTransferSwitch = eventTransferSwitch;
}
public String getEventTransferType() {
return this.eventTransferType;
}
public void setEventTransferType(String eventTransferType) {
this.eventTransferType = eventTransferType;
}
public String getEventTransferExt() {
return this.eventTransferExt;
}
public void setEventTransferExt(String eventTransferExt) {
this.eventTransferExt = eventTransferExt;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getDataType() {
return this.dataType;
}
public void setDataType(Integer dataType) {
this.dataType = dataType;
}
}
@Override
public PostCustomizeRuleResponse getInstance(UnmarshallerContext context) {
return PostCustomizeRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostCustomizeRuleTestRequest.java
|
/*
* 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 PostCustomizeRuleTestRequest extends RpcAcsRequest<PostCustomizeRuleTestResponse> {
private Long roleFor;
private Integer roleType;
private Long id;
private String simulatedData;
private String testType;
public PostCustomizeRuleTestRequest() {
super("cloud-siem", "2022-06-16", "PostCustomizeRuleTest", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putBodyParameter("Id", id.toString());
}
}
public String getSimulatedData() {
return this.simulatedData;
}
public void setSimulatedData(String simulatedData) {
this.simulatedData = simulatedData;
if(simulatedData != null){
putBodyParameter("SimulatedData", simulatedData);
}
}
public String getTestType() {
return this.testType;
}
public void setTestType(String testType) {
this.testType = testType;
if(testType != null){
putBodyParameter("TestType", testType);
}
}
@Override
public Class<PostCustomizeRuleTestResponse> getResponseClass() {
return PostCustomizeRuleTestResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostCustomizeRuleTestResponse.java
|
/*
* 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.PostCustomizeRuleTestResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PostCustomizeRuleTestResponse extends AcsResponse {
@Override
public PostCustomizeRuleTestResponse getInstance(UnmarshallerContext context) {
return PostCustomizeRuleTestResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostEventDisposeAndWhiteruleListRequest.java
|
/*
* 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 PostEventDisposeAndWhiteruleListRequest extends RpcAcsRequest<PostEventDisposeAndWhiteruleListResponse> {
private Long roleFor;
private String remark;
private String eventDispose;
private String receiverInfo;
private Integer roleType;
private String threatLevel;
private String incidentUuid;
private Integer status;
public PostEventDisposeAndWhiteruleListRequest() {
super("cloud-siem", "2022-06-16", "PostEventDisposeAndWhiteruleList", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public String getRemark() {
return this.remark;
}
public void setRemark(String remark) {
this.remark = remark;
if(remark != null){
putBodyParameter("Remark", remark);
}
}
public String getEventDispose() {
return this.eventDispose;
}
public void setEventDispose(String eventDispose) {
this.eventDispose = eventDispose;
if(eventDispose != null){
putBodyParameter("EventDispose", eventDispose);
}
}
public String getReceiverInfo() {
return this.receiverInfo;
}
public void setReceiverInfo(String receiverInfo) {
this.receiverInfo = receiverInfo;
if(receiverInfo != null){
putBodyParameter("ReceiverInfo", receiverInfo);
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getThreatLevel() {
return this.threatLevel;
}
public void setThreatLevel(String threatLevel) {
this.threatLevel = threatLevel;
if(threatLevel != null){
putBodyParameter("ThreatLevel", threatLevel);
}
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
if(incidentUuid != null){
putBodyParameter("IncidentUuid", incidentUuid);
}
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
if(status != null){
putBodyParameter("Status", status.toString());
}
}
@Override
public Class<PostEventDisposeAndWhiteruleListResponse> getResponseClass() {
return PostEventDisposeAndWhiteruleListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostEventDisposeAndWhiteruleListResponse.java
|
/*
* 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.PostEventDisposeAndWhiteruleListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PostEventDisposeAndWhiteruleListResponse extends AcsResponse {
private String data;
private Boolean success;
private Integer code;
private String message;
private String requestId;
public String getData() {
return this.data;
}
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 getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PostEventDisposeAndWhiteruleListResponse getInstance(UnmarshallerContext context) {
return PostEventDisposeAndWhiteruleListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostEventWhiteruleListRequest.java
|
/*
* 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 PostEventWhiteruleListRequest extends RpcAcsRequest<PostEventWhiteruleListResponse> {
private Long roleFor;
private Integer roleType;
private String whiteruleList;
private String incidentUuid;
public PostEventWhiteruleListRequest() {
super("cloud-siem", "2022-06-16", "PostEventWhiteruleList", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getWhiteruleList() {
return this.whiteruleList;
}
public void setWhiteruleList(String whiteruleList) {
this.whiteruleList = whiteruleList;
if(whiteruleList != null){
putBodyParameter("WhiteruleList", whiteruleList);
}
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
if(incidentUuid != null){
putBodyParameter("IncidentUuid", incidentUuid);
}
}
@Override
public Class<PostEventWhiteruleListResponse> getResponseClass() {
return PostEventWhiteruleListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostEventWhiteruleListResponse.java
|
/*
* 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.PostEventWhiteruleListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PostEventWhiteruleListResponse extends AcsResponse {
private String data;
private Boolean success;
private Integer code;
private String message;
private String requestId;
public String getData() {
return this.data;
}
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 getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PostEventWhiteruleListResponse getInstance(UnmarshallerContext context) {
return PostEventWhiteruleListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostFinishCustomizeRuleTestRequest.java
|
/*
* 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 PostFinishCustomizeRuleTestRequest extends RpcAcsRequest<PostFinishCustomizeRuleTestResponse> {
private Long roleFor;
private Integer roleType;
private Long id;
public PostFinishCustomizeRuleTestRequest() {
super("cloud-siem", "2022-06-16", "PostFinishCustomizeRuleTest", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putBodyParameter("Id", id.toString());
}
}
@Override
public Class<PostFinishCustomizeRuleTestResponse> getResponseClass() {
return PostFinishCustomizeRuleTestResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostFinishCustomizeRuleTestResponse.java
|
/*
* 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.PostFinishCustomizeRuleTestResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PostFinishCustomizeRuleTestResponse extends AcsResponse {
@Override
public PostFinishCustomizeRuleTestResponse getInstance(UnmarshallerContext context) {
return PostFinishCustomizeRuleTestResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostRuleStatusChangeRequest.java
|
/*
* 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 PostRuleStatusChangeRequest extends RpcAcsRequest<PostRuleStatusChangeResponse> {
private Long roleFor;
private Integer roleType;
private String ruleType;
private String ids;
private Boolean inUse;
public PostRuleStatusChangeRequest() {
super("cloud-siem", "2022-06-16", "PostRuleStatusChange", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getRuleType() {
return this.ruleType;
}
public void setRuleType(String ruleType) {
this.ruleType = ruleType;
if(ruleType != null){
putBodyParameter("RuleType", ruleType);
}
}
public String getIds() {
return this.ids;
}
public void setIds(String ids) {
this.ids = ids;
if(ids != null){
putBodyParameter("Ids", ids);
}
}
public Boolean getInUse() {
return this.inUse;
}
public void setInUse(Boolean inUse) {
this.inUse = inUse;
if(inUse != null){
putBodyParameter("InUse", inUse.toString());
}
}
@Override
public Class<PostRuleStatusChangeResponse> getResponseClass() {
return PostRuleStatusChangeResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/PostRuleStatusChangeResponse.java
|
/*
* 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.PostRuleStatusChangeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PostRuleStatusChangeResponse extends AcsResponse {
@Override
public PostRuleStatusChangeResponse getInstance(UnmarshallerContext context) {
return PostRuleStatusChangeResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/RestoreCapacityRequest.java
|
/*
* 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 RestoreCapacityRequest extends RpcAcsRequest<RestoreCapacityResponse> {
private Long roleFor;
private Integer roleType;
public RestoreCapacityRequest() {
super("cloud-siem", "2022-06-16", "RestoreCapacity", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
@Override
public Class<RestoreCapacityResponse> getResponseClass() {
return RestoreCapacityResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/RestoreCapacityResponse.java
|
/*
* 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.RestoreCapacityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class RestoreCapacityResponse 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 RestoreCapacityResponse getInstance(UnmarshallerContext context) {
return RestoreCapacityResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/SetStorageRequest.java
|
/*
* 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 SetStorageRequest extends RpcAcsRequest<SetStorageResponse> {
private Long roleFor;
private Integer roleType;
private Integer ttl;
private String region;
public SetStorageRequest() {
super("cloud-siem", "2022-06-16", "SetStorage", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public Integer getTtl() {
return this.ttl;
}
public void setTtl(Integer ttl) {
this.ttl = ttl;
if(ttl != null){
putBodyParameter("Ttl", ttl.toString());
}
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
if(region != null){
putBodyParameter("Region", region);
}
}
@Override
public Class<SetStorageResponse> getResponseClass() {
return SetStorageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/SetStorageResponse.java
|
/*
* 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.SetStorageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SetStorageResponse 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 SetStorageResponse getInstance(UnmarshallerContext context) {
return SetStorageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksRequest.java
|
/*
* 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<SubmitImportLogTasksResponse> {
private String cloudCode;
private Long roleFor;
private Integer roleType;
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 Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
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<SubmitImportLogTasksResponse> getResponseClass() {
return SubmitImportLogTasksResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/SubmitImportLogTasksResponse.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/UpdateAutomateResponseConfigStatusRequest.java
|
/*
* 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 UpdateAutomateResponseConfigStatusRequest extends RpcAcsRequest<UpdateAutomateResponseConfigStatusResponse> {
private Long roleFor;
private Integer roleType;
private String ids;
private Boolean inUse;
public UpdateAutomateResponseConfigStatusRequest() {
super("cloud-siem", "2022-06-16", "UpdateAutomateResponseConfigStatus", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getIds() {
return this.ids;
}
public void setIds(String ids) {
this.ids = ids;
if(ids != null){
putBodyParameter("Ids", ids);
}
}
public Boolean getInUse() {
return this.inUse;
}
public void setInUse(Boolean inUse) {
this.inUse = inUse;
if(inUse != null){
putBodyParameter("InUse", inUse.toString());
}
}
@Override
public Class<UpdateAutomateResponseConfigStatusResponse> getResponseClass() {
return UpdateAutomateResponseConfigStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/UpdateAutomateResponseConfigStatusResponse.java
|
/*
* 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.UpdateAutomateResponseConfigStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAutomateResponseConfigStatusResponse extends AcsResponse {
private String data;
private Boolean success;
private Integer code;
private String message;
private String requestId;
public String getData() {
return this.data;
}
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 getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public UpdateAutomateResponseConfigStatusResponse getInstance(UnmarshallerContext context) {
return UpdateAutomateResponseConfigStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/UpdateWhiteRuleListRequest.java
|
/*
* 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 UpdateWhiteRuleListRequest extends RpcAcsRequest<UpdateWhiteRuleListResponse> {
private Long whiteRuleId;
private Long roleFor;
private Integer roleType;
private String expression;
private String incidentUuid;
public UpdateWhiteRuleListRequest() {
super("cloud-siem", "2022-06-16", "UpdateWhiteRuleList", "cloud-siem");
setMethod(MethodType.POST);
}
public Long getWhiteRuleId() {
return this.whiteRuleId;
}
public void setWhiteRuleId(Long whiteRuleId) {
this.whiteRuleId = whiteRuleId;
if(whiteRuleId != null){
putBodyParameter("WhiteRuleId", whiteRuleId.toString());
}
}
public Long getRoleFor() {
return this.roleFor;
}
public void setRoleFor(Long roleFor) {
this.roleFor = roleFor;
if(roleFor != null){
putBodyParameter("RoleFor", roleFor.toString());
}
}
public Integer getRoleType() {
return this.roleType;
}
public void setRoleType(Integer roleType) {
this.roleType = roleType;
if(roleType != null){
putBodyParameter("RoleType", roleType.toString());
}
}
public String getExpression() {
return this.expression;
}
public void setExpression(String expression) {
this.expression = expression;
if(expression != null){
putBodyParameter("Expression", expression);
}
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public void setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
if(incidentUuid != null){
putBodyParameter("IncidentUuid", incidentUuid);
}
}
@Override
public Class<UpdateWhiteRuleListResponse> getResponseClass() {
return UpdateWhiteRuleListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/model/v20220616/UpdateWhiteRuleListResponse.java
|
/*
* 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.UpdateWhiteRuleListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateWhiteRuleListResponse extends AcsResponse {
@Override
public UpdateWhiteRuleListResponse getInstance(UnmarshallerContext context) {
return UpdateWhiteRuleListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceLogResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/AddDataSourceResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/AddUserSourceLogConfigResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/BindAccountResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/CloseDeliveryResponseUnmarshaller.java
|
/*
* 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.CloseDeliveryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CloseDeliveryResponseUnmarshaller {
public static CloseDeliveryResponse unmarshall(CloseDeliveryResponse closeDeliveryResponse, UnmarshallerContext _ctx) {
closeDeliveryResponse.setRequestId(_ctx.stringValue("CloseDeliveryResponse.RequestId"));
closeDeliveryResponse.setData(_ctx.booleanValue("CloseDeliveryResponse.Data"));
return closeDeliveryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DeleteAutomateResponseConfigResponseUnmarshaller.java
|
/*
* 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.DeleteAutomateResponseConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteAutomateResponseConfigResponseUnmarshaller {
public static DeleteAutomateResponseConfigResponse unmarshall(DeleteAutomateResponseConfigResponse deleteAutomateResponseConfigResponse, UnmarshallerContext _ctx) {
deleteAutomateResponseConfigResponse.setRequestId(_ctx.stringValue("DeleteAutomateResponseConfigResponse.RequestId"));
deleteAutomateResponseConfigResponse.setData(_ctx.stringValue("DeleteAutomateResponseConfigResponse.Data"));
deleteAutomateResponseConfigResponse.setSuccess(_ctx.booleanValue("DeleteAutomateResponseConfigResponse.Success"));
deleteAutomateResponseConfigResponse.setCode(_ctx.integerValue("DeleteAutomateResponseConfigResponse.Code"));
deleteAutomateResponseConfigResponse.setMessage(_ctx.stringValue("DeleteAutomateResponseConfigResponse.Message"));
return deleteAutomateResponseConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DeleteBindAccountResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DeleteCustomizeRuleResponseUnmarshaller.java
|
/*
* 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.DeleteCustomizeRuleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteCustomizeRuleResponseUnmarshaller {
public static DeleteCustomizeRuleResponse unmarshall(DeleteCustomizeRuleResponse deleteCustomizeRuleResponse, UnmarshallerContext _ctx) {
deleteCustomizeRuleResponse.setRequestId(_ctx.stringValue("DeleteCustomizeRuleResponse.RequestId"));
deleteCustomizeRuleResponse.setData(_ctx.integerValue("DeleteCustomizeRuleResponse.Data"));
deleteCustomizeRuleResponse.setSuccess(_ctx.booleanValue("DeleteCustomizeRuleResponse.Success"));
deleteCustomizeRuleResponse.setCode(_ctx.integerValue("DeleteCustomizeRuleResponse.Code"));
deleteCustomizeRuleResponse.setMessage(_ctx.stringValue("DeleteCustomizeRuleResponse.Message"));
return deleteCustomizeRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceLogResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DeleteDataSourceResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DeleteWhiteRuleListResponseUnmarshaller.java
|
/*
* 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.DeleteWhiteRuleListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteWhiteRuleListResponseUnmarshaller {
public static DeleteWhiteRuleListResponse unmarshall(DeleteWhiteRuleListResponse deleteWhiteRuleListResponse, UnmarshallerContext _ctx) {
return deleteWhiteRuleListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAggregateFunctionResponseUnmarshaller.java
|
/*
* 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.DescribeAggregateFunctionResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAggregateFunctionResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAggregateFunctionResponseUnmarshaller {
public static DescribeAggregateFunctionResponse unmarshall(DescribeAggregateFunctionResponse describeAggregateFunctionResponse, UnmarshallerContext _ctx) {
describeAggregateFunctionResponse.setRequestId(_ctx.stringValue("DescribeAggregateFunctionResponse.RequestId"));
describeAggregateFunctionResponse.setSuccess(_ctx.booleanValue("DescribeAggregateFunctionResponse.Success"));
describeAggregateFunctionResponse.setCode(_ctx.integerValue("DescribeAggregateFunctionResponse.Code"));
describeAggregateFunctionResponse.setMessage(_ctx.stringValue("DescribeAggregateFunctionResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAggregateFunctionResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setFunction(_ctx.stringValue("DescribeAggregateFunctionResponse.Data["+ i +"].Function"));
dataItem.setFunctionName(_ctx.stringValue("DescribeAggregateFunctionResponse.Data["+ i +"].FunctionName"));
data.add(dataItem);
}
describeAggregateFunctionResponse.setData(data);
return describeAggregateFunctionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertSceneByEventResponseUnmarshaller.java
|
/*
* 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.DescribeAlertSceneByEventResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertSceneByEventResponse.DataItem;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertSceneByEventResponse.DataItem.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAlertSceneByEventResponseUnmarshaller {
public static DescribeAlertSceneByEventResponse unmarshall(DescribeAlertSceneByEventResponse describeAlertSceneByEventResponse, UnmarshallerContext _ctx) {
describeAlertSceneByEventResponse.setRequestId(_ctx.stringValue("DescribeAlertSceneByEventResponse.RequestId"));
describeAlertSceneByEventResponse.setSuccess(_ctx.booleanValue("DescribeAlertSceneByEventResponse.Success"));
describeAlertSceneByEventResponse.setCode(_ctx.integerValue("DescribeAlertSceneByEventResponse.Code"));
describeAlertSceneByEventResponse.setMessage(_ctx.stringValue("DescribeAlertSceneByEventResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAlertSceneByEventResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setAlertType(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].AlertType"));
dataItem.setAlertTypeId(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].AlertTypeId"));
dataItem.setAlertName(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].AlertName"));
dataItem.setAlertNameId(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].AlertNameId"));
dataItem.setAlertTile(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].AlertTile"));
dataItem.setAlertTileId(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].AlertTileId"));
List<Target> targets = new ArrayList<Target>();
for (int j = 0; j < _ctx.lengthValue("DescribeAlertSceneByEventResponse.Data["+ i +"].Targets.Length"); j++) {
Target target = new Target();
target.setType(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].Targets["+ j +"].Type"));
target.setName(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].Targets["+ j +"].Name"));
target.setValue(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].Targets["+ j +"].Value"));
List<String> values = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("DescribeAlertSceneByEventResponse.Data["+ i +"].Targets["+ j +"].Values.Length"); k++) {
values.add(_ctx.stringValue("DescribeAlertSceneByEventResponse.Data["+ i +"].Targets["+ j +"].Values["+ k +"]"));
}
target.setValues(values);
targets.add(target);
}
dataItem.setTargets(targets);
data.add(dataItem);
}
describeAlertSceneByEventResponse.setData(data);
return describeAlertSceneByEventResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertSceneResponseUnmarshaller.java
|
/*
* 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<DataItem> data = new ArrayList<DataItem>();
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<Target> targets = new ArrayList<Target>();
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<String> values = new ArrayList<String>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertSourceResponseUnmarshaller.java
|
/*
* 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.DescribeAlertSourceResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertSourceResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAlertSourceResponseUnmarshaller {
public static DescribeAlertSourceResponse unmarshall(DescribeAlertSourceResponse describeAlertSourceResponse, UnmarshallerContext _ctx) {
describeAlertSourceResponse.setRequestId(_ctx.stringValue("DescribeAlertSourceResponse.RequestId"));
describeAlertSourceResponse.setSuccess(_ctx.booleanValue("DescribeAlertSourceResponse.Success"));
describeAlertSourceResponse.setCode(_ctx.integerValue("DescribeAlertSourceResponse.Code"));
describeAlertSourceResponse.setMessage(_ctx.stringValue("DescribeAlertSourceResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAlertSourceResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setSourceName(_ctx.stringValue("DescribeAlertSourceResponse.Data["+ i +"].SourceName"));
dataItem.setSource(_ctx.stringValue("DescribeAlertSourceResponse.Data["+ i +"].Source"));
data.add(dataItem);
}
describeAlertSourceResponse.setData(data);
return describeAlertSourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertSourceWithEventResponseUnmarshaller.java
|
/*
* 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.DescribeAlertSourceWithEventResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertSourceWithEventResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAlertSourceWithEventResponseUnmarshaller {
public static DescribeAlertSourceWithEventResponse unmarshall(DescribeAlertSourceWithEventResponse describeAlertSourceWithEventResponse, UnmarshallerContext _ctx) {
describeAlertSourceWithEventResponse.setRequestId(_ctx.stringValue("DescribeAlertSourceWithEventResponse.RequestId"));
describeAlertSourceWithEventResponse.setSuccess(_ctx.booleanValue("DescribeAlertSourceWithEventResponse.Success"));
describeAlertSourceWithEventResponse.setCode(_ctx.integerValue("DescribeAlertSourceWithEventResponse.Code"));
describeAlertSourceWithEventResponse.setMessage(_ctx.stringValue("DescribeAlertSourceWithEventResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAlertSourceWithEventResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setSourceName(_ctx.stringValue("DescribeAlertSourceWithEventResponse.Data["+ i +"].SourceName"));
dataItem.setSource(_ctx.stringValue("DescribeAlertSourceWithEventResponse.Data["+ i +"].Source"));
data.add(dataItem);
}
describeAlertSourceWithEventResponse.setData(data);
return describeAlertSourceWithEventResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertTypeResponseUnmarshaller.java
|
/*
* 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.DescribeAlertTypeResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertTypeResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAlertTypeResponseUnmarshaller {
public static DescribeAlertTypeResponse unmarshall(DescribeAlertTypeResponse describeAlertTypeResponse, UnmarshallerContext _ctx) {
describeAlertTypeResponse.setRequestId(_ctx.stringValue("DescribeAlertTypeResponse.RequestId"));
describeAlertTypeResponse.setSuccess(_ctx.booleanValue("DescribeAlertTypeResponse.Success"));
describeAlertTypeResponse.setCode(_ctx.integerValue("DescribeAlertTypeResponse.Code"));
describeAlertTypeResponse.setMessage(_ctx.stringValue("DescribeAlertTypeResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAlertTypeResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setAlertType(_ctx.stringValue("DescribeAlertTypeResponse.Data["+ i +"].AlertType"));
dataItem.setAlertTypeMds(_ctx.stringValue("DescribeAlertTypeResponse.Data["+ i +"].AlertTypeMds"));
data.add(dataItem);
}
describeAlertTypeResponse.setData(data);
return describeAlertTypeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsCountResponseUnmarshaller.java
|
/*
* 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.DescribeAlertsCountResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAlertsCountResponse.Data;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAlertsCountResponseUnmarshaller {
public static DescribeAlertsCountResponse unmarshall(DescribeAlertsCountResponse describeAlertsCountResponse, UnmarshallerContext _ctx) {
describeAlertsCountResponse.setRequestId(_ctx.stringValue("DescribeAlertsCountResponse.RequestId"));
describeAlertsCountResponse.setSuccess(_ctx.booleanValue("DescribeAlertsCountResponse.Success"));
describeAlertsCountResponse.setCode(_ctx.integerValue("DescribeAlertsCountResponse.Code"));
describeAlertsCountResponse.setMessage(_ctx.stringValue("DescribeAlertsCountResponse.Message"));
Data data = new Data();
data.setHigh(_ctx.longValue("DescribeAlertsCountResponse.Data.High"));
data.setMedium(_ctx.longValue("DescribeAlertsCountResponse.Data.Medium"));
data.setLow(_ctx.longValue("DescribeAlertsCountResponse.Data.Low"));
data.setAll(_ctx.longValue("DescribeAlertsCountResponse.Data.All"));
data.setProductNum(_ctx.integerValue("DescribeAlertsCountResponse.Data.ProductNum"));
data.setCountMap(_ctx.mapValue("DescribeAlertsCountResponse.Data.CountMap"));
describeAlertsCountResponse.setData(data);
return describeAlertsCountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsResponseUnmarshaller.java
|
/*
* 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<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
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.setEntityList(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].EntityList"));
responseDataItem.setAttCk(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].AttCk"));
responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].SubUserId"));
responseDataItem.setSubUserName(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].SubUserName"));
responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].CloudCode"));
responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].IsDefend"));
responseDataItem.setExtendContent(_ctx.stringValue("DescribeAlertsResponse.Data.ResponseData["+ i +"].ExtendContent"));
List<AlertInfoListItem> alertInfoList = new ArrayList<AlertInfoListItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEntityResponseUnmarshaller.java
|
/*
* 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<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
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.setEntityList(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].EntityList"));
responseDataItem.setAttCk(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].AttCk"));
responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].SubUserId"));
responseDataItem.setSubUserName(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].SubUserName"));
responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].CloudCode"));
responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsWithEntityResponse.Data.ResponseData["+ i +"].IsDefend"));
List<AlertInfoListItem> alertInfoList = new ArrayList<AlertInfoListItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAlertsWithEventResponseUnmarshaller.java
|
/*
* 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<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
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.setEntityList(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].EntityList"));
responseDataItem.setAttCk(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].AttCk"));
responseDataItem.setSubUserId(_ctx.longValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].SubUserId"));
responseDataItem.setSubUserName(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].SubUserName"));
responseDataItem.setCloudCode(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].CloudCode"));
responseDataItem.setIsDefend(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].IsDefend"));
responseDataItem.setExtendContent(_ctx.stringValue("DescribeAlertsWithEventResponse.Data.ResponseData["+ i +"].ExtendContent"));
List<AlertInfoListItem> alertInfoList = new ArrayList<AlertInfoListItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAuthResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAutomateResponseConfigCounterResponseUnmarshaller.java
|
/*
* 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.DescribeAutomateResponseConfigCounterResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAutomateResponseConfigCounterResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAutomateResponseConfigCounterResponseUnmarshaller {
public static DescribeAutomateResponseConfigCounterResponse unmarshall(DescribeAutomateResponseConfigCounterResponse describeAutomateResponseConfigCounterResponse, UnmarshallerContext _ctx) {
describeAutomateResponseConfigCounterResponse.setRequestId(_ctx.stringValue("DescribeAutomateResponseConfigCounterResponse.RequestId"));
describeAutomateResponseConfigCounterResponse.setSuccess(_ctx.booleanValue("DescribeAutomateResponseConfigCounterResponse.Success"));
describeAutomateResponseConfigCounterResponse.setCode(_ctx.integerValue("DescribeAutomateResponseConfigCounterResponse.Code"));
describeAutomateResponseConfigCounterResponse.setMessage(_ctx.stringValue("DescribeAutomateResponseConfigCounterResponse.Message"));
Data data = new Data();
data.setAll(_ctx.longValue("DescribeAutomateResponseConfigCounterResponse.Data.All"));
data.setOnline(_ctx.longValue("DescribeAutomateResponseConfigCounterResponse.Data.Online"));
describeAutomateResponseConfigCounterResponse.setData(data);
return describeAutomateResponseConfigCounterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAutomateResponseConfigFeatureResponseUnmarshaller.java
|
/*
* 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.DescribeAutomateResponseConfigFeatureResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAutomateResponseConfigFeatureResponse.DataItem;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAutomateResponseConfigFeatureResponse.DataItem.RightValueEnum;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAutomateResponseConfigFeatureResponse.DataItem.SupportOperator;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAutomateResponseConfigFeatureResponseUnmarshaller {
public static DescribeAutomateResponseConfigFeatureResponse unmarshall(DescribeAutomateResponseConfigFeatureResponse describeAutomateResponseConfigFeatureResponse, UnmarshallerContext _ctx) {
describeAutomateResponseConfigFeatureResponse.setRequestId(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.RequestId"));
describeAutomateResponseConfigFeatureResponse.setSuccess(_ctx.booleanValue("DescribeAutomateResponseConfigFeatureResponse.Success"));
describeAutomateResponseConfigFeatureResponse.setCode(_ctx.integerValue("DescribeAutomateResponseConfigFeatureResponse.Code"));
describeAutomateResponseConfigFeatureResponse.setMessage(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAutomateResponseConfigFeatureResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setFeature(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].Feature"));
dataItem.setDataType(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].DataType"));
List<SupportOperator> supportOperators = new ArrayList<SupportOperator>();
for (int j = 0; j < _ctx.lengthValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators.Length"); j++) {
SupportOperator supportOperator = new SupportOperator();
supportOperator.setHasRightValue(_ctx.booleanValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].HasRightValue"));
supportOperator.setOperator(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].Operator"));
supportOperator.setOperatorName(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].OperatorName"));
supportOperator.setOperatorDescCn(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].OperatorDescCn"));
supportOperator.setOperatorDescEn(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].OperatorDescEn"));
supportOperator.setSupportDataType(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].SupportDataType"));
supportOperator.setIndex(_ctx.integerValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].Index"));
List<String> supportTag = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].SupportTag.Length"); k++) {
supportTag.add(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].SupportOperators["+ j +"].SupportTag["+ k +"]"));
}
supportOperator.setSupportTag(supportTag);
supportOperators.add(supportOperator);
}
dataItem.setSupportOperators(supportOperators);
List<RightValueEnum> rightValueEnums = new ArrayList<RightValueEnum>();
for (int j = 0; j < _ctx.lengthValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].RightValueEnums.Length"); j++) {
RightValueEnum rightValueEnum = new RightValueEnum();
rightValueEnum.setValue(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].RightValueEnums["+ j +"].Value"));
rightValueEnum.setValueMds(_ctx.stringValue("DescribeAutomateResponseConfigFeatureResponse.Data["+ i +"].RightValueEnums["+ j +"].ValueMds"));
rightValueEnums.add(rightValueEnum);
}
dataItem.setRightValueEnums(rightValueEnums);
data.add(dataItem);
}
describeAutomateResponseConfigFeatureResponse.setData(data);
return describeAutomateResponseConfigFeatureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeAutomateResponseConfigPlayBooksResponseUnmarshaller.java
|
/*
* 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.DescribeAutomateResponseConfigPlayBooksResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeAutomateResponseConfigPlayBooksResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAutomateResponseConfigPlayBooksResponseUnmarshaller {
public static DescribeAutomateResponseConfigPlayBooksResponse unmarshall(DescribeAutomateResponseConfigPlayBooksResponse describeAutomateResponseConfigPlayBooksResponse, UnmarshallerContext _ctx) {
describeAutomateResponseConfigPlayBooksResponse.setRequestId(_ctx.stringValue("DescribeAutomateResponseConfigPlayBooksResponse.RequestId"));
describeAutomateResponseConfigPlayBooksResponse.setSuccess(_ctx.booleanValue("DescribeAutomateResponseConfigPlayBooksResponse.Success"));
describeAutomateResponseConfigPlayBooksResponse.setCode(_ctx.integerValue("DescribeAutomateResponseConfigPlayBooksResponse.Code"));
describeAutomateResponseConfigPlayBooksResponse.setMessage(_ctx.stringValue("DescribeAutomateResponseConfigPlayBooksResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeAutomateResponseConfigPlayBooksResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setUuid(_ctx.stringValue("DescribeAutomateResponseConfigPlayBooksResponse.Data["+ i +"].Uuid"));
dataItem.setDescription(_ctx.stringValue("DescribeAutomateResponseConfigPlayBooksResponse.Data["+ i +"].Description"));
dataItem.setDisplayName(_ctx.stringValue("DescribeAutomateResponseConfigPlayBooksResponse.Data["+ i +"].DisplayName"));
dataItem.setName(_ctx.stringValue("DescribeAutomateResponseConfigPlayBooksResponse.Data["+ i +"].Name"));
dataItem.setParamType(_ctx.stringValue("DescribeAutomateResponseConfigPlayBooksResponse.Data["+ i +"].ParamType"));
data.add(dataItem);
}
describeAutomateResponseConfigPlayBooksResponse.setData(data);
return describeAutomateResponseConfigPlayBooksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemAssetsCounterResponseUnmarshaller.java
|
/*
* 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.DescribeCloudSiemAssetsCounterResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemAssetsCounterResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCloudSiemAssetsCounterResponseUnmarshaller {
public static DescribeCloudSiemAssetsCounterResponse unmarshall(DescribeCloudSiemAssetsCounterResponse describeCloudSiemAssetsCounterResponse, UnmarshallerContext _ctx) {
describeCloudSiemAssetsCounterResponse.setRequestId(_ctx.stringValue("DescribeCloudSiemAssetsCounterResponse.RequestId"));
describeCloudSiemAssetsCounterResponse.setSuccess(_ctx.booleanValue("DescribeCloudSiemAssetsCounterResponse.Success"));
describeCloudSiemAssetsCounterResponse.setCode(_ctx.integerValue("DescribeCloudSiemAssetsCounterResponse.Code"));
describeCloudSiemAssetsCounterResponse.setMessage(_ctx.stringValue("DescribeCloudSiemAssetsCounterResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeCloudSiemAssetsCounterResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setAssetType(_ctx.stringValue("DescribeCloudSiemAssetsCounterResponse.Data["+ i +"].AssetType"));
dataItem.setAssetNum(_ctx.integerValue("DescribeCloudSiemAssetsCounterResponse.Data["+ i +"].AssetNum"));
data.add(dataItem);
}
describeCloudSiemAssetsCounterResponse.setData(data);
return describeCloudSiemAssetsCounterResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemAssetsResponseUnmarshaller.java
|
/*
* 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.DescribeCloudSiemAssetsResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemAssetsResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemAssetsResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemAssetsResponse.Data.ResponseDataItem;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemAssetsResponse.Data.ResponseDataItem.AssetInfoItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCloudSiemAssetsResponseUnmarshaller {
public static DescribeCloudSiemAssetsResponse unmarshall(DescribeCloudSiemAssetsResponse describeCloudSiemAssetsResponse, UnmarshallerContext _ctx) {
describeCloudSiemAssetsResponse.setRequestId(_ctx.stringValue("DescribeCloudSiemAssetsResponse.RequestId"));
describeCloudSiemAssetsResponse.setSuccess(_ctx.booleanValue("DescribeCloudSiemAssetsResponse.Success"));
describeCloudSiemAssetsResponse.setCode(_ctx.integerValue("DescribeCloudSiemAssetsResponse.Code"));
describeCloudSiemAssetsResponse.setMessage(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("DescribeCloudSiemAssetsResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("DescribeCloudSiemAssetsResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("DescribeCloudSiemAssetsResponse.Data.PageInfo.TotalCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeCloudSiemAssetsResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setId(_ctx.longValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].Id"));
responseDataItem.setGmtCreate(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].GmtCreate"));
responseDataItem.setGmtModified(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].GmtModified"));
responseDataItem.setAliuid(_ctx.longValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].Aliuid"));
responseDataItem.setSubUserId(_ctx.longValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].SubUserId"));
responseDataItem.setIncidentUuid(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].IncidentUuid"));
responseDataItem.setAlertUuid(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AlertUuid"));
responseDataItem.setAssetName(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AssetName"));
responseDataItem.setAssetType(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AssetType"));
responseDataItem.setAssetId(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AssetId"));
responseDataItem.setCloudCode(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].CloudCode"));
List<AssetInfoItem> assetInfo = new ArrayList<AssetInfoItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AssetInfo.Length"); j++) {
AssetInfoItem assetInfoItem = new AssetInfoItem();
assetInfoItem.setKey(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AssetInfo["+ j +"].Key"));
assetInfoItem.setKeyName(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AssetInfo["+ j +"].KeyName"));
assetInfoItem.setValues(_ctx.stringValue("DescribeCloudSiemAssetsResponse.Data.ResponseData["+ i +"].AssetInfo["+ j +"].Values"));
assetInfo.add(assetInfoItem);
}
responseDataItem.setAssetInfo(assetInfo);
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
describeCloudSiemAssetsResponse.setData(data);
return describeCloudSiemAssetsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventDetailResponseUnmarshaller.java
|
/*
* 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.DescribeCloudSiemEventDetailResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventDetailResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventDetailResponse.Data.AttckStage;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCloudSiemEventDetailResponseUnmarshaller {
public static DescribeCloudSiemEventDetailResponse unmarshall(DescribeCloudSiemEventDetailResponse describeCloudSiemEventDetailResponse, UnmarshallerContext _ctx) {
describeCloudSiemEventDetailResponse.setRequestId(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.RequestId"));
describeCloudSiemEventDetailResponse.setSuccess(_ctx.booleanValue("DescribeCloudSiemEventDetailResponse.Success"));
describeCloudSiemEventDetailResponse.setCode(_ctx.integerValue("DescribeCloudSiemEventDetailResponse.Code"));
describeCloudSiemEventDetailResponse.setMessage(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Message"));
Data data = new Data();
data.setGmtCreate(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.GmtCreate"));
data.setGmtModified(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.GmtModified"));
data.setAliuid(_ctx.longValue("DescribeCloudSiemEventDetailResponse.Data.Aliuid"));
data.setAlertNum(_ctx.integerValue("DescribeCloudSiemEventDetailResponse.Data.AlertNum"));
data.setAssetNum(_ctx.integerValue("DescribeCloudSiemEventDetailResponse.Data.AssetNum"));
data.setIncidentUuid(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.IncidentUuid"));
data.setIncidentName(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.IncidentName"));
data.setIncidentNameEn(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.IncidentNameEn"));
data.setDescription(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.Description"));
data.setDescriptionEn(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.DescriptionEn"));
data.setThreatLevel(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.ThreatLevel"));
data.setThreatScore(_ctx.floatValue("DescribeCloudSiemEventDetailResponse.Data.ThreatScore"));
data.setExtContent(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.ExtContent"));
data.setStatus(_ctx.integerValue("DescribeCloudSiemEventDetailResponse.Data.Status"));
data.setReferAccount(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.ReferAccount"));
data.setIncidentType(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.IncidentType"));
data.setRuleId(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.RuleId"));
data.setRemark(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.Remark"));
List<String> dataSources = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeCloudSiemEventDetailResponse.Data.DataSources.Length"); i++) {
dataSources.add(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.DataSources["+ i +"]"));
}
data.setDataSources(dataSources);
List<String> attCkLabels = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeCloudSiemEventDetailResponse.Data.AttCkLabels.Length"); i++) {
attCkLabels.add(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.AttCkLabels["+ i +"]"));
}
data.setAttCkLabels(attCkLabels);
List<AttckStage> attckStages = new ArrayList<AttckStage>();
for (int i = 0; i < _ctx.lengthValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages.Length"); i++) {
AttckStage attckStage = new AttckStage();
attckStage.setTacticId(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages["+ i +"].TacticId"));
attckStage.setTacticName(_ctx.stringValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages["+ i +"].TacticName"));
attckStage.setAlertNum(_ctx.integerValue("DescribeCloudSiemEventDetailResponse.Data.AttckStages["+ i +"].AlertNum"));
attckStages.add(attckStage);
}
data.setAttckStages(attckStages);
describeCloudSiemEventDetailResponse.setData(data);
return describeCloudSiemEventDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCloudSiemEventsResponseUnmarshaller.java
|
/*
* 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.DescribeCloudSiemEventsResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data.ResponseDataItem;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCloudSiemEventsResponse.Data.ResponseDataItem.AttckStage;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCloudSiemEventsResponseUnmarshaller {
public static DescribeCloudSiemEventsResponse unmarshall(DescribeCloudSiemEventsResponse describeCloudSiemEventsResponse, UnmarshallerContext _ctx) {
describeCloudSiemEventsResponse.setRequestId(_ctx.stringValue("DescribeCloudSiemEventsResponse.RequestId"));
describeCloudSiemEventsResponse.setSuccess(_ctx.booleanValue("DescribeCloudSiemEventsResponse.Success"));
describeCloudSiemEventsResponse.setCode(_ctx.integerValue("DescribeCloudSiemEventsResponse.Code"));
describeCloudSiemEventsResponse.setMessage(_ctx.stringValue("DescribeCloudSiemEventsResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("DescribeCloudSiemEventsResponse.Data.PageInfo.TotalCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeCloudSiemEventsResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setGmtCreate(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].GmtCreate"));
responseDataItem.setGmtModified(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].GmtModified"));
responseDataItem.setAliuid(_ctx.longValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].Aliuid"));
responseDataItem.setAlertNum(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AlertNum"));
responseDataItem.setAssetNum(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AssetNum"));
responseDataItem.setIncidentUuid(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].IncidentUuid"));
responseDataItem.setIncidentName(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].IncidentName"));
responseDataItem.setIncidentNameEn(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].IncidentNameEn"));
responseDataItem.setDescription(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].Description"));
responseDataItem.setDescriptionEn(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].DescriptionEn"));
responseDataItem.setThreatLevel(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].ThreatLevel"));
responseDataItem.setThreatScore(_ctx.floatValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].ThreatScore"));
responseDataItem.setExtContent(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].ExtContent"));
responseDataItem.setStatus(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].Status"));
responseDataItem.setReferAccount(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].ReferAccount"));
responseDataItem.setIncidentType(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].IncidentType"));
responseDataItem.setRuleId(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].RuleId"));
responseDataItem.setRemark(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].Remark"));
List<String> dataSources = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].DataSources.Length"); j++) {
dataSources.add(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].DataSources["+ j +"]"));
}
responseDataItem.setDataSources(dataSources);
List<String> attCkLabels = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttCkLabels.Length"); j++) {
attCkLabels.add(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttCkLabels["+ j +"]"));
}
responseDataItem.setAttCkLabels(attCkLabels);
List<AttckStage> attckStages = new ArrayList<AttckStage>();
for (int j = 0; j < _ctx.lengthValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages.Length"); j++) {
AttckStage attckStage = new AttckStage();
attckStage.setTacticId(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages["+ j +"].TacticId"));
attckStage.setTacticName(_ctx.stringValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages["+ j +"].TacticName"));
attckStage.setAlertNum(_ctx.integerValue("DescribeCloudSiemEventsResponse.Data.ResponseData["+ i +"].AttckStages["+ j +"].AlertNum"));
attckStages.add(attckStage);
}
responseDataItem.setAttckStages(attckStages);
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
describeCloudSiemEventsResponse.setData(data);
return describeCloudSiemEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCustomizeRuleCountResponseUnmarshaller.java
|
/*
* 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.DescribeCustomizeRuleCountResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCustomizeRuleCountResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCustomizeRuleCountResponseUnmarshaller {
public static DescribeCustomizeRuleCountResponse unmarshall(DescribeCustomizeRuleCountResponse describeCustomizeRuleCountResponse, UnmarshallerContext _ctx) {
describeCustomizeRuleCountResponse.setRequestId(_ctx.stringValue("DescribeCustomizeRuleCountResponse.RequestId"));
describeCustomizeRuleCountResponse.setSuccess(_ctx.booleanValue("DescribeCustomizeRuleCountResponse.Success"));
describeCustomizeRuleCountResponse.setCode(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Code"));
describeCustomizeRuleCountResponse.setMessage(_ctx.stringValue("DescribeCustomizeRuleCountResponse.Message"));
Data data = new Data();
data.setInUseRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.InUseRuleNum"));
data.setHighRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.HighRuleNum"));
data.setMediumRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.MediumRuleNum"));
data.setLowRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.LowRuleNum"));
data.setTotalRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.TotalRuleNum"));
data.setCustomizeRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.CustomizeRuleNum"));
data.setPredefinedRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.PredefinedRuleNum"));
data.setUnEventRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.UnEventRuleNum"));
data.setExpertRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.ExpertRuleNum"));
data.setGraphComputingRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.GraphComputingRuleNum"));
data.setSingleAlertRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.SingleAlertRuleNum"));
data.setAggregationRuleNum(_ctx.integerValue("DescribeCustomizeRuleCountResponse.Data.AggregationRuleNum"));
describeCustomizeRuleCountResponse.setData(data);
return describeCustomizeRuleCountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCustomizeRuleTestHistogramResponseUnmarshaller.java
|
/*
* 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.DescribeCustomizeRuleTestHistogramResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCustomizeRuleTestHistogramResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCustomizeRuleTestHistogramResponseUnmarshaller {
public static DescribeCustomizeRuleTestHistogramResponse unmarshall(DescribeCustomizeRuleTestHistogramResponse describeCustomizeRuleTestHistogramResponse, UnmarshallerContext _ctx) {
describeCustomizeRuleTestHistogramResponse.setRequestId(_ctx.stringValue("DescribeCustomizeRuleTestHistogramResponse.RequestId"));
describeCustomizeRuleTestHistogramResponse.setSuccess(_ctx.booleanValue("DescribeCustomizeRuleTestHistogramResponse.Success"));
describeCustomizeRuleTestHistogramResponse.setCode(_ctx.integerValue("DescribeCustomizeRuleTestHistogramResponse.Code"));
describeCustomizeRuleTestHistogramResponse.setMessage(_ctx.stringValue("DescribeCustomizeRuleTestHistogramResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeCustomizeRuleTestHistogramResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setFrom(_ctx.longValue("DescribeCustomizeRuleTestHistogramResponse.Data["+ i +"].From"));
dataItem.setTo(_ctx.longValue("DescribeCustomizeRuleTestHistogramResponse.Data["+ i +"].To"));
dataItem.setCount(_ctx.longValue("DescribeCustomizeRuleTestHistogramResponse.Data["+ i +"].Count"));
data.add(dataItem);
}
describeCustomizeRuleTestHistogramResponse.setData(data);
return describeCustomizeRuleTestHistogramResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeCustomizeRuleTestResponseUnmarshaller.java
|
/*
* 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.DescribeCustomizeRuleTestResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeCustomizeRuleTestResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCustomizeRuleTestResponseUnmarshaller {
public static DescribeCustomizeRuleTestResponse unmarshall(DescribeCustomizeRuleTestResponse describeCustomizeRuleTestResponse, UnmarshallerContext _ctx) {
describeCustomizeRuleTestResponse.setRequestId(_ctx.stringValue("DescribeCustomizeRuleTestResponse.RequestId"));
describeCustomizeRuleTestResponse.setSuccess(_ctx.booleanValue("DescribeCustomizeRuleTestResponse.Success"));
describeCustomizeRuleTestResponse.setCode(_ctx.integerValue("DescribeCustomizeRuleTestResponse.Code"));
describeCustomizeRuleTestResponse.setMessage(_ctx.stringValue("DescribeCustomizeRuleTestResponse.Message"));
Data data = new Data();
data.setId(_ctx.longValue("DescribeCustomizeRuleTestResponse.Data.Id"));
data.setStatus(_ctx.integerValue("DescribeCustomizeRuleTestResponse.Data.Status"));
data.setSimulateData(_ctx.stringValue("DescribeCustomizeRuleTestResponse.Data.SimulateData"));
describeCustomizeRuleTestResponse.setData(data);
return describeCustomizeRuleTestResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceInstanceResponseUnmarshaller.java
|
/*
* 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<DataSourceInstanceParam> dataSourceInstanceParams = new ArrayList<DataSourceInstanceParam>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDataSourceParametersResponseUnmarshaller.java
|
/*
* 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<DataItem> data = new ArrayList<DataItem>();
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<ParamValueItem> paramValue = new ArrayList<ParamValueItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDisposeAndPlaybookResponseUnmarshaller.java
|
/*
* 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.DescribeDisposeAndPlaybookResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeDisposeAndPlaybookResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeDisposeAndPlaybookResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeDisposeAndPlaybookResponse.Data.ResponseDataItem;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeDisposeAndPlaybookResponse.Data.ResponseDataItem.PlaybookListItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDisposeAndPlaybookResponseUnmarshaller {
public static DescribeDisposeAndPlaybookResponse unmarshall(DescribeDisposeAndPlaybookResponse describeDisposeAndPlaybookResponse, UnmarshallerContext _ctx) {
describeDisposeAndPlaybookResponse.setRequestId(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.RequestId"));
describeDisposeAndPlaybookResponse.setSuccess(_ctx.booleanValue("DescribeDisposeAndPlaybookResponse.Success"));
describeDisposeAndPlaybookResponse.setCode(_ctx.integerValue("DescribeDisposeAndPlaybookResponse.Code"));
describeDisposeAndPlaybookResponse.setMessage(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("DescribeDisposeAndPlaybookResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("DescribeDisposeAndPlaybookResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("DescribeDisposeAndPlaybookResponse.Data.PageInfo.TotalCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setEntityId(_ctx.longValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].EntityId"));
responseDataItem.setEntityType(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].EntityType"));
responseDataItem.setOpcodeMap(_ctx.mapValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].OpcodeMap"));
responseDataItem.setEntityInfo(_ctx.mapValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].EntityInfo"));
responseDataItem.setDispose(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].Dispose"));
responseDataItem.setAlertNum(_ctx.integerValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].AlertNum"));
List<String> opcodeSet = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].OpcodeSet.Length"); j++) {
opcodeSet.add(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].OpcodeSet["+ j +"]"));
}
responseDataItem.setOpcodeSet(opcodeSet);
List<String> scope = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].Scope.Length"); j++) {
scope.add(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].Scope["+ j +"]"));
}
responseDataItem.setScope(scope);
List<PlaybookListItem> playbookList = new ArrayList<PlaybookListItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList.Length"); j++) {
PlaybookListItem playbookListItem = new PlaybookListItem();
playbookListItem.setOpCode(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].OpCode"));
playbookListItem.setOpLevel(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].OpLevel"));
playbookListItem.setDescription(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].Description"));
playbookListItem.setDisplayName(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].DisplayName"));
playbookListItem.setTaskConfig(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].TaskConfig"));
playbookListItem.setName(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].Name"));
playbookListItem.setUuid(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].Uuid"));
playbookListItem.setWafPlaybook(_ctx.booleanValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].WafPlaybook"));
playbookListItem.setAvailable(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].Available"));
List<String> paramConfig = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].ParamConfig.Length"); k++) {
paramConfig.add(_ctx.stringValue("DescribeDisposeAndPlaybookResponse.Data.ResponseData["+ i +"].PlaybookList["+ j +"].ParamConfig["+ k +"]"));
}
playbookListItem.setParamConfig(paramConfig);
playbookList.add(playbookListItem);
}
responseDataItem.setPlaybookList(playbookList);
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
describeDisposeAndPlaybookResponse.setData(data);
return describeDisposeAndPlaybookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeDisposeStrategyPlaybookResponseUnmarshaller.java
|
/*
* 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.DescribeDisposeStrategyPlaybookResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeDisposeStrategyPlaybookResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDisposeStrategyPlaybookResponseUnmarshaller {
public static DescribeDisposeStrategyPlaybookResponse unmarshall(DescribeDisposeStrategyPlaybookResponse describeDisposeStrategyPlaybookResponse, UnmarshallerContext _ctx) {
describeDisposeStrategyPlaybookResponse.setRequestId(_ctx.stringValue("DescribeDisposeStrategyPlaybookResponse.RequestId"));
describeDisposeStrategyPlaybookResponse.setSuccess(_ctx.booleanValue("DescribeDisposeStrategyPlaybookResponse.Success"));
describeDisposeStrategyPlaybookResponse.setCode(_ctx.integerValue("DescribeDisposeStrategyPlaybookResponse.Code"));
describeDisposeStrategyPlaybookResponse.setMessage(_ctx.stringValue("DescribeDisposeStrategyPlaybookResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeDisposeStrategyPlaybookResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setPlaybookName(_ctx.stringValue("DescribeDisposeStrategyPlaybookResponse.Data["+ i +"].PlaybookName"));
dataItem.setPlaybookUuid(_ctx.stringValue("DescribeDisposeStrategyPlaybookResponse.Data["+ i +"].PlaybookUuid"));
data.add(dataItem);
}
describeDisposeStrategyPlaybookResponse.setData(data);
return describeDisposeStrategyPlaybookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeEntityInfoResponseUnmarshaller.java
|
/*
* 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.DescribeEntityInfoResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeEntityInfoResponse.Data;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEntityInfoResponseUnmarshaller {
public static DescribeEntityInfoResponse unmarshall(DescribeEntityInfoResponse describeEntityInfoResponse, UnmarshallerContext _ctx) {
describeEntityInfoResponse.setRequestId(_ctx.stringValue("DescribeEntityInfoResponse.RequestId"));
describeEntityInfoResponse.setSuccess(_ctx.booleanValue("DescribeEntityInfoResponse.Success"));
describeEntityInfoResponse.setCode(_ctx.integerValue("DescribeEntityInfoResponse.Code"));
describeEntityInfoResponse.setMessage(_ctx.stringValue("DescribeEntityInfoResponse.Message"));
Data data = new Data();
data.setEntityId(_ctx.longValue("DescribeEntityInfoResponse.Data.EntityId"));
data.setEntityType(_ctx.stringValue("DescribeEntityInfoResponse.Data.EntityType"));
data.setEntityInfo(_ctx.mapValue("DescribeEntityInfoResponse.Data.EntityInfo"));
data.setTipInfo(_ctx.mapValue("DescribeEntityInfoResponse.Data.TipInfo"));
describeEntityInfoResponse.setData(data);
return describeEntityInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeEventCountByThreatLevelResponseUnmarshaller.java
|
/*
* 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.DescribeEventCountByThreatLevelResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeEventCountByThreatLevelResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEventCountByThreatLevelResponseUnmarshaller {
public static DescribeEventCountByThreatLevelResponse unmarshall(DescribeEventCountByThreatLevelResponse describeEventCountByThreatLevelResponse, UnmarshallerContext _ctx) {
describeEventCountByThreatLevelResponse.setRequestId(_ctx.stringValue("DescribeEventCountByThreatLevelResponse.RequestId"));
describeEventCountByThreatLevelResponse.setSuccess(_ctx.booleanValue("DescribeEventCountByThreatLevelResponse.Success"));
describeEventCountByThreatLevelResponse.setCode(_ctx.integerValue("DescribeEventCountByThreatLevelResponse.Code"));
describeEventCountByThreatLevelResponse.setMessage(_ctx.stringValue("DescribeEventCountByThreatLevelResponse.Message"));
Data data = new Data();
data.setEventNum(_ctx.longValue("DescribeEventCountByThreatLevelResponse.Data.EventNum"));
data.setUndealEventNum(_ctx.longValue("DescribeEventCountByThreatLevelResponse.Data.UndealEventNum"));
data.setHighLevelEventNum(_ctx.longValue("DescribeEventCountByThreatLevelResponse.Data.HighLevelEventNum"));
data.setMediumLevelEventNum(_ctx.longValue("DescribeEventCountByThreatLevelResponse.Data.MediumLevelEventNum"));
data.setLowLevelEventNum(_ctx.longValue("DescribeEventCountByThreatLevelResponse.Data.LowLevelEventNum"));
describeEventCountByThreatLevelResponse.setData(data);
return describeEventCountByThreatLevelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeEventDisposeResponseUnmarshaller.java
|
/*
* 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.DescribeEventDisposeResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeEventDisposeResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeEventDisposeResponse.Data.ReceiverInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEventDisposeResponseUnmarshaller {
public static DescribeEventDisposeResponse unmarshall(DescribeEventDisposeResponse describeEventDisposeResponse, UnmarshallerContext _ctx) {
describeEventDisposeResponse.setRequestId(_ctx.stringValue("DescribeEventDisposeResponse.RequestId"));
describeEventDisposeResponse.setSuccess(_ctx.booleanValue("DescribeEventDisposeResponse.Success"));
describeEventDisposeResponse.setCode(_ctx.integerValue("DescribeEventDisposeResponse.Code"));
describeEventDisposeResponse.setMessage(_ctx.stringValue("DescribeEventDisposeResponse.Message"));
Data data = new Data();
data.setStatus(_ctx.integerValue("DescribeEventDisposeResponse.Data.Status"));
data.setRemark(_ctx.stringValue("DescribeEventDisposeResponse.Data.Remark"));
List<String> eventDispose = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeEventDisposeResponse.Data.EventDispose.Length"); i++) {
eventDispose.add(_ctx.stringValue("DescribeEventDisposeResponse.Data.EventDispose["+ i +"]"));
}
data.setEventDispose(eventDispose);
ReceiverInfo receiverInfo = new ReceiverInfo();
receiverInfo.setId(_ctx.longValue("DescribeEventDisposeResponse.Data.ReceiverInfo.Id"));
receiverInfo.setGmtCreate(_ctx.stringValue("DescribeEventDisposeResponse.Data.ReceiverInfo.GmtCreate"));
receiverInfo.setGmtModified(_ctx.stringValue("DescribeEventDisposeResponse.Data.ReceiverInfo.GmtModified"));
receiverInfo.setIncidentUuid(_ctx.stringValue("DescribeEventDisposeResponse.Data.ReceiverInfo.IncidentUuid"));
receiverInfo.setMessageTitle(_ctx.stringValue("DescribeEventDisposeResponse.Data.ReceiverInfo.MessageTitle"));
receiverInfo.setReceiver(_ctx.stringValue("DescribeEventDisposeResponse.Data.ReceiverInfo.Receiver"));
receiverInfo.setChannel(_ctx.stringValue("DescribeEventDisposeResponse.Data.ReceiverInfo.Channel"));
receiverInfo.setStatus(_ctx.integerValue("DescribeEventDisposeResponse.Data.ReceiverInfo.Status"));
data.setReceiverInfo(receiverInfo);
describeEventDisposeResponse.setData(data);
return describeEventDisposeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeImportedLogCountResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeLogFieldsResponseUnmarshaller.java
|
/*
* 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.DescribeLogFieldsResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeLogFieldsResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeLogFieldsResponseUnmarshaller {
public static DescribeLogFieldsResponse unmarshall(DescribeLogFieldsResponse describeLogFieldsResponse, UnmarshallerContext _ctx) {
describeLogFieldsResponse.setRequestId(_ctx.stringValue("DescribeLogFieldsResponse.RequestId"));
describeLogFieldsResponse.setSuccess(_ctx.booleanValue("DescribeLogFieldsResponse.Success"));
describeLogFieldsResponse.setCode(_ctx.integerValue("DescribeLogFieldsResponse.Code"));
describeLogFieldsResponse.setMessage(_ctx.stringValue("DescribeLogFieldsResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogFieldsResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setFieldName(_ctx.stringValue("DescribeLogFieldsResponse.Data["+ i +"].FieldName"));
dataItem.setFieldDesc(_ctx.stringValue("DescribeLogFieldsResponse.Data["+ i +"].FieldDesc"));
dataItem.setLogCode(_ctx.stringValue("DescribeLogFieldsResponse.Data["+ i +"].LogCode"));
dataItem.setActivityName(_ctx.stringValue("DescribeLogFieldsResponse.Data["+ i +"].ActivityName"));
dataItem.setFieldType(_ctx.stringValue("DescribeLogFieldsResponse.Data["+ i +"].FieldType"));
data.add(dataItem);
}
describeLogFieldsResponse.setData(data);
return describeLogFieldsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeLogSourceResponseUnmarshaller.java
|
/*
* 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.DescribeLogSourceResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeLogSourceResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeLogSourceResponseUnmarshaller {
public static DescribeLogSourceResponse unmarshall(DescribeLogSourceResponse describeLogSourceResponse, UnmarshallerContext _ctx) {
describeLogSourceResponse.setRequestId(_ctx.stringValue("DescribeLogSourceResponse.RequestId"));
describeLogSourceResponse.setSuccess(_ctx.booleanValue("DescribeLogSourceResponse.Success"));
describeLogSourceResponse.setCode(_ctx.integerValue("DescribeLogSourceResponse.Code"));
describeLogSourceResponse.setMessage(_ctx.stringValue("DescribeLogSourceResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogSourceResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setLogSource(_ctx.stringValue("DescribeLogSourceResponse.Data["+ i +"].LogSource"));
dataItem.setLogSourceName(_ctx.stringValue("DescribeLogSourceResponse.Data["+ i +"].LogSourceName"));
data.add(dataItem);
}
describeLogSourceResponse.setData(data);
return describeLogSourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeLogTypeResponseUnmarshaller.java
|
/*
* 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.DescribeLogTypeResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeLogTypeResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeLogTypeResponseUnmarshaller {
public static DescribeLogTypeResponse unmarshall(DescribeLogTypeResponse describeLogTypeResponse, UnmarshallerContext _ctx) {
describeLogTypeResponse.setRequestId(_ctx.stringValue("DescribeLogTypeResponse.RequestId"));
describeLogTypeResponse.setSuccess(_ctx.booleanValue("DescribeLogTypeResponse.Success"));
describeLogTypeResponse.setCode(_ctx.integerValue("DescribeLogTypeResponse.Code"));
describeLogTypeResponse.setMessage(_ctx.stringValue("DescribeLogTypeResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeLogTypeResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setLogType(_ctx.stringValue("DescribeLogTypeResponse.Data["+ i +"].LogType"));
dataItem.setLogTypeName(_ctx.stringValue("DescribeLogTypeResponse.Data["+ i +"].LogTypeName"));
data.add(dataItem);
}
describeLogTypeResponse.setData(data);
return describeLogTypeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeOperatorsResponseUnmarshaller.java
|
/*
* 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.DescribeOperatorsResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeOperatorsResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeOperatorsResponseUnmarshaller {
public static DescribeOperatorsResponse unmarshall(DescribeOperatorsResponse describeOperatorsResponse, UnmarshallerContext _ctx) {
describeOperatorsResponse.setRequestId(_ctx.stringValue("DescribeOperatorsResponse.RequestId"));
describeOperatorsResponse.setSuccess(_ctx.booleanValue("DescribeOperatorsResponse.Success"));
describeOperatorsResponse.setCode(_ctx.integerValue("DescribeOperatorsResponse.Code"));
describeOperatorsResponse.setMessage(_ctx.stringValue("DescribeOperatorsResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeOperatorsResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setOperator(_ctx.stringValue("DescribeOperatorsResponse.Data["+ i +"].Operator"));
dataItem.setOperatorName(_ctx.stringValue("DescribeOperatorsResponse.Data["+ i +"].OperatorName"));
dataItem.setOperatorDescCn(_ctx.stringValue("DescribeOperatorsResponse.Data["+ i +"].OperatorDescCn"));
dataItem.setOperatorDescEn(_ctx.stringValue("DescribeOperatorsResponse.Data["+ i +"].OperatorDescEn"));
dataItem.setSupportDataType(_ctx.stringValue("DescribeOperatorsResponse.Data["+ i +"].SupportDataType"));
dataItem.setIndex(_ctx.integerValue("DescribeOperatorsResponse.Data["+ i +"].Index"));
List<String> supportTag = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeOperatorsResponse.Data["+ i +"].SupportTag.Length"); j++) {
supportTag.add(_ctx.stringValue("DescribeOperatorsResponse.Data["+ i +"].SupportTag["+ j +"]"));
}
dataItem.setSupportTag(supportTag);
data.add(dataItem);
}
describeOperatorsResponse.setData(data);
return describeOperatorsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeProdCountResponseUnmarshaller.java
|
/*
* 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"));
data.setIdcProdCount(_ctx.integerValue("DescribeProdCountResponse.Data.IdcProdCount"));
data.setAliyunImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.AliyunImportedCount"));
data.setHcloudImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.HcloudImportedCount"));
data.setQcloudImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.QcloudImportedCount"));
data.setIdcImportedCount(_ctx.integerValue("DescribeProdCountResponse.Data.IdcImportedCount"));
describeProdCountResponse.setData(data);
return describeProdCountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeScopeUsersResponseUnmarshaller.java
|
/*
* 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.DescribeScopeUsersResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeScopeUsersResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScopeUsersResponseUnmarshaller {
public static DescribeScopeUsersResponse unmarshall(DescribeScopeUsersResponse describeScopeUsersResponse, UnmarshallerContext _ctx) {
describeScopeUsersResponse.setRequestId(_ctx.stringValue("DescribeScopeUsersResponse.RequestId"));
describeScopeUsersResponse.setSuccess(_ctx.booleanValue("DescribeScopeUsersResponse.Success"));
describeScopeUsersResponse.setCode(_ctx.integerValue("DescribeScopeUsersResponse.Code"));
describeScopeUsersResponse.setMessage(_ctx.stringValue("DescribeScopeUsersResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeScopeUsersResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setAliUid(_ctx.longValue("DescribeScopeUsersResponse.Data["+ i +"].AliUid"));
dataItem.setUserName(_ctx.stringValue("DescribeScopeUsersResponse.Data["+ i +"].UserName"));
dataItem.setUserId(_ctx.stringValue("DescribeScopeUsersResponse.Data["+ i +"].UserId"));
dataItem.setCloudCode(_ctx.stringValue("DescribeScopeUsersResponse.Data["+ i +"].CloudCode"));
dataItem.setInstanceId(_ctx.stringValue("DescribeScopeUsersResponse.Data["+ i +"].InstanceId"));
List<String> domains = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeScopeUsersResponse.Data["+ i +"].Domains.Length"); j++) {
domains.add(_ctx.stringValue("DescribeScopeUsersResponse.Data["+ i +"].Domains["+ j +"]"));
}
dataItem.setDomains(domains);
data.add(dataItem);
}
describeScopeUsersResponse.setData(data);
return describeScopeUsersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeServiceStatusResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeStorageResponseUnmarshaller.java
|
/*
* 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.DescribeStorageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStorageResponseUnmarshaller {
public static DescribeStorageResponse unmarshall(DescribeStorageResponse describeStorageResponse, UnmarshallerContext _ctx) {
describeStorageResponse.setRequestId(_ctx.stringValue("DescribeStorageResponse.RequestId"));
describeStorageResponse.setData(_ctx.booleanValue("DescribeStorageResponse.Data"));
return describeStorageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeUserBuyStatusResponseUnmarshaller.java
|
/*
* 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"));
data.setRdOrder(_ctx.integerValue("DescribeUserBuyStatusResponse.Data.RdOrder"));
describeUserBuyStatusResponse.setData(data);
return describeUserBuyStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeWafScopeResponseUnmarshaller.java
|
/*
* 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.DescribeWafScopeResponse;
import com.aliyuncs.cloud_siem.model.v20220616.DescribeWafScopeResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWafScopeResponseUnmarshaller {
public static DescribeWafScopeResponse unmarshall(DescribeWafScopeResponse describeWafScopeResponse, UnmarshallerContext _ctx) {
describeWafScopeResponse.setRequestId(_ctx.stringValue("DescribeWafScopeResponse.RequestId"));
describeWafScopeResponse.setSuccess(_ctx.booleanValue("DescribeWafScopeResponse.Success"));
describeWafScopeResponse.setCode(_ctx.integerValue("DescribeWafScopeResponse.Code"));
describeWafScopeResponse.setMessage(_ctx.stringValue("DescribeWafScopeResponse.Message"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeWafScopeResponse.Data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setInstanceId(_ctx.stringValue("DescribeWafScopeResponse.Data["+ i +"].InstanceId"));
dataItem.setAliuid(_ctx.longValue("DescribeWafScopeResponse.Data["+ i +"].Aliuid"));
List<String> domains = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeWafScopeResponse.Data["+ i +"].Domains.Length"); j++) {
domains.add(_ctx.stringValue("DescribeWafScopeResponse.Data["+ i +"].Domains["+ j +"]"));
}
dataItem.setDomains(domains);
data.add(dataItem);
}
describeWafScopeResponse.setData(data);
return describeWafScopeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/DescribeWhiteRuleListResponseUnmarshaller.java
|
/*
* 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<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
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<Condition> conditions = new ArrayList<Condition>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/EnableAccessForCloudSiemResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/EnableServiceForCloudSiemResponseUnmarshaller.java
|
/*
* 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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/GetCapacityResponseUnmarshaller.java
|
/*
* 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.GetCapacityResponse;
import com.aliyuncs.cloud_siem.model.v20220616.GetCapacityResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCapacityResponseUnmarshaller {
public static GetCapacityResponse unmarshall(GetCapacityResponse getCapacityResponse, UnmarshallerContext _ctx) {
getCapacityResponse.setRequestId(_ctx.stringValue("GetCapacityResponse.RequestId"));
Data data = new Data();
data.setUsedCapacity(_ctx.doubleValue("GetCapacityResponse.Data.UsedCapacity"));
data.setPreservedCapacity(_ctx.longValue("GetCapacityResponse.Data.PreservedCapacity"));
data.setExistLogStore(_ctx.booleanValue("GetCapacityResponse.Data.ExistLogStore"));
getCapacityResponse.setData(data);
return getCapacityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/GetStorageResponseUnmarshaller.java
|
/*
* 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.GetStorageResponse;
import com.aliyuncs.cloud_siem.model.v20220616.GetStorageResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetStorageResponseUnmarshaller {
public static GetStorageResponse unmarshall(GetStorageResponse getStorageResponse, UnmarshallerContext _ctx) {
getStorageResponse.setRequestId(_ctx.stringValue("GetStorageResponse.RequestId"));
Data data = new Data();
data.setTtl(_ctx.integerValue("GetStorageResponse.Data.Ttl"));
data.setRegion(_ctx.stringValue("GetStorageResponse.Data.Region"));
data.setDisplayRegion(_ctx.booleanValue("GetStorageResponse.Data.DisplayRegion"));
data.setCanOperate(_ctx.booleanValue("GetStorageResponse.Data.CanOperate"));
getStorageResponse.setData(data);
return getStorageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountAccessIdResponseUnmarshaller.java
|
/*
* 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<DataItem> data = new ArrayList<DataItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListAccountsByLogResponseUnmarshaller.java
|
/*
* 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<DataItem> data = new ArrayList<DataItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListAllProdsResponseUnmarshaller.java
|
/*
* 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<ProdListItem> prodList = new ArrayList<ProdListItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListAutomateResponseConfigsResponseUnmarshaller.java
|
/*
* 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.ListAutomateResponseConfigsResponse;
import com.aliyuncs.cloud_siem.model.v20220616.ListAutomateResponseConfigsResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.ListAutomateResponseConfigsResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.ListAutomateResponseConfigsResponse.Data.ResponseDataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListAutomateResponseConfigsResponseUnmarshaller {
public static ListAutomateResponseConfigsResponse unmarshall(ListAutomateResponseConfigsResponse listAutomateResponseConfigsResponse, UnmarshallerContext _ctx) {
listAutomateResponseConfigsResponse.setRequestId(_ctx.stringValue("ListAutomateResponseConfigsResponse.RequestId"));
listAutomateResponseConfigsResponse.setSuccess(_ctx.booleanValue("ListAutomateResponseConfigsResponse.Success"));
listAutomateResponseConfigsResponse.setCode(_ctx.integerValue("ListAutomateResponseConfigsResponse.Code"));
listAutomateResponseConfigsResponse.setMessage(_ctx.stringValue("ListAutomateResponseConfigsResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("ListAutomateResponseConfigsResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("ListAutomateResponseConfigsResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("ListAutomateResponseConfigsResponse.Data.PageInfo.TotalCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("ListAutomateResponseConfigsResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setId(_ctx.longValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].Id"));
responseDataItem.setGmtCreate(_ctx.stringValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].GmtCreate"));
responseDataItem.setGmtModified(_ctx.stringValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].GmtModified"));
responseDataItem.setAliuid(_ctx.longValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].Aliuid"));
responseDataItem.setSubUserId(_ctx.longValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].SubUserId"));
responseDataItem.setRuleName(_ctx.stringValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].RuleName"));
responseDataItem.setAutoResponseType(_ctx.stringValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].AutoResponseType"));
responseDataItem.setExecutionCondition(_ctx.stringValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].ExecutionCondition"));
responseDataItem.setActionType(_ctx.stringValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].ActionType"));
responseDataItem.setActionConfig(_ctx.stringValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].ActionConfig"));
responseDataItem.setStatus(_ctx.integerValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].Status"));
responseDataItem.setDataType(_ctx.integerValue("ListAutomateResponseConfigsResponse.Data.ResponseData["+ i +"].DataType"));
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
listAutomateResponseConfigsResponse.setData(data);
return listAutomateResponseConfigsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListBindAccountResponseUnmarshaller.java
|
/*
* 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<DataItem> data = new ArrayList<DataItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListBindDataSourcesResponseUnmarshaller.java
|
/*
* 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<DataItem> data = new ArrayList<DataItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListCloudSiemCustomizeRulesResponseUnmarshaller.java
|
/*
* 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.ListCloudSiemCustomizeRulesResponse;
import com.aliyuncs.cloud_siem.model.v20220616.ListCloudSiemCustomizeRulesResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.ListCloudSiemCustomizeRulesResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.ListCloudSiemCustomizeRulesResponse.Data.ResponseDataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListCloudSiemCustomizeRulesResponseUnmarshaller {
public static ListCloudSiemCustomizeRulesResponse unmarshall(ListCloudSiemCustomizeRulesResponse listCloudSiemCustomizeRulesResponse, UnmarshallerContext _ctx) {
listCloudSiemCustomizeRulesResponse.setRequestId(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.RequestId"));
listCloudSiemCustomizeRulesResponse.setSuccess(_ctx.booleanValue("ListCloudSiemCustomizeRulesResponse.Success"));
listCloudSiemCustomizeRulesResponse.setCode(_ctx.integerValue("ListCloudSiemCustomizeRulesResponse.Code"));
listCloudSiemCustomizeRulesResponse.setMessage(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("ListCloudSiemCustomizeRulesResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("ListCloudSiemCustomizeRulesResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("ListCloudSiemCustomizeRulesResponse.Data.PageInfo.TotalCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setId(_ctx.longValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].Id"));
responseDataItem.setGmtCreate(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].GmtCreate"));
responseDataItem.setGmtModified(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].GmtModified"));
responseDataItem.setAliuid(_ctx.longValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].Aliuid"));
responseDataItem.setRuleName(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].RuleName"));
responseDataItem.setRuleDesc(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].RuleDesc"));
responseDataItem.setRuleType(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].RuleType"));
responseDataItem.setThreatLevel(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].ThreatLevel"));
responseDataItem.setAlertType(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].AlertType"));
responseDataItem.setAlertTypeMds(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].AlertTypeMds"));
responseDataItem.setLogType(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].LogType"));
responseDataItem.setLogTypeMds(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].LogTypeMds"));
responseDataItem.setLogSource(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].LogSource"));
responseDataItem.setLogSourceMds(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].LogSourceMds"));
responseDataItem.setRuleCondition(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].RuleCondition"));
responseDataItem.setRuleGroup(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].RuleGroup"));
responseDataItem.setRuleThreshold(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].RuleThreshold"));
responseDataItem.setQueryCycle(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].QueryCycle"));
responseDataItem.setAttCk(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].AttCk"));
responseDataItem.setEventTransferSwitch(_ctx.integerValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].EventTransferSwitch"));
responseDataItem.setEventTransferType(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].EventTransferType"));
responseDataItem.setEventTransferExt(_ctx.stringValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].EventTransferExt"));
responseDataItem.setStatus(_ctx.integerValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].Status"));
responseDataItem.setDataType(_ctx.integerValue("ListCloudSiemCustomizeRulesResponse.Data.ResponseData["+ i +"].DataType"));
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
listCloudSiemCustomizeRulesResponse.setData(data);
return listCloudSiemCustomizeRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListCloudSiemPredefinedRulesResponseUnmarshaller.java
|
/*
* 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.ListCloudSiemPredefinedRulesResponse;
import com.aliyuncs.cloud_siem.model.v20220616.ListCloudSiemPredefinedRulesResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.ListCloudSiemPredefinedRulesResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.ListCloudSiemPredefinedRulesResponse.Data.ResponseDataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListCloudSiemPredefinedRulesResponseUnmarshaller {
public static ListCloudSiemPredefinedRulesResponse unmarshall(ListCloudSiemPredefinedRulesResponse listCloudSiemPredefinedRulesResponse, UnmarshallerContext _ctx) {
listCloudSiemPredefinedRulesResponse.setRequestId(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.RequestId"));
listCloudSiemPredefinedRulesResponse.setSuccess(_ctx.booleanValue("ListCloudSiemPredefinedRulesResponse.Success"));
listCloudSiemPredefinedRulesResponse.setCode(_ctx.integerValue("ListCloudSiemPredefinedRulesResponse.Code"));
listCloudSiemPredefinedRulesResponse.setMessage(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("ListCloudSiemPredefinedRulesResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("ListCloudSiemPredefinedRulesResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("ListCloudSiemPredefinedRulesResponse.Data.PageInfo.TotalCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setId(_ctx.longValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].Id"));
responseDataItem.setGmtCreate(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].GmtCreate"));
responseDataItem.setGmtModified(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].GmtModified"));
responseDataItem.setRuleName(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].RuleName"));
responseDataItem.setRuleNameCn(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].RuleNameCn"));
responseDataItem.setRuleNameEn(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].RuleNameEn"));
responseDataItem.setRuleNameMds(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].RuleNameMds"));
responseDataItem.setRuleDescMds(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].RuleDescMds"));
responseDataItem.setThreatLevel(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].ThreatLevel"));
responseDataItem.setAlertType(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].AlertType"));
responseDataItem.setSource(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].Source"));
responseDataItem.setEventTransferType(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].EventTransferType"));
responseDataItem.setAttCk(_ctx.stringValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].AttCk"));
responseDataItem.setStatus(_ctx.integerValue("ListCloudSiemPredefinedRulesResponse.Data.ResponseData["+ i +"].Status"));
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
listCloudSiemPredefinedRulesResponse.setData(data);
return listCloudSiemPredefinedRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListCustomizeRuleTestResultResponseUnmarshaller.java
|
/*
* 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.ListCustomizeRuleTestResultResponse;
import com.aliyuncs.cloud_siem.model.v20220616.ListCustomizeRuleTestResultResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.ListCustomizeRuleTestResultResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.ListCustomizeRuleTestResultResponse.Data.ResponseDataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListCustomizeRuleTestResultResponseUnmarshaller {
public static ListCustomizeRuleTestResultResponse unmarshall(ListCustomizeRuleTestResultResponse listCustomizeRuleTestResultResponse, UnmarshallerContext _ctx) {
listCustomizeRuleTestResultResponse.setRequestId(_ctx.stringValue("ListCustomizeRuleTestResultResponse.RequestId"));
listCustomizeRuleTestResultResponse.setSuccess(_ctx.booleanValue("ListCustomizeRuleTestResultResponse.Success"));
listCustomizeRuleTestResultResponse.setCode(_ctx.integerValue("ListCustomizeRuleTestResultResponse.Code"));
listCustomizeRuleTestResultResponse.setMessage(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("ListCustomizeRuleTestResultResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("ListCustomizeRuleTestResultResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("ListCustomizeRuleTestResultResponse.Data.PageInfo.TotalCount"));
pageInfo.setVerifiedCount(_ctx.longValue("ListCustomizeRuleTestResultResponse.Data.PageInfo.VerifiedCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("ListCustomizeRuleTestResultResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setUuid(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].Uuid"));
responseDataItem.setMainUserId(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].MainUserId"));
responseDataItem.setSubUserId(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].SubUserId"));
responseDataItem.setLogType(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].LogType"));
responseDataItem.setLogSource(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].LogSource"));
responseDataItem.setAlertSrcProd(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].AlertSrcProd"));
responseDataItem.setAlertSrcProdModule(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].AlertSrcProdModule"));
responseDataItem.setAttCk(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].AttCk"));
responseDataItem.setAlertDesc(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].AlertDesc"));
responseDataItem.setOnlineStatus(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].OnlineStatus"));
responseDataItem.setEventName(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].EventName"));
responseDataItem.setLevel(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].Level"));
responseDataItem.setEventType(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].EventType"));
responseDataItem.setAlertDetail(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].AlertDetail"));
responseDataItem.setLogTime(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].LogTime"));
responseDataItem.setVerifyType(_ctx.stringValue("ListCustomizeRuleTestResultResponse.Data.ResponseData["+ i +"].VerifyType"));
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
listCustomizeRuleTestResultResponse.setData(data);
return listCustomizeRuleTestResultResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceLogsResponseUnmarshaller.java
|
/*
* 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<DataSourceInstanceLog> dataSourceInstanceLogs = new ArrayList<DataSourceInstanceLog>();
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<LogParam> logParams = new ArrayList<LogParam>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListDataSourceTypesResponseUnmarshaller.java
|
/*
* 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<DataItem> data = new ArrayList<DataItem>();
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;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListDeliveryResponseUnmarshaller.java
|
/*
* 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.ListDeliveryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDeliveryResponseUnmarshaller {
public static ListDeliveryResponse unmarshall(ListDeliveryResponse listDeliveryResponse, UnmarshallerContext _ctx) {
return listDeliveryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloud-siem/1.0.8/com/aliyuncs/cloud_siem/transform/v20220616/ListDisposeStrategyResponseUnmarshaller.java
|
/*
* 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.ListDisposeStrategyResponse;
import com.aliyuncs.cloud_siem.model.v20220616.ListDisposeStrategyResponse.Data;
import com.aliyuncs.cloud_siem.model.v20220616.ListDisposeStrategyResponse.Data.PageInfo;
import com.aliyuncs.cloud_siem.model.v20220616.ListDisposeStrategyResponse.Data.ResponseDataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDisposeStrategyResponseUnmarshaller {
public static ListDisposeStrategyResponse unmarshall(ListDisposeStrategyResponse listDisposeStrategyResponse, UnmarshallerContext _ctx) {
listDisposeStrategyResponse.setRequestId(_ctx.stringValue("ListDisposeStrategyResponse.RequestId"));
listDisposeStrategyResponse.setSuccess(_ctx.booleanValue("ListDisposeStrategyResponse.Success"));
listDisposeStrategyResponse.setCode(_ctx.integerValue("ListDisposeStrategyResponse.Code"));
listDisposeStrategyResponse.setMessage(_ctx.stringValue("ListDisposeStrategyResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(_ctx.integerValue("ListDisposeStrategyResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(_ctx.integerValue("ListDisposeStrategyResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(_ctx.longValue("ListDisposeStrategyResponse.Data.PageInfo.TotalCount"));
data.setPageInfo(pageInfo);
List<ResponseDataItem> responseData = new ArrayList<ResponseDataItem>();
for (int i = 0; i < _ctx.lengthValue("ListDisposeStrategyResponse.Data.ResponseData.Length"); i++) {
ResponseDataItem responseDataItem = new ResponseDataItem();
responseDataItem.setId(_ctx.longValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].Id"));
responseDataItem.setGmtCreate(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].GmtCreate"));
responseDataItem.setGmtModified(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].GmtModified"));
responseDataItem.setAliuid(_ctx.longValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].Aliuid"));
responseDataItem.setSubAliuid(_ctx.longValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].SubAliuid"));
responseDataItem.setIncidentName(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].IncidentName"));
responseDataItem.setIncidentUuid(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].IncidentUuid"));
responseDataItem.setAlertUuid(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].AlertUuid"));
responseDataItem.setSophonTaskId(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].SophonTaskId"));
responseDataItem.setPlaybookName(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].PlaybookName"));
responseDataItem.setPlaybookUuid(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].PlaybookUuid"));
responseDataItem.setPlaybookType(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].PlaybookType"));
responseDataItem.setTaskUrl(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].TaskUrl"));
responseDataItem.setEntityId(_ctx.longValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].EntityId"));
responseDataItem.setEntityType(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].EntityType"));
responseDataItem.setTaskParam(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].TaskParam"));
responseDataItem.setErrorMessage(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].ErrorMessage"));
responseDataItem.setFinishTime(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].FinishTime"));
responseDataItem.setEffectiveStatus(_ctx.integerValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].EffectiveStatus"));
responseDataItem.setStatus(_ctx.integerValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].Status"));
List<String> scope = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].Scope.Length"); j++) {
scope.add(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].Scope["+ j +"]"));
}
responseDataItem.setScope(scope);
List<String> entity = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].Entity.Length"); j++) {
entity.add(_ctx.stringValue("ListDisposeStrategyResponse.Data.ResponseData["+ i +"].Entity["+ j +"]"));
}
responseDataItem.setEntity(entity);
responseData.add(responseDataItem);
}
data.setResponseData(responseData);
listDisposeStrategyResponse.setData(data);
return listDisposeStrategyResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.