index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeQuaraFileResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeQuaraFileResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeQuaraFileResponse.QuaraFile;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeQuaraFileResponseUnmarshaller {
public static DescribeQuaraFileResponse unmarshall(DescribeQuaraFileResponse describeQuaraFileResponse, UnmarshallerContext context) {
describeQuaraFileResponse.setRequestId(context.stringValue("DescribeQuaraFileResponse.RequestId"));
describeQuaraFileResponse.setPageSize(context.integerValue("DescribeQuaraFileResponse.PageSize"));
describeQuaraFileResponse.setTotalCount(context.integerValue("DescribeQuaraFileResponse.TotalCount"));
describeQuaraFileResponse.setCurrentPage(context.integerValue("DescribeQuaraFileResponse.CurrentPage"));
List<QuaraFile> quaraFiles = new ArrayList<QuaraFile>();
for (int i = 0; i < context.lengthValue("DescribeQuaraFileResponse.QuaraFiles.Length"); i++) {
QuaraFile quaraFile = new QuaraFile();
quaraFile.setPath(context.stringValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].Path"));
quaraFile.setEventName(context.stringValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].EventName"));
quaraFile.setOnline(context.booleanValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].Online"));
quaraFile.setEventType(context.stringValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].EventType"));
quaraFile.setTag(context.stringValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].Tag"));
quaraFile.setUuid(context.stringValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].Uuid"));
quaraFile.setFileStatus(context.stringValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].FileStatus"));
quaraFile.setMd5(context.stringValue("DescribeQuaraFileResponse.QuaraFiles["+ i +"].Md5"));
quaraFiles.add(quaraFile);
}
describeQuaraFileResponse.setQuaraFiles(quaraFiles);
return describeQuaraFileResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeResultListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeResultListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeResultListResponse.PageInfo;
import com.aliyuncs.aegis.model.v20161111.DescribeResultListResponse.ResultListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeResultListResponseUnmarshaller {
public static DescribeResultListResponse unmarshall(DescribeResultListResponse describeResultListResponse, UnmarshallerContext context) {
describeResultListResponse.setRequestId(context.stringValue("DescribeResultListResponse.RequestId"));
PageInfo pageInfo = new PageInfo();
pageInfo.setCount(context.integerValue("DescribeResultListResponse.PageInfo.Count"));
pageInfo.setPageSize(context.integerValue("DescribeResultListResponse.PageInfo.PageSize"));
pageInfo.setCurrentPage(context.integerValue("DescribeResultListResponse.PageInfo.CurrentPage"));
pageInfo.setTotalCount(context.integerValue("DescribeResultListResponse.PageInfo.TotalCount"));
describeResultListResponse.setPageInfo(pageInfo);
List<ResultListItem> resultList = new ArrayList<ResultListItem>();
for (int i = 0; i < context.lengthValue("DescribeResultListResponse.ResultList.Length"); i++) {
ResultListItem resultListItem = new ResultListItem();
resultListItem.setLastTimestamp(context.longValue("DescribeResultListResponse.ResultList["+ i +"].LastTimestamp"));
resultListItem.setModifiedTimestamp(context.longValue("DescribeResultListResponse.ResultList["+ i +"].ModifiedTimestamp"));
resultListItem.setWarnLevel(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].WarnLevel"));
resultListItem.setUniqueKey(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].UniqueKey"));
resultListItem.setLastOperate(context.longValue("DescribeResultListResponse.ResultList["+ i +"].LastOperate"));
resultListItem.setCreateTimestamp(context.longValue("DescribeResultListResponse.ResultList["+ i +"].CreateTimestamp"));
resultListItem.setRuleDescription(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].RuleDescription"));
resultListItem.setRuleType(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].RuleType"));
resultListItem.setRuleName(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].RuleName"));
resultListItem.setDetails(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].Details"));
resultListItem.setId(context.integerValue("DescribeResultListResponse.ResultList["+ i +"].Id"));
resultListItem.setAliUid(context.longValue("DescribeResultListResponse.ResultList["+ i +"].AliUid"));
resultListItem.setRuleId(context.integerValue("DescribeResultListResponse.ResultList["+ i +"].RuleId"));
resultListItem.setStatus(context.integerValue("DescribeResultListResponse.ResultList["+ i +"].Status"));
resultListItem.setFieldKey(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].FieldKey"));
resultListItem.setInternetIp(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].InternetIp"));
resultListItem.setIntranetIp(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].IntranetIp"));
resultListItem.setInstanceId(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].InstanceId"));
resultListItem.setInstanceName(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].InstanceName"));
resultListItem.setFieldKey1(context.stringValue("DescribeResultListResponse.ResultList["+ i +"].FieldKey"));
resultList.add(resultListItem);
}
describeResultListResponse.setResultList(resultList);
return describeResultListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeRiskTypeResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeRiskTypeResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeRiskTypeResponse.RiskType;
import com.aliyuncs.aegis.model.v20161111.DescribeRiskTypeResponse.RiskType.SubType;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRiskTypeResponseUnmarshaller {
public static DescribeRiskTypeResponse unmarshall(DescribeRiskTypeResponse describeRiskTypeResponse, UnmarshallerContext context) {
describeRiskTypeResponse.setRequestId(context.stringValue("DescribeRiskTypeResponse.RequestId"));
describeRiskTypeResponse.setCount(context.integerValue("DescribeRiskTypeResponse.Count"));
List<RiskType> riskTypes = new ArrayList<RiskType>();
for (int i = 0; i < context.lengthValue("DescribeRiskTypeResponse.RiskTypes.Length"); i++) {
RiskType riskType = new RiskType();
riskType.setTypeName(context.stringValue("DescribeRiskTypeResponse.RiskTypes["+ i +"].TypeName"));
riskType.setAlias(context.stringValue("DescribeRiskTypeResponse.RiskTypes["+ i +"].Alias"));
riskType.setWarnCount(context.stringValue("DescribeRiskTypeResponse.RiskTypes["+ i +"].WarnCount"));
List<SubType> subTypes = new ArrayList<SubType>();
for (int j = 0; j < context.lengthValue("DescribeRiskTypeResponse.RiskTypes["+ i +"].SubTypes.Length"); j++) {
SubType subType = new SubType();
subType.setWarnCount(context.stringValue("DescribeRiskTypeResponse.RiskTypes["+ i +"].SubTypes["+ j +"].WarnCount"));
subType.setTypeName(context.stringValue("DescribeRiskTypeResponse.RiskTypes["+ i +"].SubTypes["+ j +"].TypeName"));
subType.setAlias(context.stringValue("DescribeRiskTypeResponse.RiskTypes["+ i +"].SubTypes["+ j +"].Alias"));
subTypes.add(subType);
}
riskType.setSubTypes(subTypes);
riskTypes.add(riskType);
}
describeRiskTypeResponse.setRiskTypes(riskTypes);
return describeRiskTypeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeRiskWhiteListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeRiskWhiteListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeRiskWhiteListResponse.WhiteList;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRiskWhiteListResponseUnmarshaller {
public static DescribeRiskWhiteListResponse unmarshall(DescribeRiskWhiteListResponse describeRiskWhiteListResponse, UnmarshallerContext context) {
describeRiskWhiteListResponse.setRequestId(context.stringValue("DescribeRiskWhiteListResponse.RequestId"));
describeRiskWhiteListResponse.setCount(context.integerValue("DescribeRiskWhiteListResponse.Count"));
describeRiskWhiteListResponse.setPageSize(context.integerValue("DescribeRiskWhiteListResponse.PageSize"));
describeRiskWhiteListResponse.setTotalCount(context.integerValue("DescribeRiskWhiteListResponse.TotalCount"));
describeRiskWhiteListResponse.setCurrentPage(context.integerValue("DescribeRiskWhiteListResponse.CurrentPage"));
List<WhiteList> whiteLists = new ArrayList<WhiteList>();
for (int i = 0; i < context.lengthValue("DescribeRiskWhiteListResponse.WhiteLists.Length"); i++) {
WhiteList whiteList = new WhiteList();
whiteList.setRiskId(context.longValue("DescribeRiskWhiteListResponse.WhiteLists["+ i +"].riskId"));
whiteList.setRiskName(context.stringValue("DescribeRiskWhiteListResponse.WhiteLists["+ i +"].riskName"));
whiteList.setReason(context.stringValue("DescribeRiskWhiteListResponse.WhiteLists["+ i +"].reason"));
whiteLists.add(whiteList);
}
describeRiskWhiteListResponse.setWhiteLists(whiteLists);
return describeRiskWhiteListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeRisksResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeRisksResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeRisksResponse.Risk;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRisksResponseUnmarshaller {
public static DescribeRisksResponse unmarshall(DescribeRisksResponse describeRisksResponse, UnmarshallerContext context) {
describeRisksResponse.setRequestId(context.stringValue("DescribeRisksResponse.RequestId"));
describeRisksResponse.setTotalCount(context.integerValue("DescribeRisksResponse.TotalCount"));
List<Risk> risks = new ArrayList<Risk>();
for (int i = 0; i < context.lengthValue("DescribeRisksResponse.Risks.Length"); i++) {
Risk risk = new Risk();
risk.setRiskId(context.longValue("DescribeRisksResponse.Risks["+ i +"].RiskId"));
risk.setRiskName(context.stringValue("DescribeRisksResponse.Risks["+ i +"].RiskName"));
risk.setRiskDetail(context.stringValue("DescribeRisksResponse.Risks["+ i +"].RiskDetail"));
risk.setRiskType(context.stringValue("DescribeRisksResponse.Risks["+ i +"].RiskType"));
risk.setTypeAlias(context.stringValue("DescribeRisksResponse.Risks["+ i +"].TypeAlias"));
risk.setSubRiskType(context.stringValue("DescribeRisksResponse.Risks["+ i +"].SubRiskType"));
risk.setSubTypeAlias(context.stringValue("DescribeRisksResponse.Risks["+ i +"].SubTypeAlias"));
risks.add(risk);
}
describeRisksResponse.setRisks(risks);
return describeRisksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeRuleListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeRuleListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeRuleListResponse.PageInfo;
import com.aliyuncs.aegis.model.v20161111.DescribeRuleListResponse.RulesItem;
import com.aliyuncs.aegis.model.v20161111.DescribeRuleListResponse.RulesItem.RuleGroup;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRuleListResponseUnmarshaller {
public static DescribeRuleListResponse unmarshall(DescribeRuleListResponse describeRuleListResponse, UnmarshallerContext context) {
describeRuleListResponse.setRequestId(context.stringValue("DescribeRuleListResponse.RequestId"));
describeRuleListResponse.setSuccess(context.booleanValue("DescribeRuleListResponse.Success"));
PageInfo pageInfo = new PageInfo();
pageInfo.setPageSize(context.integerValue("DescribeRuleListResponse.PageInfo.PageSize"));
pageInfo.setCurrentPage(context.integerValue("DescribeRuleListResponse.PageInfo.CurrentPage"));
pageInfo.setTotalCount(context.integerValue("DescribeRuleListResponse.PageInfo.TotalCount"));
describeRuleListResponse.setPageInfo(pageInfo);
List<RulesItem> rules = new ArrayList<RulesItem>();
for (int i = 0; i < context.lengthValue("DescribeRuleListResponse.Rules.Length"); i++) {
RulesItem rulesItem = new RulesItem();
rulesItem.setWarnLevel(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].WarnLevel"));
rulesItem.setModified(context.longValue("DescribeRuleListResponse.Rules["+ i +"].Modified"));
rulesItem.setCreate(context.longValue("DescribeRuleListResponse.Rules["+ i +"].Create"));
rulesItem.setRuleName(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].RuleName"));
rulesItem.setDescription(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].Description"));
rulesItem.setId(context.integerValue("DescribeRuleListResponse.Rules["+ i +"].Id"));
rulesItem.setDataSourceId(context.integerValue("DescribeRuleListResponse.Rules["+ i +"].DataSourceId"));
rulesItem.setExpressions(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].Expressions"));
rulesItem.setActions(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].Actions"));
rulesItem.setStatisticsRules(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].StatisticsRules"));
rulesItem.setNeedGroup(context.booleanValue("DescribeRuleListResponse.Rules["+ i +"].NeedGroup"));
rulesItem.setStatusCode(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].StatusCode"));
List<RuleGroup> ruleGroups = new ArrayList<RuleGroup>();
for (int j = 0; j < context.lengthValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups.Length"); j++) {
RuleGroup ruleGroup = new RuleGroup();
ruleGroup.setGroupName(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups["+ j +"].GroupName"));
ruleGroup.setRuleNum(context.integerValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups["+ j +"].RuleNum"));
ruleGroup.setModified(context.longValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups["+ j +"].Modified"));
ruleGroup.setCreate(context.longValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups["+ j +"].Create"));
ruleGroup.setDescription(context.stringValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups["+ j +"].Description"));
ruleGroup.setId(context.integerValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups["+ j +"].Id"));
ruleGroup.setAliUid(context.integerValue("DescribeRuleListResponse.Rules["+ i +"].RuleGroups["+ j +"].AliUid"));
ruleGroups.add(ruleGroup);
}
rulesItem.setRuleGroups(ruleGroups);
rules.add(rulesItem);
}
describeRuleListResponse.setRules(rules);
return describeRuleListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSasAssetStatisticsColumnResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeSasAssetStatisticsColumnResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSasAssetStatisticsColumnResponseUnmarshaller {
public static DescribeSasAssetStatisticsColumnResponse unmarshall(DescribeSasAssetStatisticsColumnResponse describeSasAssetStatisticsColumnResponse, UnmarshallerContext context) {
describeSasAssetStatisticsColumnResponse.setRequestId(context.stringValue("DescribeSasAssetStatisticsColumnResponse.RequestId"));
describeSasAssetStatisticsColumnResponse.setStatisticsColumn(context.stringValue("DescribeSasAssetStatisticsColumnResponse.StatisticsColumn"));
return describeSasAssetStatisticsColumnResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSasAssetStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSasAssetStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSasAssetStatisticsResponse.Asset;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSasAssetStatisticsResponseUnmarshaller {
public static DescribeSasAssetStatisticsResponse unmarshall(DescribeSasAssetStatisticsResponse describeSasAssetStatisticsResponse, UnmarshallerContext context) {
describeSasAssetStatisticsResponse.setRequestId(context.stringValue("DescribeSasAssetStatisticsResponse.RequestId"));
describeSasAssetStatisticsResponse.setPageSize(context.integerValue("DescribeSasAssetStatisticsResponse.PageSize"));
describeSasAssetStatisticsResponse.setCurrentPage(context.integerValue("DescribeSasAssetStatisticsResponse.CurrentPage"));
describeSasAssetStatisticsResponse.setTotalCount(context.integerValue("DescribeSasAssetStatisticsResponse.TotalCount"));
List<Asset> assetList = new ArrayList<Asset>();
for (int i = 0; i < context.lengthValue("DescribeSasAssetStatisticsResponse.AssetList.Length"); i++) {
Asset asset = new Asset();
asset.setHealthCheckCount(context.integerValue("DescribeSasAssetStatisticsResponse.AssetList["+ i +"].HealthCheckCount"));
asset.setVulCount(context.integerValue("DescribeSasAssetStatisticsResponse.AssetList["+ i +"].VulCount"));
asset.setSafeEventCount(context.integerValue("DescribeSasAssetStatisticsResponse.AssetList["+ i +"].SafeEventCount"));
asset.setUuid(context.stringValue("DescribeSasAssetStatisticsResponse.AssetList["+ i +"].Uuid"));
assetList.add(asset);
}
describeSasAssetStatisticsResponse.setAssetList(assetList);
return describeSasAssetStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSasLeftConditionResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSasLeftConditionResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSasLeftConditionResponse.Condition;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSasLeftConditionResponseUnmarshaller {
public static DescribeSasLeftConditionResponse unmarshall(DescribeSasLeftConditionResponse describeSasLeftConditionResponse, UnmarshallerContext context) {
describeSasLeftConditionResponse.setRequestId(context.stringValue("DescribeSasLeftConditionResponse.RequestId"));
List<Condition> conditionList = new ArrayList<Condition>();
for (int i = 0; i < context.lengthValue("DescribeSasLeftConditionResponse.ConditionList.Length"); i++) {
Condition condition = new Condition();
condition.setName(context.stringValue("DescribeSasLeftConditionResponse.ConditionList["+ i +"].Name"));
condition.setCount(context.integerValue("DescribeSasLeftConditionResponse.ConditionList["+ i +"].Count"));
condition.setId(context.stringValue("DescribeSasLeftConditionResponse.ConditionList["+ i +"].Id"));
conditionList.add(condition);
}
describeSasLeftConditionResponse.setConditionList(conditionList);
return describeSasLeftConditionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenAlarmEventListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenAlarmEventListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenAlarmEventListResponse.PageInfo;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenAlarmEventListResponse.SuspEventsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenAlarmEventListResponseUnmarshaller {
public static DescribeScreenAlarmEventListResponse unmarshall(DescribeScreenAlarmEventListResponse describeScreenAlarmEventListResponse, UnmarshallerContext context) {
describeScreenAlarmEventListResponse.setRequestId(context.stringValue("DescribeScreenAlarmEventListResponse.RequestId"));
PageInfo pageInfo = new PageInfo();
pageInfo.setCount(context.integerValue("DescribeScreenAlarmEventListResponse.PageInfo.Count"));
pageInfo.setPageSize(context.integerValue("DescribeScreenAlarmEventListResponse.PageInfo.PageSize"));
pageInfo.setTotalCount(context.integerValue("DescribeScreenAlarmEventListResponse.PageInfo.TotalCount"));
pageInfo.setCurrentPage(context.integerValue("DescribeScreenAlarmEventListResponse.PageInfo.CurrentPage"));
describeScreenAlarmEventListResponse.setPageInfo(pageInfo);
List<SuspEventsItem> suspEvents = new ArrayList<SuspEventsItem>();
for (int i = 0; i < context.lengthValue("DescribeScreenAlarmEventListResponse.SuspEvents.Length"); i++) {
SuspEventsItem suspEventsItem = new SuspEventsItem();
suspEventsItem.setAlarmUniqueInfo(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].AlarmUniqueInfo"));
suspEventsItem.setSolution(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].Solution"));
suspEventsItem.setLevel(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].Level"));
suspEventsItem.setCanBeDealOnLine(context.booleanValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].CanBeDealOnLine"));
suspEventsItem.setDescription(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].Description"));
suspEventsItem.setStartTime(context.longValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].StartTime"));
suspEventsItem.setEndTime(context.longValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].EndTime"));
suspEventsItem.setAlarmEventType(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].AlarmEventType"));
suspEventsItem.setSuspiciousEventCount(context.integerValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].SuspiciousEventCount"));
suspEventsItem.setUuid(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].Uuid"));
suspEventsItem.setInstanceName(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].InstanceName"));
suspEventsItem.setInternetIp(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].InternetIp"));
suspEventsItem.setIntranetIp(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].IntranetIp"));
suspEventsItem.setAlarmEventName(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].AlarmEventName"));
suspEventsItem.setSaleVersion(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].SaleVersion"));
suspEventsItem.setDataSource(context.stringValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].DataSource"));
suspEventsItem.setCanCancelFault(context.booleanValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].CanCancelFault"));
suspEventsItem.setDealed(context.booleanValue("DescribeScreenAlarmEventListResponse.SuspEvents["+ i +"].Dealed"));
suspEvents.add(suspEventsItem);
}
describeScreenAlarmEventListResponse.setSuspEvents(suspEvents);
return describeScreenAlarmEventListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenAttackAnalysisDataResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenAttackAnalysisDataResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenAttackAnalysisDataResponseUnmarshaller {
public static DescribeScreenAttackAnalysisDataResponse unmarshall(DescribeScreenAttackAnalysisDataResponse describeScreenAttackAnalysisDataResponse, UnmarshallerContext context) {
describeScreenAttackAnalysisDataResponse.setRequestId(context.stringValue("DescribeScreenAttackAnalysisDataResponse.RequestId"));
describeScreenAttackAnalysisDataResponse.setData(context.stringValue("DescribeScreenAttackAnalysisDataResponse.Data"));
describeScreenAttackAnalysisDataResponse.setTotal(context.integerValue("DescribeScreenAttackAnalysisDataResponse.Total"));
describeScreenAttackAnalysisDataResponse.setPage(context.integerValue("DescribeScreenAttackAnalysisDataResponse.Page"));
describeScreenAttackAnalysisDataResponse.setPageSize(context.integerValue("DescribeScreenAttackAnalysisDataResponse.PageSize"));
return describeScreenAttackAnalysisDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenHostStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenHostStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenHostStatisticsResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenHostStatisticsResponseUnmarshaller {
public static DescribeScreenHostStatisticsResponse unmarshall(DescribeScreenHostStatisticsResponse describeScreenHostStatisticsResponse, UnmarshallerContext context) {
describeScreenHostStatisticsResponse.setRequestId(context.stringValue("DescribeScreenHostStatisticsResponse.RequestId"));
Data data = new Data();
List<String> weaknessUuids = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenHostStatisticsResponse.Data.WeaknessUuids.Length"); i++) {
weaknessUuids.add(context.stringValue("DescribeScreenHostStatisticsResponse.Data.WeaknessUuids["+ i +"]"));
}
data.setWeaknessUuids(weaknessUuids);
List<String> suspEventUuids = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenHostStatisticsResponse.Data.SuspEventUuids.Length"); i++) {
suspEventUuids.add(context.stringValue("DescribeScreenHostStatisticsResponse.Data.SuspEventUuids["+ i +"]"));
}
data.setSuspEventUuids(suspEventUuids);
List<String> suspEventMachineNames = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenHostStatisticsResponse.Data.SuspEventMachineNames.Length"); i++) {
suspEventMachineNames.add(context.stringValue("DescribeScreenHostStatisticsResponse.Data.SuspEventMachineNames["+ i +"]"));
}
data.setSuspEventMachineNames(suspEventMachineNames);
List<String> weaknessMachineNames = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenHostStatisticsResponse.Data.WeaknessMachineNames.Length"); i++) {
weaknessMachineNames.add(context.stringValue("DescribeScreenHostStatisticsResponse.Data.WeaknessMachineNames["+ i +"]"));
}
data.setWeaknessMachineNames(weaknessMachineNames);
describeScreenHostStatisticsResponse.setData(data);
return describeScreenHostStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenOperateInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenOperateInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenOperateInfoResponseUnmarshaller {
public static DescribeScreenOperateInfoResponse unmarshall(DescribeScreenOperateInfoResponse describeScreenOperateInfoResponse, UnmarshallerContext context) {
describeScreenOperateInfoResponse.setRequestId(context.stringValue("DescribeScreenOperateInfoResponse.RequestId"));
describeScreenOperateInfoResponse.setHealthCheckDealedCount(context.integerValue("DescribeScreenOperateInfoResponse.HealthCheckDealedCount"));
describeScreenOperateInfoResponse.setSecurityEventDealedCount(context.integerValue("DescribeScreenOperateInfoResponse.SecurityEventDealedCount"));
describeScreenOperateInfoResponse.setVulnerabilityDealedCount(context.integerValue("DescribeScreenOperateInfoResponse.VulnerabilityDealedCount"));
describeScreenOperateInfoResponse.setSuccess(context.booleanValue("DescribeScreenOperateInfoResponse.Success"));
List<String> suspEventValueArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenOperateInfoResponse.SuspEventValueArray.Length"); i++) {
suspEventValueArray.add(context.stringValue("DescribeScreenOperateInfoResponse.SuspEventValueArray["+ i +"]"));
}
describeScreenOperateInfoResponse.setSuspEventValueArray(suspEventValueArray);
List<String> vulValueArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenOperateInfoResponse.VulValueArray.Length"); i++) {
vulValueArray.add(context.stringValue("DescribeScreenOperateInfoResponse.VulValueArray["+ i +"]"));
}
describeScreenOperateInfoResponse.setVulValueArray(vulValueArray);
List<String> dateArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenOperateInfoResponse.DateArray.Length"); i++) {
dateArray.add(context.stringValue("DescribeScreenOperateInfoResponse.DateArray["+ i +"]"));
}
describeScreenOperateInfoResponse.setDateArray(dateArray);
List<String> healthCheckValueArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenOperateInfoResponse.HealthCheckValueArray.Length"); i++) {
healthCheckValueArray.add(context.stringValue("DescribeScreenOperateInfoResponse.HealthCheckValueArray["+ i +"]"));
}
describeScreenOperateInfoResponse.setHealthCheckValueArray(healthCheckValueArray);
return describeScreenOperateInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenScoreThreadResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenScoreThreadResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenScoreThreadResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenScoreThreadResponseUnmarshaller {
public static DescribeScreenScoreThreadResponse unmarshall(DescribeScreenScoreThreadResponse describeScreenScoreThreadResponse, UnmarshallerContext context) {
describeScreenScoreThreadResponse.setRequestId(context.stringValue("DescribeScreenScoreThreadResponse.RequestId"));
describeScreenScoreThreadResponse.setSuccess(context.booleanValue("DescribeScreenScoreThreadResponse.Success"));
Data data = new Data();
List<String> socreThreadDate = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenScoreThreadResponse.Data.SocreThreadDate.Length"); i++) {
socreThreadDate.add(context.stringValue("DescribeScreenScoreThreadResponse.Data.SocreThreadDate["+ i +"]"));
}
data.setSocreThreadDate(socreThreadDate);
List<String> socreThread = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenScoreThreadResponse.Data.SocreThread.Length"); i++) {
socreThread.add(context.stringValue("DescribeScreenScoreThreadResponse.Data.SocreThread["+ i +"]"));
}
data.setSocreThread(socreThread);
describeScreenScoreThreadResponse.setData(data);
return describeScreenScoreThreadResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenSecurityStatInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSecurityStatInfoResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSecurityStatInfoResponse.AttackEvent;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSecurityStatInfoResponse.HealthCheck;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSecurityStatInfoResponse.SecurityEvent;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSecurityStatInfoResponse.Vulnerability;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenSecurityStatInfoResponseUnmarshaller {
public static DescribeScreenSecurityStatInfoResponse unmarshall(DescribeScreenSecurityStatInfoResponse describeScreenSecurityStatInfoResponse, UnmarshallerContext context) {
describeScreenSecurityStatInfoResponse.setRequestId(context.stringValue("DescribeScreenSecurityStatInfoResponse.RequestId"));
describeScreenSecurityStatInfoResponse.setSuccess(context.booleanValue("DescribeScreenSecurityStatInfoResponse.Success"));
SecurityEvent securityEvent = new SecurityEvent();
securityEvent.setSeriousCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.SeriousCount"));
securityEvent.setSuspiciousCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.SuspiciousCount"));
securityEvent.setRemindCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.RemindCount"));
securityEvent.setTotalCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.TotalCount"));
List<String> dateArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.DateArray.Length"); i++) {
dateArray.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.DateArray["+ i +"]"));
}
securityEvent.setDateArray(dateArray);
List<String> valueArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.ValueArray.Length"); i++) {
valueArray.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.ValueArray["+ i +"]"));
}
securityEvent.setValueArray(valueArray);
List<String> levelsOn = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.LevelsOn.Length"); i++) {
levelsOn.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.LevelsOn["+ i +"]"));
}
securityEvent.setLevelsOn(levelsOn);
List<String> seriousList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.SeriousList.Length"); i++) {
seriousList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.SeriousList["+ i +"]"));
}
securityEvent.setSeriousList(seriousList);
List<String> suspiciousList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.SuspiciousList.Length"); i++) {
suspiciousList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.SuspiciousList["+ i +"]"));
}
securityEvent.setSuspiciousList(suspiciousList);
List<String> remindList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.RemindList.Length"); i++) {
remindList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.SecurityEvent.RemindList["+ i +"]"));
}
securityEvent.setRemindList(remindList);
describeScreenSecurityStatInfoResponse.setSecurityEvent(securityEvent);
AttackEvent attackEvent = new AttackEvent();
attackEvent.setTotalCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.AttackEvent.TotalCount"));
List<String> dateArray1 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.AttackEvent.DateArray.Length"); i++) {
dateArray1.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.AttackEvent.DateArray["+ i +"]"));
}
attackEvent.setDateArray1(dateArray1);
List<String> valueArray2 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.AttackEvent.ValueArray.Length"); i++) {
valueArray2.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.AttackEvent.ValueArray["+ i +"]"));
}
attackEvent.setValueArray2(valueArray2);
describeScreenSecurityStatInfoResponse.setAttackEvent(attackEvent);
HealthCheck healthCheck = new HealthCheck();
healthCheck.setMediumCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.MediumCount"));
healthCheck.setHighCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.HighCount"));
healthCheck.setLowCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.LowCount"));
healthCheck.setTotalCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.TotalCount"));
List<String> dateArray3 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.DateArray.Length"); i++) {
dateArray3.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.DateArray["+ i +"]"));
}
healthCheck.setDateArray3(dateArray3);
List<String> valueArray4 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.ValueArray.Length"); i++) {
valueArray4.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.ValueArray["+ i +"]"));
}
healthCheck.setValueArray4(valueArray4);
List<String> levelsOn5 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.LevelsOn.Length"); i++) {
levelsOn5.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.LevelsOn["+ i +"]"));
}
healthCheck.setLevelsOn5(levelsOn5);
List<String> highList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.HighList.Length"); i++) {
highList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.HighList["+ i +"]"));
}
healthCheck.setHighList(highList);
List<String> mediumList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.MediumList.Length"); i++) {
mediumList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.MediumList["+ i +"]"));
}
healthCheck.setMediumList(mediumList);
List<String> lowList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.LowList.Length"); i++) {
lowList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.HealthCheck.LowList["+ i +"]"));
}
healthCheck.setLowList(lowList);
describeScreenSecurityStatInfoResponse.setHealthCheck(healthCheck);
Vulnerability vulnerability = new Vulnerability();
vulnerability.setNntfCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.NntfCount"));
vulnerability.setLaterCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.LaterCount"));
vulnerability.setAsapCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.AsapCount"));
vulnerability.setTotalCount(context.integerValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.TotalCount"));
List<String> dateArray6 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.DateArray.Length"); i++) {
dateArray6.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.DateArray["+ i +"]"));
}
vulnerability.setDateArray6(dateArray6);
List<String> valueArray7 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.ValueArray.Length"); i++) {
valueArray7.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.ValueArray["+ i +"]"));
}
vulnerability.setValueArray7(valueArray7);
List<String> levelsOn8 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.LevelsOn.Length"); i++) {
levelsOn8.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.LevelsOn["+ i +"]"));
}
vulnerability.setLevelsOn8(levelsOn8);
List<String> nntfList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.NntfList.Length"); i++) {
nntfList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.NntfList["+ i +"]"));
}
vulnerability.setNntfList(nntfList);
List<String> asapList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.AsapList.Length"); i++) {
asapList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.AsapList["+ i +"]"));
}
vulnerability.setAsapList(asapList);
List<String> laterList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.LaterList.Length"); i++) {
laterList.add(context.stringValue("DescribeScreenSecurityStatInfoResponse.Vulnerability.LaterList["+ i +"]"));
}
vulnerability.setLaterList(laterList);
describeScreenSecurityStatInfoResponse.setVulnerability(vulnerability);
return describeScreenSecurityStatInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenSettingResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSettingResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSettingResponse.SasScreenSetting;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenSettingResponseUnmarshaller {
public static DescribeScreenSettingResponse unmarshall(DescribeScreenSettingResponse describeScreenSettingResponse, UnmarshallerContext context) {
describeScreenSettingResponse.setRequestId(context.stringValue("DescribeScreenSettingResponse.RequestId"));
SasScreenSetting sasScreenSetting = new SasScreenSetting();
sasScreenSetting.setScreenSettingTitle(context.stringValue("DescribeScreenSettingResponse.SasScreenSetting.ScreenSettingTitle"));
sasScreenSetting.setScreenSettingIdMap(context.stringValue("DescribeScreenSettingResponse.SasScreenSetting.ScreenSettingIdMap"));
describeScreenSettingResponse.setSasScreenSetting(sasScreenSetting);
return describeScreenSettingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenSettingsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSettingsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSettingsResponse.SasScreenSettingListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenSettingsResponseUnmarshaller {
public static DescribeScreenSettingsResponse unmarshall(DescribeScreenSettingsResponse describeScreenSettingsResponse, UnmarshallerContext context) {
describeScreenSettingsResponse.setRequestId(context.stringValue("DescribeScreenSettingsResponse.RequestId"));
describeScreenSettingsResponse.setRequestId1(context.stringValue("DescribeScreenSettingsResponse.RequestId"));
List<SasScreenSettingListItem> sasScreenSettingList = new ArrayList<SasScreenSettingListItem>();
for (int i = 0; i < context.lengthValue("DescribeScreenSettingsResponse.SasScreenSettingList.Length"); i++) {
SasScreenSettingListItem sasScreenSettingListItem = new SasScreenSettingListItem();
sasScreenSettingListItem.setScreenSettingTitle(context.stringValue("DescribeScreenSettingsResponse.SasScreenSettingList["+ i +"].ScreenSettingTitle"));
sasScreenSettingListItem.setScreenSettingIdMap(context.stringValue("DescribeScreenSettingsResponse.SasScreenSettingList["+ i +"].ScreenSettingIdMap"));
sasScreenSettingList.add(sasScreenSettingListItem);
}
describeScreenSettingsResponse.setSasScreenSettingList(sasScreenSettingList);
return describeScreenSettingsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenSummaryInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenSummaryInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenSummaryInfoResponseUnmarshaller {
public static DescribeScreenSummaryInfoResponse unmarshall(DescribeScreenSummaryInfoResponse describeScreenSummaryInfoResponse, UnmarshallerContext context) {
describeScreenSummaryInfoResponse.setRequestId(context.stringValue("DescribeScreenSummaryInfoResponse.RequestId"));
describeScreenSummaryInfoResponse.setAegisClientOfflineCount(context.integerValue("DescribeScreenSummaryInfoResponse.AegisClientOfflineCount"));
describeScreenSummaryInfoResponse.setSecurityScore(context.integerValue("DescribeScreenSummaryInfoResponse.SecurityScore"));
describeScreenSummaryInfoResponse.setAegisClientOnlineCount(context.integerValue("DescribeScreenSummaryInfoResponse.AegisClientOnlineCount"));
describeScreenSummaryInfoResponse.setSuccess(context.booleanValue("DescribeScreenSummaryInfoResponse.Success"));
return describeScreenSummaryInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeScreenVersionConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeScreenVersionConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeScreenVersionConfigResponseUnmarshaller {
public static DescribeScreenVersionConfigResponse unmarshall(DescribeScreenVersionConfigResponse describeScreenVersionConfigResponse, UnmarshallerContext context) {
describeScreenVersionConfigResponse.setRequestId(context.stringValue("DescribeScreenVersionConfigResponse.RequestId"));
describeScreenVersionConfigResponse.setAssetLevel(context.integerValue("DescribeScreenVersionConfigResponse.AssetLevel"));
describeScreenVersionConfigResponse.setAvdsFlag(context.integerValue("DescribeScreenVersionConfigResponse.AvdsFlag"));
describeScreenVersionConfigResponse.setCreateTime(context.longValue("DescribeScreenVersionConfigResponse.CreateTime"));
describeScreenVersionConfigResponse.setFlag(context.integerValue("DescribeScreenVersionConfigResponse.Flag"));
describeScreenVersionConfigResponse.setInstanceId(context.stringValue("DescribeScreenVersionConfigResponse.InstanceId"));
describeScreenVersionConfigResponse.setIsSasOpening(context.booleanValue("DescribeScreenVersionConfigResponse.IsSasOpening"));
describeScreenVersionConfigResponse.setIsTrialVersion(context.integerValue("DescribeScreenVersionConfigResponse.IsTrialVersion"));
describeScreenVersionConfigResponse.setLogCapacity(context.integerValue("DescribeScreenVersionConfigResponse.LogCapacity"));
describeScreenVersionConfigResponse.setLogTime(context.integerValue("DescribeScreenVersionConfigResponse.LogTime"));
describeScreenVersionConfigResponse.setReleaseTime(context.longValue("DescribeScreenVersionConfigResponse.ReleaseTime"));
describeScreenVersionConfigResponse.setSasLog(context.integerValue("DescribeScreenVersionConfigResponse.SasLog"));
describeScreenVersionConfigResponse.setSasScreen(context.integerValue("DescribeScreenVersionConfigResponse.SasScreen"));
describeScreenVersionConfigResponse.setVersion(context.integerValue("DescribeScreenVersionConfigResponse.Version"));
return describeScreenVersionConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSearchConditionResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSearchConditionResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSearchConditionResponse.Condition;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSearchConditionResponseUnmarshaller {
public static DescribeSearchConditionResponse unmarshall(DescribeSearchConditionResponse describeSearchConditionResponse, UnmarshallerContext context) {
describeSearchConditionResponse.setRequestId(context.stringValue("DescribeSearchConditionResponse.RequestId"));
List<Condition> conditionList = new ArrayList<Condition>();
for (int i = 0; i < context.lengthValue("DescribeSearchConditionResponse.ConditionList.Length"); i++) {
Condition condition = new Condition();
condition.setName(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].Name"));
condition.setAssetType(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].AssetType"));
condition.setTag(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].Tag"));
condition.setRegion(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].Region"));
condition.setSafeStatus(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].SafeStatus"));
condition.setClientStatus(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].ClientStatus"));
condition.setGroupId(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].GroupId"));
condition.setOs(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].Os"));
condition.setRemark(context.stringValue("DescribeSearchConditionResponse.ConditionList["+ i +"].Remark"));
conditionList.add(condition);
}
describeSearchConditionResponse.setConditionList(conditionList);
return describeSearchConditionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSecureSuggestionResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSecureSuggestionResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSecureSuggestionResponse.Suggestion;
import com.aliyuncs.aegis.model.v20161111.DescribeSecureSuggestionResponse.Suggestion.DetailItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSecureSuggestionResponseUnmarshaller {
public static DescribeSecureSuggestionResponse unmarshall(DescribeSecureSuggestionResponse describeSecureSuggestionResponse, UnmarshallerContext context) {
describeSecureSuggestionResponse.setRequestId(context.stringValue("DescribeSecureSuggestionResponse.RequestId"));
describeSecureSuggestionResponse.setTotalCount(context.integerValue("DescribeSecureSuggestionResponse.TotalCount"));
List<Suggestion> suggestions = new ArrayList<Suggestion>();
for (int i = 0; i < context.lengthValue("DescribeSecureSuggestionResponse.Suggestions.Length"); i++) {
Suggestion suggestion = new Suggestion();
suggestion.setSuggestType(context.stringValue("DescribeSecureSuggestionResponse.Suggestions["+ i +"].SuggestType"));
suggestion.setPoints(context.integerValue("DescribeSecureSuggestionResponse.Suggestions["+ i +"].Points"));
List<DetailItem> detail = new ArrayList<DetailItem>();
for (int j = 0; j < context.lengthValue("DescribeSecureSuggestionResponse.Suggestions["+ i +"].Detail.Length"); j++) {
DetailItem detailItem = new DetailItem();
detailItem.setDescription(context.stringValue("DescribeSecureSuggestionResponse.Suggestions["+ i +"].Detail["+ j +"].Description"));
detailItem.setSubType(context.stringValue("DescribeSecureSuggestionResponse.Suggestions["+ i +"].Detail["+ j +"].SubType"));
detailItem.setTitle(context.stringValue("DescribeSecureSuggestionResponse.Suggestions["+ i +"].Detail["+ j +"].Title"));
detail.add(detailItem);
}
suggestion.setDetail(detail);
suggestions.add(suggestion);
}
describeSecureSuggestionResponse.setSuggestions(suggestions);
return describeSecureSuggestionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSecurityStatInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSecurityStatInfoResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSecurityStatInfoResponse.AttackEvent;
import com.aliyuncs.aegis.model.v20161111.DescribeSecurityStatInfoResponse.HealthCheck;
import com.aliyuncs.aegis.model.v20161111.DescribeSecurityStatInfoResponse.SecurityEvent;
import com.aliyuncs.aegis.model.v20161111.DescribeSecurityStatInfoResponse.Vulnerability;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSecurityStatInfoResponseUnmarshaller {
public static DescribeSecurityStatInfoResponse unmarshall(DescribeSecurityStatInfoResponse describeSecurityStatInfoResponse, UnmarshallerContext context) {
describeSecurityStatInfoResponse.setRequestId(context.stringValue("DescribeSecurityStatInfoResponse.RequestId"));
describeSecurityStatInfoResponse.setSuccess(context.booleanValue("DescribeSecurityStatInfoResponse.Success"));
SecurityEvent securityEvent = new SecurityEvent();
securityEvent.setSeriousCount(context.integerValue("DescribeSecurityStatInfoResponse.SecurityEvent.SeriousCount"));
securityEvent.setSuspiciousCount(context.integerValue("DescribeSecurityStatInfoResponse.SecurityEvent.SuspiciousCount"));
securityEvent.setRemindCount(context.integerValue("DescribeSecurityStatInfoResponse.SecurityEvent.RemindCount"));
securityEvent.setTotalCount(context.integerValue("DescribeSecurityStatInfoResponse.SecurityEvent.TotalCount"));
List<String> dateArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.SecurityEvent.DateArray.Length"); i++) {
dateArray.add(context.stringValue("DescribeSecurityStatInfoResponse.SecurityEvent.DateArray["+ i +"]"));
}
securityEvent.setDateArray(dateArray);
List<String> valueArray = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.SecurityEvent.ValueArray.Length"); i++) {
valueArray.add(context.stringValue("DescribeSecurityStatInfoResponse.SecurityEvent.ValueArray["+ i +"]"));
}
securityEvent.setValueArray(valueArray);
List<String> levelsOn = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.SecurityEvent.LevelsOn.Length"); i++) {
levelsOn.add(context.stringValue("DescribeSecurityStatInfoResponse.SecurityEvent.LevelsOn["+ i +"]"));
}
securityEvent.setLevelsOn(levelsOn);
List<String> seriousList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.SecurityEvent.SeriousList.Length"); i++) {
seriousList.add(context.stringValue("DescribeSecurityStatInfoResponse.SecurityEvent.SeriousList["+ i +"]"));
}
securityEvent.setSeriousList(seriousList);
List<String> suspiciousList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.SecurityEvent.SuspiciousList.Length"); i++) {
suspiciousList.add(context.stringValue("DescribeSecurityStatInfoResponse.SecurityEvent.SuspiciousList["+ i +"]"));
}
securityEvent.setSuspiciousList(suspiciousList);
List<String> remindList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.SecurityEvent.RemindList.Length"); i++) {
remindList.add(context.stringValue("DescribeSecurityStatInfoResponse.SecurityEvent.RemindList["+ i +"]"));
}
securityEvent.setRemindList(remindList);
describeSecurityStatInfoResponse.setSecurityEvent(securityEvent);
AttackEvent attackEvent = new AttackEvent();
attackEvent.setTotalCount(context.integerValue("DescribeSecurityStatInfoResponse.AttackEvent.TotalCount"));
List<String> dateArray1 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.AttackEvent.DateArray.Length"); i++) {
dateArray1.add(context.stringValue("DescribeSecurityStatInfoResponse.AttackEvent.DateArray["+ i +"]"));
}
attackEvent.setDateArray1(dateArray1);
List<String> valueArray2 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.AttackEvent.ValueArray.Length"); i++) {
valueArray2.add(context.stringValue("DescribeSecurityStatInfoResponse.AttackEvent.ValueArray["+ i +"]"));
}
attackEvent.setValueArray2(valueArray2);
describeSecurityStatInfoResponse.setAttackEvent(attackEvent);
HealthCheck healthCheck = new HealthCheck();
healthCheck.setMediumCount(context.integerValue("DescribeSecurityStatInfoResponse.HealthCheck.MediumCount"));
healthCheck.setHighCount(context.integerValue("DescribeSecurityStatInfoResponse.HealthCheck.HighCount"));
healthCheck.setLowCount(context.integerValue("DescribeSecurityStatInfoResponse.HealthCheck.LowCount"));
healthCheck.setTotalCount(context.integerValue("DescribeSecurityStatInfoResponse.HealthCheck.TotalCount"));
List<String> dateArray3 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.HealthCheck.DateArray.Length"); i++) {
dateArray3.add(context.stringValue("DescribeSecurityStatInfoResponse.HealthCheck.DateArray["+ i +"]"));
}
healthCheck.setDateArray3(dateArray3);
List<String> valueArray4 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.HealthCheck.ValueArray.Length"); i++) {
valueArray4.add(context.stringValue("DescribeSecurityStatInfoResponse.HealthCheck.ValueArray["+ i +"]"));
}
healthCheck.setValueArray4(valueArray4);
List<String> levelsOn5 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.HealthCheck.LevelsOn.Length"); i++) {
levelsOn5.add(context.stringValue("DescribeSecurityStatInfoResponse.HealthCheck.LevelsOn["+ i +"]"));
}
healthCheck.setLevelsOn5(levelsOn5);
List<String> highList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.HealthCheck.HighList.Length"); i++) {
highList.add(context.stringValue("DescribeSecurityStatInfoResponse.HealthCheck.HighList["+ i +"]"));
}
healthCheck.setHighList(highList);
List<String> mediumList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.HealthCheck.MediumList.Length"); i++) {
mediumList.add(context.stringValue("DescribeSecurityStatInfoResponse.HealthCheck.MediumList["+ i +"]"));
}
healthCheck.setMediumList(mediumList);
List<String> lowList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.HealthCheck.LowList.Length"); i++) {
lowList.add(context.stringValue("DescribeSecurityStatInfoResponse.HealthCheck.LowList["+ i +"]"));
}
healthCheck.setLowList(lowList);
describeSecurityStatInfoResponse.setHealthCheck(healthCheck);
Vulnerability vulnerability = new Vulnerability();
vulnerability.setNntfCount(context.integerValue("DescribeSecurityStatInfoResponse.Vulnerability.NntfCount"));
vulnerability.setLaterCount(context.integerValue("DescribeSecurityStatInfoResponse.Vulnerability.LaterCount"));
vulnerability.setAsapCount(context.integerValue("DescribeSecurityStatInfoResponse.Vulnerability.AsapCount"));
vulnerability.setTotalCount(context.integerValue("DescribeSecurityStatInfoResponse.Vulnerability.TotalCount"));
List<String> dateArray6 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.Vulnerability.DateArray.Length"); i++) {
dateArray6.add(context.stringValue("DescribeSecurityStatInfoResponse.Vulnerability.DateArray["+ i +"]"));
}
vulnerability.setDateArray6(dateArray6);
List<String> valueArray7 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.Vulnerability.ValueArray.Length"); i++) {
valueArray7.add(context.stringValue("DescribeSecurityStatInfoResponse.Vulnerability.ValueArray["+ i +"]"));
}
vulnerability.setValueArray7(valueArray7);
List<String> levelsOn8 = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.Vulnerability.LevelsOn.Length"); i++) {
levelsOn8.add(context.stringValue("DescribeSecurityStatInfoResponse.Vulnerability.LevelsOn["+ i +"]"));
}
vulnerability.setLevelsOn8(levelsOn8);
List<String> nntfList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.Vulnerability.NntfList.Length"); i++) {
nntfList.add(context.stringValue("DescribeSecurityStatInfoResponse.Vulnerability.NntfList["+ i +"]"));
}
vulnerability.setNntfList(nntfList);
List<String> asapList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.Vulnerability.AsapList.Length"); i++) {
asapList.add(context.stringValue("DescribeSecurityStatInfoResponse.Vulnerability.AsapList["+ i +"]"));
}
vulnerability.setAsapList(asapList);
List<String> laterList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSecurityStatInfoResponse.Vulnerability.LaterList.Length"); i++) {
laterList.add(context.stringValue("DescribeSecurityStatInfoResponse.Vulnerability.LaterList["+ i +"]"));
}
vulnerability.setLaterList(laterList);
describeSecurityStatInfoResponse.setVulnerability(vulnerability);
return describeSecurityStatInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSlsProjectResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSlsProjectResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSlsProjectResponse.SlsProjectDataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSlsProjectResponseUnmarshaller {
public static DescribeSlsProjectResponse unmarshall(DescribeSlsProjectResponse describeSlsProjectResponse, UnmarshallerContext context) {
describeSlsProjectResponse.setRequestId(context.stringValue("DescribeSlsProjectResponse.RequestId"));
List<SlsProjectDataItem> slsProjectData = new ArrayList<SlsProjectDataItem>();
for (int i = 0; i < context.lengthValue("DescribeSlsProjectResponse.SlsProjectData.Length"); i++) {
SlsProjectDataItem slsProjectDataItem = new SlsProjectDataItem();
slsProjectDataItem.setProject(context.stringValue("DescribeSlsProjectResponse.SlsProjectData["+ i +"].Project"));
List<String> logStore = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeSlsProjectResponse.SlsProjectData["+ i +"].LogStore.Length"); j++) {
logStore.add(context.stringValue("DescribeSlsProjectResponse.SlsProjectData["+ i +"].LogStore["+ j +"]"));
}
slsProjectDataItem.setLogStore(logStore);
slsProjectData.add(slsProjectDataItem);
}
describeSlsProjectResponse.setSlsProjectData(slsProjectData);
return describeSlsProjectResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeStatisticsResponse.Statistics;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStatisticsResponseUnmarshaller {
public static DescribeStatisticsResponse unmarshall(DescribeStatisticsResponse describeStatisticsResponse, UnmarshallerContext context) {
describeStatisticsResponse.setRequestId(context.stringValue("DescribeStatisticsResponse.RequestId"));
Statistics statistics = new Statistics();
statistics.setVulAsapSum(context.integerValue("DescribeStatisticsResponse.Statistics.VulAsapSum"));
statistics.setVulNntfSum(context.integerValue("DescribeStatisticsResponse.Statistics.VulNntfSum"));
statistics.setHealthTotal(context.integerValue("DescribeStatisticsResponse.Statistics.HealthTotal"));
statistics.setSuspiciousmediumTotal(context.integerValue("DescribeStatisticsResponse.Statistics.SuspiciousmediumTotal"));
statistics.setHealth(context.integerValue("DescribeStatisticsResponse.Statistics.Health"));
statistics.setHealthdealedTotal(context.integerValue("DescribeStatisticsResponse.Statistics.HealthdealedTotal"));
statistics.setTrojan(context.integerValue("DescribeStatisticsResponse.Statistics.Trojan"));
statistics.setVulLaterSum(context.integerValue("DescribeStatisticsResponse.Statistics.VulLaterSum"));
statistics.setSuspicious(context.integerValue("DescribeStatisticsResponse.Statistics.Suspicious"));
statistics.setVul(context.integerValue("DescribeStatisticsResponse.Statistics.Vul"));
statistics.setHealthhighTotal(context.integerValue("DescribeStatisticsResponse.Statistics.HealthhighTotal"));
statistics.setHealthlowTotal(context.integerValue("DescribeStatisticsResponse.Statistics.HealthlowTotal"));
statistics.setHealthseriousTotal(context.integerValue("DescribeStatisticsResponse.Statistics.HealthseriousTotal"));
statistics.setVulDealedTotal(context.integerValue("DescribeStatisticsResponse.Statistics.VulDealedTotal"));
statistics.setPatch(context.integerValue("DescribeStatisticsResponse.Statistics.Patch"));
statistics.setSuspicioushighTotal(context.integerValue("DescribeStatisticsResponse.Statistics.SuspicioushighTotal"));
statistics.setSuspiciouslowTotal(context.integerValue("DescribeStatisticsResponse.Statistics.SuspiciouslowTotal"));
statistics.setSuspiciousTotal(context.integerValue("DescribeStatisticsResponse.Statistics.SuspiciousTotal"));
statistics.setVulTotal(context.integerValue("DescribeStatisticsResponse.Statistics.VulTotal"));
statistics.setSuspiciousseriousTotal(context.integerValue("DescribeStatisticsResponse.Statistics.SuspiciousseriousTotal"));
statistics.setHealthmediumTotal(context.integerValue("DescribeStatisticsResponse.Statistics.HealthmediumTotal"));
statistics.setOnline(context.booleanValue("DescribeStatisticsResponse.Statistics.Online"));
statistics.setSuspiciousdealedTotal(context.integerValue("DescribeStatisticsResponse.Statistics.SuspiciousdealedTotal"));
statistics.setAccount(context.integerValue("DescribeStatisticsResponse.Statistics.Account"));
describeStatisticsResponse.setStatistics(statistics);
return describeStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeStrategyExecDetailResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeStrategyExecDetailResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeStrategyExecDetailResponse.FailedEcs;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStrategyExecDetailResponseUnmarshaller {
public static DescribeStrategyExecDetailResponse unmarshall(DescribeStrategyExecDetailResponse describeStrategyExecDetailResponse, UnmarshallerContext context) {
describeStrategyExecDetailResponse.setRequestId(context.stringValue("DescribeStrategyExecDetailResponse.RequestId"));
describeStrategyExecDetailResponse.setStartTime(context.stringValue("DescribeStrategyExecDetailResponse.StartTime"));
describeStrategyExecDetailResponse.setEndTime(context.stringValue("DescribeStrategyExecDetailResponse.EndTime"));
describeStrategyExecDetailResponse.setSource(context.stringValue("DescribeStrategyExecDetailResponse.Source"));
describeStrategyExecDetailResponse.setPercent(context.stringValue("DescribeStrategyExecDetailResponse.Percent"));
describeStrategyExecDetailResponse.setSuccessCount(context.integerValue("DescribeStrategyExecDetailResponse.SuccessCount"));
describeStrategyExecDetailResponse.setFailCount(context.integerValue("DescribeStrategyExecDetailResponse.FailCount"));
describeStrategyExecDetailResponse.setInProcessCount(context.integerValue("DescribeStrategyExecDetailResponse.InProcessCount"));
List<FailedEcs> failedEcsList = new ArrayList<FailedEcs>();
for (int i = 0; i < context.lengthValue("DescribeStrategyExecDetailResponse.FailedEcsList.Length"); i++) {
FailedEcs failedEcs = new FailedEcs();
failedEcs.setReason(context.stringValue("DescribeStrategyExecDetailResponse.FailedEcsList["+ i +"].Reason"));
failedEcs.setInstanceName(context.stringValue("DescribeStrategyExecDetailResponse.FailedEcsList["+ i +"].InstanceName"));
failedEcs.setIP(context.stringValue("DescribeStrategyExecDetailResponse.FailedEcsList["+ i +"].IP"));
failedEcs.setIntranetIp(context.stringValue("DescribeStrategyExecDetailResponse.FailedEcsList["+ i +"].IntranetIp"));
failedEcsList.add(failedEcs);
}
describeStrategyExecDetailResponse.setFailedEcsList(failedEcsList);
return describeStrategyExecDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeStrategyProcessResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeStrategyProcessResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStrategyProcessResponseUnmarshaller {
public static DescribeStrategyProcessResponse unmarshall(DescribeStrategyProcessResponse describeStrategyProcessResponse, UnmarshallerContext context) {
describeStrategyProcessResponse.setRequestId(context.stringValue("DescribeStrategyProcessResponse.RequestId"));
describeStrategyProcessResponse.setStrategyId(context.longValue("DescribeStrategyProcessResponse.StrategyId"));
describeStrategyProcessResponse.setProcessRate(context.integerValue("DescribeStrategyProcessResponse.ProcessRate"));
describeStrategyProcessResponse.setExecStatus(context.integerValue("DescribeStrategyProcessResponse.ExecStatus"));
describeStrategyProcessResponse.setPassRate(context.stringValue("DescribeStrategyProcessResponse.PassRate"));
return describeStrategyProcessResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeStrategyTargetResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeStrategyTargetResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeStrategyTargetResponse.StrategyTarget;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStrategyTargetResponseUnmarshaller {
public static DescribeStrategyTargetResponse unmarshall(DescribeStrategyTargetResponse describeStrategyTargetResponse, UnmarshallerContext context) {
describeStrategyTargetResponse.setRequestId(context.stringValue("DescribeStrategyTargetResponse.RequestId"));
List<StrategyTarget> strategyTargets = new ArrayList<StrategyTarget>();
for (int i = 0; i < context.lengthValue("DescribeStrategyTargetResponse.StrategyTargets.Length"); i++) {
StrategyTarget strategyTarget = new StrategyTarget();
strategyTarget.setFlag(context.stringValue("DescribeStrategyTargetResponse.StrategyTargets["+ i +"].Flag"));
strategyTarget.setTarget(context.stringValue("DescribeStrategyTargetResponse.StrategyTargets["+ i +"].Target"));
strategyTarget.setTargetType(context.stringValue("DescribeStrategyTargetResponse.StrategyTargets["+ i +"].TargetType"));
strategyTargets.add(strategyTarget);
}
describeStrategyTargetResponse.setStrategyTargets(strategyTargets);
return describeStrategyTargetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeStratetyDetailResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeStratetyDetailResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeStratetyDetailResponse.Strategy;
import com.aliyuncs.aegis.model.v20161111.DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResult;
import com.aliyuncs.aegis.model.v20161111.DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResult.SubType;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStratetyDetailResponseUnmarshaller {
public static DescribeStratetyDetailResponse unmarshall(DescribeStratetyDetailResponse describeStratetyDetailResponse, UnmarshallerContext context) {
describeStratetyDetailResponse.setRequestId(context.stringValue("DescribeStratetyDetailResponse.RequestId"));
Strategy strategy = new Strategy();
strategy.setCycleDays(context.integerValue("DescribeStratetyDetailResponse.Strategy.CycleDays"));
strategy.setName(context.stringValue("DescribeStratetyDetailResponse.Strategy.Name"));
strategy.setId(context.integerValue("DescribeStratetyDetailResponse.Strategy.Id"));
strategy.setCycleStartTime(context.integerValue("DescribeStratetyDetailResponse.Strategy.CycleStartTime"));
strategy.setType(context.integerValue("DescribeStratetyDetailResponse.Strategy.Type"));
List<RiskTypeWhiteListQueryResult> riskTypeWhiteListQueryResultList = new ArrayList<RiskTypeWhiteListQueryResult>();
for (int i = 0; i < context.lengthValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList.Length"); i++) {
RiskTypeWhiteListQueryResult riskTypeWhiteListQueryResult = new RiskTypeWhiteListQueryResult();
riskTypeWhiteListQueryResult.setTypeName(context.stringValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList["+ i +"].TypeName"));
riskTypeWhiteListQueryResult.setAlias(context.stringValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList["+ i +"].Alias"));
riskTypeWhiteListQueryResult.setOn(context.booleanValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList["+ i +"].On"));
List<SubType> subTypes = new ArrayList<SubType>();
for (int j = 0; j < context.lengthValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList["+ i +"].SubTypes.Length"); j++) {
SubType subType = new SubType();
subType.setTypeName(context.stringValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList["+ i +"].SubTypes["+ j +"].TypeName"));
subType.setAlias(context.stringValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList["+ i +"].SubTypes["+ j +"].Alias"));
subType.setOn(context.booleanValue("DescribeStratetyDetailResponse.Strategy.RiskTypeWhiteListQueryResultList["+ i +"].SubTypes["+ j +"].On"));
subTypes.add(subType);
}
riskTypeWhiteListQueryResult.setSubTypes(subTypes);
riskTypeWhiteListQueryResultList.add(riskTypeWhiteListQueryResult);
}
strategy.setRiskTypeWhiteListQueryResultList(riskTypeWhiteListQueryResultList);
describeStratetyDetailResponse.setStrategy(strategy);
return describeStratetyDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeStratetyResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeStratetyResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeStratetyResponse.Strategy;
import com.aliyuncs.aegis.model.v20161111.DescribeStratetyResponse.Strategy.ConfigTarget;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStratetyResponseUnmarshaller {
public static DescribeStratetyResponse unmarshall(DescribeStratetyResponse describeStratetyResponse, UnmarshallerContext context) {
describeStratetyResponse.setRequestId(context.stringValue("DescribeStratetyResponse.RequestId"));
List<Strategy> strategies = new ArrayList<Strategy>();
for (int i = 0; i < context.lengthValue("DescribeStratetyResponse.Strategies.Length"); i++) {
Strategy strategy = new Strategy();
strategy.setCycleDays(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].CycleDays"));
strategy.setId(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].Id"));
strategy.setCycleStartTime(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].CycleStartTime"));
strategy.setType(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].Type"));
strategy.setName(context.stringValue("DescribeStratetyResponse.Strategies["+ i +"].Name"));
strategy.setRiskCount(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].RiskCount"));
strategy.setEcsCount(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].EcsCount"));
strategy.setExecStatus(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].ExecStatus"));
strategy.setProcessRate(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].ProcessRate"));
strategy.setPassRate(context.integerValue("DescribeStratetyResponse.Strategies["+ i +"].PassRate"));
List<ConfigTarget> configTargets = new ArrayList<ConfigTarget>();
for (int j = 0; j < context.lengthValue("DescribeStratetyResponse.Strategies["+ i +"].ConfigTargets.Length"); j++) {
ConfigTarget configTarget = new ConfigTarget();
configTarget.setFlag(context.stringValue("DescribeStratetyResponse.Strategies["+ i +"].ConfigTargets["+ j +"].Flag"));
configTarget.setTargetType(context.stringValue("DescribeStratetyResponse.Strategies["+ i +"].ConfigTargets["+ j +"].TargetType"));
configTarget.setTarget(context.stringValue("DescribeStratetyResponse.Strategies["+ i +"].ConfigTargets["+ j +"].Target"));
configTargets.add(configTarget);
}
strategy.setConfigTargets(configTargets);
strategies.add(strategy);
}
describeStratetyResponse.setStrategies(strategies);
return describeStratetyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSummaryInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeSummaryInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSummaryInfoResponseUnmarshaller {
public static DescribeSummaryInfoResponse unmarshall(DescribeSummaryInfoResponse describeSummaryInfoResponse, UnmarshallerContext context) {
describeSummaryInfoResponse.setRequestId(context.stringValue("DescribeSummaryInfoResponse.RequestId"));
describeSummaryInfoResponse.setAegisClientOfflineCount(context.integerValue("DescribeSummaryInfoResponse.AegisClientOfflineCount"));
describeSummaryInfoResponse.setSecurityScore(context.integerValue("DescribeSummaryInfoResponse.SecurityScore"));
describeSummaryInfoResponse.setAegisClientOnlineCount(context.integerValue("DescribeSummaryInfoResponse.AegisClientOnlineCount"));
describeSummaryInfoResponse.setSuccess(context.booleanValue("DescribeSummaryInfoResponse.Success"));
return describeSummaryInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspEventDetailResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventDetailResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventDetailResponse.QuaraFile;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspEventDetailResponseUnmarshaller {
public static DescribeSuspEventDetailResponse unmarshall(DescribeSuspEventDetailResponse describeSuspEventDetailResponse, UnmarshallerContext context) {
describeSuspEventDetailResponse.setRequestId(context.stringValue("DescribeSuspEventDetailResponse.RequestId"));
describeSuspEventDetailResponse.setLastTime(context.stringValue("DescribeSuspEventDetailResponse.LastTime"));
describeSuspEventDetailResponse.setId(context.integerValue("DescribeSuspEventDetailResponse.Id"));
describeSuspEventDetailResponse.setInstanceName(context.stringValue("DescribeSuspEventDetailResponse.InstanceName"));
describeSuspEventDetailResponse.setInternetIp(context.stringValue("DescribeSuspEventDetailResponse.InternetIp"));
describeSuspEventDetailResponse.setIntranetIp(context.stringValue("DescribeSuspEventDetailResponse.IntranetIp"));
describeSuspEventDetailResponse.setUuid(context.stringValue("DescribeSuspEventDetailResponse.Uuid"));
describeSuspEventDetailResponse.setEventDesc(context.stringValue("DescribeSuspEventDetailResponse.EventDesc"));
describeSuspEventDetailResponse.setEventTypeDesc(context.stringValue("DescribeSuspEventDetailResponse.EventTypeDesc"));
describeSuspEventDetailResponse.setLevel(context.stringValue("DescribeSuspEventDetailResponse.Level"));
describeSuspEventDetailResponse.setEventStatus(context.stringValue("DescribeSuspEventDetailResponse.EventStatus"));
describeSuspEventDetailResponse.setSaleVersion(context.stringValue("DescribeSuspEventDetailResponse.SaleVersion"));
describeSuspEventDetailResponse.setDataSource(context.stringValue("DescribeSuspEventDetailResponse.DataSource"));
describeSuspEventDetailResponse.setType(context.stringValue("DescribeSuspEventDetailResponse.Type"));
describeSuspEventDetailResponse.setOperateMsg(context.stringValue("DescribeSuspEventDetailResponse.OperateMsg"));
describeSuspEventDetailResponse.setSasId(context.stringValue("DescribeSuspEventDetailResponse.SasId"));
describeSuspEventDetailResponse.setEventName(context.stringValue("DescribeSuspEventDetailResponse.EventName"));
describeSuspEventDetailResponse.setCanBeDealOnLine(context.booleanValue("DescribeSuspEventDetailResponse.CanBeDealOnLine"));
List<QuaraFile> details = new ArrayList<QuaraFile>();
for (int i = 0; i < context.lengthValue("DescribeSuspEventDetailResponse.Details.Length"); i++) {
QuaraFile quaraFile = new QuaraFile();
quaraFile.setName(context.stringValue("DescribeSuspEventDetailResponse.Details["+ i +"].Name"));
quaraFile.setType(context.stringValue("DescribeSuspEventDetailResponse.Details["+ i +"].Type"));
quaraFile.setInfoType(context.stringValue("DescribeSuspEventDetailResponse.Details["+ i +"].InfoType"));
quaraFile.setValue(context.stringValue("DescribeSuspEventDetailResponse.Details["+ i +"].Value"));
details.add(quaraFile);
}
describeSuspEventDetailResponse.setDetails(details);
return describeSuspEventDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspEventExportInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventExportInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspEventExportInfoResponseUnmarshaller {
public static DescribeSuspEventExportInfoResponse unmarshall(DescribeSuspEventExportInfoResponse describeSuspEventExportInfoResponse, UnmarshallerContext context) {
describeSuspEventExportInfoResponse.setRequestId(context.stringValue("DescribeSuspEventExportInfoResponse.RequestId"));
describeSuspEventExportInfoResponse.setFileName(context.stringValue("DescribeSuspEventExportInfoResponse.FileName"));
describeSuspEventExportInfoResponse.setGmtModified(context.longValue("DescribeSuspEventExportInfoResponse.GmtModified"));
describeSuspEventExportInfoResponse.setProgress(context.integerValue("DescribeSuspEventExportInfoResponse.Progress"));
describeSuspEventExportInfoResponse.setId(context.integerValue("DescribeSuspEventExportInfoResponse.Id"));
describeSuspEventExportInfoResponse.setType(context.stringValue("DescribeSuspEventExportInfoResponse.Type"));
describeSuspEventExportInfoResponse.setTotalCount(context.integerValue("DescribeSuspEventExportInfoResponse.TotalCount"));
describeSuspEventExportInfoResponse.setGmtCreate(context.longValue("DescribeSuspEventExportInfoResponse.GmtCreate"));
describeSuspEventExportInfoResponse.setProperties(context.stringValue("DescribeSuspEventExportInfoResponse.Properties"));
describeSuspEventExportInfoResponse.setExportStatus(context.stringValue("DescribeSuspEventExportInfoResponse.ExportStatus"));
describeSuspEventExportInfoResponse.setLink(context.stringValue("DescribeSuspEventExportInfoResponse.Link"));
return describeSuspEventExportInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspEventQuaraFilesResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventQuaraFilesResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventQuaraFilesResponse.QuaraFile;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspEventQuaraFilesResponseUnmarshaller {
public static DescribeSuspEventQuaraFilesResponse unmarshall(DescribeSuspEventQuaraFilesResponse describeSuspEventQuaraFilesResponse, UnmarshallerContext context) {
describeSuspEventQuaraFilesResponse.setRequestId(context.stringValue("DescribeSuspEventQuaraFilesResponse.RequestId"));
describeSuspEventQuaraFilesResponse.setCount(context.integerValue("DescribeSuspEventQuaraFilesResponse.Count"));
describeSuspEventQuaraFilesResponse.setPageSize(context.integerValue("DescribeSuspEventQuaraFilesResponse.PageSize"));
describeSuspEventQuaraFilesResponse.setTotalCount(context.integerValue("DescribeSuspEventQuaraFilesResponse.TotalCount"));
describeSuspEventQuaraFilesResponse.setCurrentPage(context.integerValue("DescribeSuspEventQuaraFilesResponse.CurrentPage"));
List<QuaraFile> quaraFiles = new ArrayList<QuaraFile>();
for (int i = 0; i < context.lengthValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles.Length"); i++) {
QuaraFile quaraFile = new QuaraFile();
quaraFile.setPath(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].Path"));
quaraFile.setEventName(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].EventName"));
quaraFile.setId(context.integerValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].Id"));
quaraFile.setEventType(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].EventType"));
quaraFile.setTag(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].Tag"));
quaraFile.setUuid(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].Uuid"));
quaraFile.setInstanceName(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].InstanceName"));
quaraFile.setInternetIp(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].InternetIp"));
quaraFile.setIp(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].Ip"));
quaraFile.setStatus(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].Status"));
quaraFile.setMd5(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].Md5"));
quaraFile.setModifyTime(context.stringValue("DescribeSuspEventQuaraFilesResponse.QuaraFiles["+ i +"].ModifyTime"));
quaraFiles.add(quaraFile);
}
describeSuspEventQuaraFilesResponse.setQuaraFiles(quaraFiles);
return describeSuspEventQuaraFilesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspEventTypesResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventTypesResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventTypesResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspEventTypesResponseUnmarshaller {
public static DescribeSuspEventTypesResponse unmarshall(DescribeSuspEventTypesResponse describeSuspEventTypesResponse, UnmarshallerContext context) {
describeSuspEventTypesResponse.setRequestId(context.stringValue("DescribeSuspEventTypesResponse.RequestId"));
describeSuspEventTypesResponse.setTotalCount(context.integerValue("DescribeSuspEventTypesResponse.TotalCount"));
List<Data> eventTypes = new ArrayList<Data>();
for (int i = 0; i < context.lengthValue("DescribeSuspEventTypesResponse.EventTypes.Length"); i++) {
Data data = new Data();
data.setAliseEventType(context.stringValue("DescribeSuspEventTypesResponse.EventTypes["+ i +"].AliseEventType"));
data.setEventType(context.stringValue("DescribeSuspEventTypesResponse.EventTypes["+ i +"].EventType"));
eventTypes.add(data);
}
describeSuspEventTypesResponse.setEventTypes(eventTypes);
return describeSuspEventTypesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspEventUserSettingResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventUserSettingResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspEventUserSettingResponseUnmarshaller {
public static DescribeSuspEventUserSettingResponse unmarshall(DescribeSuspEventUserSettingResponse describeSuspEventUserSettingResponse, UnmarshallerContext context) {
describeSuspEventUserSettingResponse.setRequestId(context.stringValue("DescribeSuspEventUserSettingResponse.RequestId"));
List<String> levelsOn = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSuspEventUserSettingResponse.LevelsOn.Length"); i++) {
levelsOn.add(context.stringValue("DescribeSuspEventUserSettingResponse.LevelsOn["+ i +"]"));
}
describeSuspEventUserSettingResponse.setLevelsOn(levelsOn);
return describeSuspEventUserSettingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspEventsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspEventsResponse.WarningSummary;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspEventsResponseUnmarshaller {
public static DescribeSuspEventsResponse unmarshall(DescribeSuspEventsResponse describeSuspEventsResponse, UnmarshallerContext context) {
describeSuspEventsResponse.setRequestId(context.stringValue("DescribeSuspEventsResponse.RequestId"));
describeSuspEventsResponse.setCount(context.integerValue("DescribeSuspEventsResponse.Count"));
describeSuspEventsResponse.setPageSize(context.integerValue("DescribeSuspEventsResponse.PageSize"));
describeSuspEventsResponse.setTotalCount(context.integerValue("DescribeSuspEventsResponse.TotalCount"));
describeSuspEventsResponse.setCurrentPage(context.integerValue("DescribeSuspEventsResponse.CurrentPage"));
List<WarningSummary> suspEvents = new ArrayList<WarningSummary>();
for (int i = 0; i < context.lengthValue("DescribeSuspEventsResponse.SuspEvents.Length"); i++) {
WarningSummary warningSummary = new WarningSummary();
warningSummary.setLastTime(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].LastTime"));
warningSummary.setOccurrenceTime(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].OccurrenceTime"));
warningSummary.setId(context.longValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].Id"));
warningSummary.setInstanceName(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].InstanceName"));
warningSummary.setInternetIp(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].InternetIp"));
warningSummary.setIntranetIp(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].IntranetIp"));
warningSummary.setUuid(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].Uuid"));
warningSummary.setName(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].Name"));
warningSummary.setEventSubType(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].EventSubType"));
warningSummary.setLevel(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].Level"));
warningSummary.setEventStatus(context.integerValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].EventStatus"));
warningSummary.setDesc(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].Desc"));
warningSummary.setOperateMsg(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].OperateMsg"));
warningSummary.setDataSource(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].DataSource"));
warningSummary.setCanBeDealOnLine(context.booleanValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].CanBeDealOnLine"));
warningSummary.setSaleVersion(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].SaleVersion"));
warningSummary.setAlarmEventType(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].AlarmEventType"));
warningSummary.setAlarmEventName(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].AlarmEventName"));
warningSummary.setAlarmUniqueInfo(context.stringValue("DescribeSuspEventsResponse.SuspEvents["+ i +"].AlarmUniqueInfo"));
suspEvents.add(warningSummary);
}
describeSuspEventsResponse.setSuspEvents(suspEvents);
return describeSuspEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspTrendStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspTrendStatisticsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspTrendStatisticsResponseUnmarshaller {
public static DescribeSuspTrendStatisticsResponse unmarshall(DescribeSuspTrendStatisticsResponse describeSuspTrendStatisticsResponse, UnmarshallerContext context) {
describeSuspTrendStatisticsResponse.setRequestId(context.stringValue("DescribeSuspTrendStatisticsResponse.RequestId"));
describeSuspTrendStatisticsResponse.setStartTime(context.integerValue("DescribeSuspTrendStatisticsResponse.StartTime"));
describeSuspTrendStatisticsResponse.setInterval(context.integerValue("DescribeSuspTrendStatisticsResponse.Interval"));
List<String> suspiciousItems = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSuspTrendStatisticsResponse.SuspiciousItems.Length"); i++) {
suspiciousItems.add(context.stringValue("DescribeSuspTrendStatisticsResponse.SuspiciousItems["+ i +"]"));
}
describeSuspTrendStatisticsResponse.setSuspiciousItems(suspiciousItems);
return describeSuspTrendStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspiciousEventsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspiciousEventsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspiciousEventsResponse.LogListItem;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspiciousEventsResponse.LogListItem.DetailListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspiciousEventsResponseUnmarshaller {
public static DescribeSuspiciousEventsResponse unmarshall(DescribeSuspiciousEventsResponse describeSuspiciousEventsResponse, UnmarshallerContext context) {
describeSuspiciousEventsResponse.setRequestId(context.stringValue("DescribeSuspiciousEventsResponse.RequestId"));
describeSuspiciousEventsResponse.setPageSize(context.integerValue("DescribeSuspiciousEventsResponse.PageSize"));
describeSuspiciousEventsResponse.setTotalCount(context.integerValue("DescribeSuspiciousEventsResponse.TotalCount"));
describeSuspiciousEventsResponse.setCurrentPage(context.integerValue("DescribeSuspiciousEventsResponse.CurrentPage"));
List<LogListItem> logList = new ArrayList<LogListItem>();
for (int i = 0; i < context.lengthValue("DescribeSuspiciousEventsResponse.LogList.Length"); i++) {
LogListItem logListItem = new LogListItem();
logListItem.setAliasEventType(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].AliasEventType"));
logListItem.setLastTime(context.longValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].LastTime"));
logListItem.setLevel(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].Level"));
logListItem.setInstanceName(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].InstanceName"));
logListItem.setGroupId(context.longValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].GroupId"));
logListItem.setIp(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].Ip"));
logListItem.setEventType(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].EventType"));
logListItem.setUuid(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].Uuid"));
logListItem.setFirstTime(context.longValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].FirstTime"));
logListItem.setInstanceId(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].InstanceId"));
logListItem.setTag(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].Tag"));
logListItem.setAliasEventName(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].AliasEventName"));
logListItem.setOsVersion(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].OsVersion"));
logListItem.setClientIp(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].ClientIp"));
logListItem.setEventName(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].EventName"));
List<DetailListItem> detailList = new ArrayList<DetailListItem>();
for (int j = 0; j < context.lengthValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].DetailList.Length"); j++) {
DetailListItem detailListItem = new DetailListItem();
detailListItem.setName(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].DetailList["+ j +"].Name"));
detailListItem.setType(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].DetailList["+ j +"].Type"));
detailListItem.setValue(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].DetailList["+ j +"].Value"));
detailListItem.setInfoType(context.stringValue("DescribeSuspiciousEventsResponse.LogList["+ i +"].DetailList["+ j +"].InfoType"));
detailList.add(detailListItem);
}
logListItem.setDetailList(detailList);
logList.add(logListItem);
}
describeSuspiciousEventsResponse.setLogList(logList);
return describeSuspiciousEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspiciousExportInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspiciousExportInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspiciousExportInfoResponseUnmarshaller {
public static DescribeSuspiciousExportInfoResponse unmarshall(DescribeSuspiciousExportInfoResponse describeSuspiciousExportInfoResponse, UnmarshallerContext context) {
describeSuspiciousExportInfoResponse.setRequestId(context.stringValue("DescribeSuspiciousExportInfoResponse.RequestId"));
describeSuspiciousExportInfoResponse.setId(context.integerValue("DescribeSuspiciousExportInfoResponse.Id"));
describeSuspiciousExportInfoResponse.setGmtCreate(context.longValue("DescribeSuspiciousExportInfoResponse.GmtCreate"));
describeSuspiciousExportInfoResponse.setFileName(context.stringValue("DescribeSuspiciousExportInfoResponse.FileName"));
describeSuspiciousExportInfoResponse.setCurrentCount(context.integerValue("DescribeSuspiciousExportInfoResponse.CurrentCount"));
describeSuspiciousExportInfoResponse.setTotalCount(context.integerValue("DescribeSuspiciousExportInfoResponse.TotalCount"));
describeSuspiciousExportInfoResponse.setProgress(context.integerValue("DescribeSuspiciousExportInfoResponse.Progress"));
describeSuspiciousExportInfoResponse.setExportStatus(context.stringValue("DescribeSuspiciousExportInfoResponse.ExportStatus"));
describeSuspiciousExportInfoResponse.setMessage(context.stringValue("DescribeSuspiciousExportInfoResponse.Message"));
describeSuspiciousExportInfoResponse.setLink(context.stringValue("DescribeSuspiciousExportInfoResponse.Link"));
return describeSuspiciousExportInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspiciousOverallConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspiciousOverallConfigResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspiciousOverallConfigResponse.OverallConfig;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspiciousOverallConfigResponseUnmarshaller {
public static DescribeSuspiciousOverallConfigResponse unmarshall(DescribeSuspiciousOverallConfigResponse describeSuspiciousOverallConfigResponse, UnmarshallerContext context) {
describeSuspiciousOverallConfigResponse.setRequestId(context.stringValue("DescribeSuspiciousOverallConfigResponse.RequestId"));
OverallConfig overallConfig = new OverallConfig();
overallConfig.setType(context.stringValue("DescribeSuspiciousOverallConfigResponse.OverallConfig.Type"));
overallConfig.setConfig(context.stringValue("DescribeSuspiciousOverallConfigResponse.OverallConfig.Config"));
describeSuspiciousOverallConfigResponse.setOverallConfig(overallConfig);
return describeSuspiciousOverallConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeSuspiciousUUIDConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeSuspiciousUUIDConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSuspiciousUUIDConfigResponseUnmarshaller {
public static DescribeSuspiciousUUIDConfigResponse unmarshall(DescribeSuspiciousUUIDConfigResponse describeSuspiciousUUIDConfigResponse, UnmarshallerContext context) {
describeSuspiciousUUIDConfigResponse.setRequestId(context.stringValue("DescribeSuspiciousUUIDConfigResponse.RequestId"));
describeSuspiciousUUIDConfigResponse.setCount(context.integerValue("DescribeSuspiciousUUIDConfigResponse.Count"));
List<String> uUIDList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeSuspiciousUUIDConfigResponse.UUIDList.Length"); i++) {
uUIDList.add(context.stringValue("DescribeSuspiciousUUIDConfigResponse.UUIDList["+ i +"]"));
}
describeSuspiciousUUIDConfigResponse.setUUIDList(uUIDList);
return describeSuspiciousUUIDConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTargetConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeTargetConfigResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeTargetConfigResponse.TargetConfig;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTargetConfigResponseUnmarshaller {
public static DescribeTargetConfigResponse unmarshall(DescribeTargetConfigResponse describeTargetConfigResponse, UnmarshallerContext context) {
describeTargetConfigResponse.setRequestId(context.stringValue("DescribeTargetConfigResponse.RequestId"));
describeTargetConfigResponse.setTotalCount(context.integerValue("DescribeTargetConfigResponse.TotalCount"));
List<TargetConfig> targetConfigs = new ArrayList<TargetConfig>();
for (int i = 0; i < context.lengthValue("DescribeTargetConfigResponse.TargetConfigs.Length"); i++) {
TargetConfig targetConfig = new TargetConfig();
targetConfig.setType(context.stringValue("DescribeTargetConfigResponse.TargetConfigs["+ i +"].Type"));
targetConfig.setConfig(context.stringValue("DescribeTargetConfigResponse.TargetConfigs["+ i +"].Config"));
targetConfig.setOverAllConfig(context.stringValue("DescribeTargetConfigResponse.TargetConfigs["+ i +"].OverAllConfig"));
targetConfigs.add(targetConfig);
}
describeTargetConfigResponse.setTargetConfigs(targetConfigs);
return describeTargetConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTargetResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeTargetResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeTargetResponse.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTargetResponseUnmarshaller {
public static DescribeTargetResponse unmarshall(DescribeTargetResponse describeTargetResponse, UnmarshallerContext context) {
describeTargetResponse.setRequestId(context.stringValue("DescribeTargetResponse.RequestId"));
describeTargetResponse.setTotalCount(context.integerValue("DescribeTargetResponse.TotalCount"));
List<Target> targets = new ArrayList<Target>();
for (int i = 0; i < context.lengthValue("DescribeTargetResponse.Targets.Length"); i++) {
Target target = new Target();
target.setTargetType(context.stringValue("DescribeTargetResponse.Targets["+ i +"].TargetType"));
target.setTarget(context.stringValue("DescribeTargetResponse.Targets["+ i +"].Target"));
target.setFlag(context.stringValue("DescribeTargetResponse.Targets["+ i +"].Flag"));
targets.add(target);
}
describeTargetResponse.setTargets(targets);
return describeTargetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTopRiskyAssetsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeTopRiskyAssetsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeTopRiskyAssetsResponse.TopRiskyAsset;
import com.aliyuncs.aegis.model.v20161111.DescribeTopRiskyAssetsResponse.TopRiskyAsset.AssetInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTopRiskyAssetsResponseUnmarshaller {
public static DescribeTopRiskyAssetsResponse unmarshall(DescribeTopRiskyAssetsResponse describeTopRiskyAssetsResponse, UnmarshallerContext context) {
describeTopRiskyAssetsResponse.setRequestId(context.stringValue("DescribeTopRiskyAssetsResponse.RequestId"));
describeTopRiskyAssetsResponse.setTotalCount(context.integerValue("DescribeTopRiskyAssetsResponse.TotalCount"));
List<TopRiskyAsset> topRiskyAssets = new ArrayList<TopRiskyAsset>();
for (int i = 0; i < context.lengthValue("DescribeTopRiskyAssetsResponse.TopRiskyAssets.Length"); i++) {
TopRiskyAsset topRiskyAsset = new TopRiskyAsset();
topRiskyAsset.setType(context.stringValue("DescribeTopRiskyAssetsResponse.TopRiskyAssets["+ i +"].Type"));
List<AssetInfo> assetInfos = new ArrayList<AssetInfo>();
for (int j = 0; j < context.lengthValue("DescribeTopRiskyAssetsResponse.TopRiskyAssets["+ i +"].AssetInfos.Length"); j++) {
AssetInfo assetInfo = new AssetInfo();
assetInfo.setUuid(context.stringValue("DescribeTopRiskyAssetsResponse.TopRiskyAssets["+ i +"].AssetInfos["+ j +"].Uuid"));
assetInfo.setIp(context.stringValue("DescribeTopRiskyAssetsResponse.TopRiskyAssets["+ i +"].AssetInfos["+ j +"].Ip"));
assetInfo.setInstanceName(context.stringValue("DescribeTopRiskyAssetsResponse.TopRiskyAssets["+ i +"].AssetInfos["+ j +"].InstanceName"));
assetInfo.setCount(context.stringValue("DescribeTopRiskyAssetsResponse.TopRiskyAssets["+ i +"].AssetInfos["+ j +"].Count"));
assetInfos.add(assetInfo);
}
topRiskyAsset.setAssetInfos(assetInfos);
topRiskyAssets.add(topRiskyAsset);
}
describeTopRiskyAssetsResponse.setTopRiskyAssets(topRiskyAssets);
return describeTopRiskyAssetsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTopicListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeTopicListResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTopicListResponseUnmarshaller {
public static DescribeTopicListResponse unmarshall(DescribeTopicListResponse describeTopicListResponse, UnmarshallerContext context) {
describeTopicListResponse.setRequestId(context.stringValue("DescribeTopicListResponse.RequestId"));
List<String> topicList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeTopicListResponse.TopicList.Length"); i++) {
topicList.add(context.stringValue("DescribeTopicListResponse.TopicList["+ i +"]"));
}
describeTopicListResponse.setTopicList(topicList);
return describeTopicListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTotalStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeTotalStatisticsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTotalStatisticsResponseUnmarshaller {
public static DescribeTotalStatisticsResponse unmarshall(DescribeTotalStatisticsResponse describeTotalStatisticsResponse, UnmarshallerContext context) {
describeTotalStatisticsResponse.setRequestId(context.stringValue("DescribeTotalStatisticsResponse.RequestId"));
describeTotalStatisticsResponse.setVulAsapSum(context.integerValue("DescribeTotalStatisticsResponse.VulAsapSum"));
describeTotalStatisticsResponse.setVulNntfSum(context.integerValue("DescribeTotalStatisticsResponse.VulNntfSum"));
describeTotalStatisticsResponse.setHealthTotal(context.integerValue("DescribeTotalStatisticsResponse.HealthTotal"));
describeTotalStatisticsResponse.setSuspiciousmediumTotal(context.integerValue("DescribeTotalStatisticsResponse.SuspiciousmediumTotal"));
describeTotalStatisticsResponse.setHealth(context.integerValue("DescribeTotalStatisticsResponse.Health"));
describeTotalStatisticsResponse.setHealthdealedTotal(context.integerValue("DescribeTotalStatisticsResponse.HealthdealedTotal"));
describeTotalStatisticsResponse.setTrojan(context.integerValue("DescribeTotalStatisticsResponse.Trojan"));
describeTotalStatisticsResponse.setVulLaterSum(context.integerValue("DescribeTotalStatisticsResponse.VulLaterSum"));
describeTotalStatisticsResponse.setSuspicious(context.integerValue("DescribeTotalStatisticsResponse.Suspicious"));
describeTotalStatisticsResponse.setVul(context.integerValue("DescribeTotalStatisticsResponse.Vul"));
describeTotalStatisticsResponse.setHealthhighTotal(context.integerValue("DescribeTotalStatisticsResponse.HealthhighTotal"));
describeTotalStatisticsResponse.setHealthlowTotal(context.integerValue("DescribeTotalStatisticsResponse.HealthlowTotal"));
describeTotalStatisticsResponse.setHealthseriousTotal(context.integerValue("DescribeTotalStatisticsResponse.HealthseriousTotal"));
describeTotalStatisticsResponse.setVulDealedTotal(context.integerValue("DescribeTotalStatisticsResponse.VulDealedTotal"));
describeTotalStatisticsResponse.setPatch(context.integerValue("DescribeTotalStatisticsResponse.Patch"));
describeTotalStatisticsResponse.setSuspicioushighTotal(context.integerValue("DescribeTotalStatisticsResponse.SuspicioushighTotal"));
describeTotalStatisticsResponse.setSuspiciouslowTotal(context.integerValue("DescribeTotalStatisticsResponse.SuspiciouslowTotal"));
describeTotalStatisticsResponse.setSuspiciousTotal(context.integerValue("DescribeTotalStatisticsResponse.SuspiciousTotal"));
describeTotalStatisticsResponse.setVulTotal(context.integerValue("DescribeTotalStatisticsResponse.VulTotal"));
describeTotalStatisticsResponse.setSuspiciousseriousTotal(context.integerValue("DescribeTotalStatisticsResponse.SuspiciousseriousTotal"));
describeTotalStatisticsResponse.setHealthmediumTotal(context.integerValue("DescribeTotalStatisticsResponse.HealthmediumTotal"));
describeTotalStatisticsResponse.setOnline(context.booleanValue("DescribeTotalStatisticsResponse.Online"));
describeTotalStatisticsResponse.setSuspiciousdealedTotal(context.integerValue("DescribeTotalStatisticsResponse.SuspiciousdealedTotal"));
describeTotalStatisticsResponse.setAccount(context.integerValue("DescribeTotalStatisticsResponse.Account"));
describeTotalStatisticsResponse.setNewsuspicious(context.integerValue("DescribeTotalStatisticsResponse.Newsuspicious"));
return describeTotalStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTraceInfoDetailResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoDetailResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoDetailResponse.TraceInfoDetail;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoDetailResponse.TraceInfoDetail.Edge;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityType;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoDetailResponse.TraceInfoDetail.Vertex;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoDetailResponse.TraceInfoDetail.Vertex.Neighbor;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTraceInfoDetailResponseUnmarshaller {
public static DescribeTraceInfoDetailResponse unmarshall(DescribeTraceInfoDetailResponse describeTraceInfoDetailResponse, UnmarshallerContext context) {
describeTraceInfoDetailResponse.setRequestId(context.stringValue("DescribeTraceInfoDetailResponse.RequestId"));
describeTraceInfoDetailResponse.setSuccess(context.booleanValue("DescribeTraceInfoDetailResponse.Success"));
TraceInfoDetail traceInfoDetail = new TraceInfoDetail();
List<Edge> edgeList = new ArrayList<Edge>();
for (int i = 0; i < context.lengthValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EdgeList.Length"); i++) {
Edge edge = new Edge();
edge.setEndId(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EdgeList["+ i +"].EndId"));
edge.setStartId(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EdgeList["+ i +"].StartId"));
edge.setCount(context.integerValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EdgeList["+ i +"].Count"));
edge.setTime(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EdgeList["+ i +"].Time"));
edgeList.add(edge);
}
traceInfoDetail.setEdgeList(edgeList);
List<Vertex> vertexList = new ArrayList<Vertex>();
for (int i = 0; i < context.lengthValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList.Length"); i++) {
Vertex vertex = new Vertex();
vertex.setName(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].Name"));
vertex.setCount(context.integerValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].Count"));
vertex.setId(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].Id"));
vertex.setTime(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].Time"));
vertex.setType(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].Type"));
List<Neighbor> neighborList = new ArrayList<Neighbor>();
for (int j = 0; j < context.lengthValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].NeighborList.Length"); j++) {
Neighbor neighbor = new Neighbor();
neighbor.setHasMore(context.booleanValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].NeighborList["+ j +"].HasMore"));
neighbor.setCount(context.integerValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].NeighborList["+ j +"].Count"));
neighbor.setType(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.VertexList["+ i +"].NeighborList["+ j +"].Type"));
neighborList.add(neighbor);
}
vertex.setNeighborList(neighborList);
vertexList.add(vertex);
}
traceInfoDetail.setVertexList(vertexList);
List<EntityType> entityTypeList = new ArrayList<EntityType>();
for (int i = 0; i < context.lengthValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList.Length"); i++) {
EntityType entityType = new EntityType();
entityType.setDisplayTemplate(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].DisplayTemplate"));
entityType.setGmtModified(context.longValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].GmtModified"));
entityType.setDisplayIcon(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].DisplayIcon"));
entityType.setOffset(context.integerValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].Offset"));
entityType.setDbId(context.integerValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].DbId"));
entityType.setName(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].Name"));
entityType.setNamespace(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].Namespace"));
entityType.setLimit(context.integerValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].Limit"));
entityType.setId(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].Id"));
entityType.setDisplayColor(context.stringValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].DisplayColor"));
entityType.setGmtCreate(context.longValue("DescribeTraceInfoDetailResponse.TraceInfoDetail.EntityTypeList["+ i +"].GmtCreate"));
entityTypeList.add(entityType);
}
traceInfoDetail.setEntityTypeList(entityTypeList);
describeTraceInfoDetailResponse.setTraceInfoDetail(traceInfoDetail);
return describeTraceInfoDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTraceInfoNodeListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoNodeListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoNodeListResponse.NodeListInfo;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoNodeListResponse.NodeListInfo.Edge;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoNodeListResponse.NodeListInfo.Vertex;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTraceInfoNodeListResponseUnmarshaller {
public static DescribeTraceInfoNodeListResponse unmarshall(DescribeTraceInfoNodeListResponse describeTraceInfoNodeListResponse, UnmarshallerContext context) {
describeTraceInfoNodeListResponse.setRequestId(context.stringValue("DescribeTraceInfoNodeListResponse.RequestId"));
NodeListInfo nodeListInfo = new NodeListInfo();
List<String> entityTypeList = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeTraceInfoNodeListResponse.NodeListInfo.EntityTypeList.Length"); i++) {
entityTypeList.add(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.EntityTypeList["+ i +"]"));
}
nodeListInfo.setEntityTypeList(entityTypeList);
List<Edge> edgeList = new ArrayList<Edge>();
for (int i = 0; i < context.lengthValue("DescribeTraceInfoNodeListResponse.NodeListInfo.EdgeList.Length"); i++) {
Edge edge = new Edge();
edge.setEndId(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.EdgeList["+ i +"].EndId"));
edge.setStartId(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.EdgeList["+ i +"].StartId"));
edge.setTime(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.EdgeList["+ i +"].Time"));
edgeList.add(edge);
}
nodeListInfo.setEdgeList(edgeList);
List<Vertex> vertexList = new ArrayList<Vertex>();
for (int i = 0; i < context.lengthValue("DescribeTraceInfoNodeListResponse.NodeListInfo.VertexList.Length"); i++) {
Vertex vertex = new Vertex();
vertex.setName(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.VertexList["+ i +"].Name"));
vertex.setId(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.VertexList["+ i +"].Id"));
vertex.setTime(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.VertexList["+ i +"].Time"));
List<String> neighborList = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeTraceInfoNodeListResponse.NodeListInfo.VertexList["+ i +"].NeighborList.Length"); j++) {
neighborList.add(context.stringValue("DescribeTraceInfoNodeListResponse.NodeListInfo.VertexList["+ i +"].NeighborList["+ j +"]"));
}
vertex.setNeighborList(neighborList);
vertexList.add(vertex);
}
nodeListInfo.setVertexList(vertexList);
describeTraceInfoNodeListResponse.setNodeListInfo(nodeListInfo);
return describeTraceInfoNodeListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeTraceInfoNodeResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoNodeResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoNodeResponse.Node;
import com.aliyuncs.aegis.model.v20161111.DescribeTraceInfoNodeResponse.Node.Property;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTraceInfoNodeResponseUnmarshaller {
public static DescribeTraceInfoNodeResponse unmarshall(DescribeTraceInfoNodeResponse describeTraceInfoNodeResponse, UnmarshallerContext context) {
describeTraceInfoNodeResponse.setRequestId(context.stringValue("DescribeTraceInfoNodeResponse.RequestId"));
Node node = new Node();
node.setName(context.stringValue("DescribeTraceInfoNodeResponse.Node.Name"));
node.setType(context.stringValue("DescribeTraceInfoNodeResponse.Node.Type"));
List<Property> propertyList = new ArrayList<Property>();
for (int i = 0; i < context.lengthValue("DescribeTraceInfoNodeResponse.Node.PropertyList.Length"); i++) {
Property property = new Property();
property.setName(context.stringValue("DescribeTraceInfoNodeResponse.Node.PropertyList["+ i +"].Name"));
property.setValue(context.stringValue("DescribeTraceInfoNodeResponse.Node.PropertyList["+ i +"].Value"));
propertyList.add(property);
}
node.setPropertyList(propertyList);
describeTraceInfoNodeResponse.setNode(node);
return describeTraceInfoNodeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeUserSettingResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeUserSettingResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeUserSettingResponseUnmarshaller {
public static DescribeUserSettingResponse unmarshall(DescribeUserSettingResponse describeUserSettingResponse, UnmarshallerContext context) {
describeUserSettingResponse.setRequestId(context.stringValue("DescribeUserSettingResponse.RequestId"));
describeUserSettingResponse.setInvalidWarningKeepDays(context.integerValue("DescribeUserSettingResponse.InvalidWarningKeepDays"));
describeUserSettingResponse.setAlertLevels(context.stringValue("DescribeUserSettingResponse.AlertLevels"));
return describeUserSettingResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeUuidConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeUuidConfigResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeUuidConfigResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeUuidConfigResponseUnmarshaller {
public static DescribeUuidConfigResponse unmarshall(DescribeUuidConfigResponse describeUuidConfigResponse, UnmarshallerContext context) {
describeUuidConfigResponse.setRequestId(context.stringValue("DescribeUuidConfigResponse.RequestId"));
Data data = new Data();
data.setFlag(context.stringValue("DescribeUuidConfigResponse.Data.Flag"));
describeUuidConfigResponse.setData(data);
return describeUuidConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVersionConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeVersionConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVersionConfigResponseUnmarshaller {
public static DescribeVersionConfigResponse unmarshall(DescribeVersionConfigResponse describeVersionConfigResponse, UnmarshallerContext context) {
describeVersionConfigResponse.setRequestId(context.stringValue("DescribeVersionConfigResponse.RequestId"));
describeVersionConfigResponse.setAssetLevel(context.integerValue("DescribeVersionConfigResponse.AssetLevel"));
describeVersionConfigResponse.setAvdsFlag(context.integerValue("DescribeVersionConfigResponse.AvdsFlag"));
describeVersionConfigResponse.setCreateTime(context.longValue("DescribeVersionConfigResponse.CreateTime"));
describeVersionConfigResponse.setFlag(context.integerValue("DescribeVersionConfigResponse.Flag"));
describeVersionConfigResponse.setInstanceId(context.stringValue("DescribeVersionConfigResponse.InstanceId"));
describeVersionConfigResponse.setIsSasOpening(context.booleanValue("DescribeVersionConfigResponse.IsSasOpening"));
describeVersionConfigResponse.setIsTrialVersion(context.integerValue("DescribeVersionConfigResponse.IsTrialVersion"));
describeVersionConfigResponse.setLogCapacity(context.integerValue("DescribeVersionConfigResponse.LogCapacity"));
describeVersionConfigResponse.setLogTime(context.integerValue("DescribeVersionConfigResponse.LogTime"));
describeVersionConfigResponse.setReleaseTime(context.longValue("DescribeVersionConfigResponse.ReleaseTime"));
describeVersionConfigResponse.setSasLog(context.integerValue("DescribeVersionConfigResponse.SasLog"));
describeVersionConfigResponse.setSasScreen(context.integerValue("DescribeVersionConfigResponse.SasScreen"));
describeVersionConfigResponse.setVersion(context.integerValue("DescribeVersionConfigResponse.Version"));
describeVersionConfigResponse.setUserDefinedAlarms(context.integerValue("DescribeVersionConfigResponse.UserDefinedAlarms"));
describeVersionConfigResponse.setWebLock(context.integerValue("DescribeVersionConfigResponse.WebLock"));
describeVersionConfigResponse.setWebLockAuthCount(context.longValue("DescribeVersionConfigResponse.WebLockAuthCount"));
describeVersionConfigResponse.setAppWhiteListAuthCount(context.longValue("DescribeVersionConfigResponse.AppWhiteListAuthCount"));
describeVersionConfigResponse.setAppWhiteList(context.integerValue("DescribeVersionConfigResponse.AppWhiteList"));
describeVersionConfigResponse.setSlsCapacity(context.longValue("DescribeVersionConfigResponse.SlsCapacity"));
return describeVersionConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulBatchResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulBatchResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulBatchResponseUnmarshaller {
public static DescribeVulBatchResponse unmarshall(DescribeVulBatchResponse describeVulBatchResponse, UnmarshallerContext context) {
describeVulBatchResponse.setRequestId(context.stringValue("DescribeVulBatchResponse.RequestId"));
List<String> batchNames = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeVulBatchResponse.BatchNames.Length"); i++) {
batchNames.add(context.stringValue("DescribeVulBatchResponse.BatchNames["+ i +"]"));
}
describeVulBatchResponse.setBatchNames(batchNames);
return describeVulBatchResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulConfigResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeVulConfigResponse.TargetConfig;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulConfigResponseUnmarshaller {
public static DescribeVulConfigResponse unmarshall(DescribeVulConfigResponse describeVulConfigResponse, UnmarshallerContext context) {
describeVulConfigResponse.setRequestId(context.stringValue("DescribeVulConfigResponse.RequestId"));
describeVulConfigResponse.setTotalCount(context.integerValue("DescribeVulConfigResponse.TotalCount"));
List<TargetConfig> targetConfigs = new ArrayList<TargetConfig>();
for (int i = 0; i < context.lengthValue("DescribeVulConfigResponse.TargetConfigs.Length"); i++) {
TargetConfig targetConfig = new TargetConfig();
targetConfig.setType(context.stringValue("DescribeVulConfigResponse.TargetConfigs["+ i +"].Type"));
targetConfig.setConfig(context.stringValue("DescribeVulConfigResponse.TargetConfigs["+ i +"].Config"));
targetConfig.setOverAllConfig(context.stringValue("DescribeVulConfigResponse.TargetConfigs["+ i +"].OverAllConfig"));
targetConfigs.add(targetConfig);
}
describeVulConfigResponse.setTargetConfigs(targetConfigs);
return describeVulConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulDetailsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulDetailsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeVulDetailsResponse.Cve;
import com.aliyuncs.aegis.model.v20161111.DescribeVulDetailsResponse.Cve.Classify;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulDetailsResponseUnmarshaller {
public static DescribeVulDetailsResponse unmarshall(DescribeVulDetailsResponse describeVulDetailsResponse, UnmarshallerContext context) {
describeVulDetailsResponse.setRequestId(context.stringValue("DescribeVulDetailsResponse.RequestId"));
List<Cve> cves = new ArrayList<Cve>();
for (int i = 0; i < context.lengthValue("DescribeVulDetailsResponse.Cves.Length"); i++) {
Cve cve = new Cve();
cve.setCveId(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].CveId"));
cve.setCnvdId(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].CnvdId"));
cve.setOtherId(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].OtherId"));
cve.setTitle(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Title"));
cve.setCvssScore(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].CvssScore"));
cve.setCvssVector(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].CvssVector"));
cve.setReleaseTime(context.longValue("DescribeVulDetailsResponse.Cves["+ i +"].ReleaseTime"));
cve.setComplexity(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Complexity"));
cve.setPoc(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Poc"));
cve.setPocCreateTime(context.longValue("DescribeVulDetailsResponse.Cves["+ i +"].PocCreateTime"));
cve.setPocDisclosureTime(context.longValue("DescribeVulDetailsResponse.Cves["+ i +"].PocDisclosureTime"));
cve.setSummary(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Summary"));
cve.setSolution(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Solution"));
cve.setContent(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Content"));
cve.setVendor(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Vendor"));
cve.setProduct(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Product"));
cve.setVulLevel(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].VulLevel"));
cve.setReference(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Reference"));
cve.setClassify(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Classify"));
List<Classify> classifys = new ArrayList<Classify>();
for (int j = 0; j < context.lengthValue("DescribeVulDetailsResponse.Cves["+ i +"].Classifys.Length"); j++) {
Classify classify = new Classify();
classify.setClassify(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Classifys["+ j +"].Classify"));
classify.setDescription(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Classifys["+ j +"].Description"));
classify.setDemoVideoUrl(context.stringValue("DescribeVulDetailsResponse.Cves["+ i +"].Classifys["+ j +"].DemoVideoUrl"));
classifys.add(classify);
}
cve.setClassifys(classifys);
cves.add(cve);
}
describeVulDetailsResponse.setCves(cves);
return describeVulDetailsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulExportInfoResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeVulExportInfoResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulExportInfoResponseUnmarshaller {
public static DescribeVulExportInfoResponse unmarshall(DescribeVulExportInfoResponse describeVulExportInfoResponse, UnmarshallerContext context) {
describeVulExportInfoResponse.setRequestId(context.stringValue("DescribeVulExportInfoResponse.RequestId"));
describeVulExportInfoResponse.setId(context.longValue("DescribeVulExportInfoResponse.Id"));
describeVulExportInfoResponse.setFileName(context.stringValue("DescribeVulExportInfoResponse.FileName"));
describeVulExportInfoResponse.setCurrentCount(context.integerValue("DescribeVulExportInfoResponse.CurrentCount"));
describeVulExportInfoResponse.setTotalCount(context.integerValue("DescribeVulExportInfoResponse.TotalCount"));
describeVulExportInfoResponse.setProgress(context.integerValue("DescribeVulExportInfoResponse.Progress"));
describeVulExportInfoResponse.setExportStatus(context.stringValue("DescribeVulExportInfoResponse.ExportStatus"));
describeVulExportInfoResponse.setMessage(context.stringValue("DescribeVulExportInfoResponse.Message"));
describeVulExportInfoResponse.setLink(context.stringValue("DescribeVulExportInfoResponse.Link"));
return describeVulExportInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulLevelResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulLevelResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulLevelResponseUnmarshaller {
public static DescribeVulLevelResponse unmarshall(DescribeVulLevelResponse describeVulLevelResponse, UnmarshallerContext context) {
describeVulLevelResponse.setRequestId(context.stringValue("DescribeVulLevelResponse.RequestId"));
List<String> concernLevels = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DescribeVulLevelResponse.ConcernLevels.Length"); i++) {
concernLevels.add(context.stringValue("DescribeVulLevelResponse.ConcernLevels["+ i +"]"));
}
describeVulLevelResponse.setConcernLevels(concernLevels);
return describeVulLevelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulLevelStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulLevelStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeVulLevelStatisticsResponse.LevelStatistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulLevelStatisticsResponseUnmarshaller {
public static DescribeVulLevelStatisticsResponse unmarshall(DescribeVulLevelStatisticsResponse describeVulLevelStatisticsResponse, UnmarshallerContext context) {
describeVulLevelStatisticsResponse.setRequestId(context.stringValue("DescribeVulLevelStatisticsResponse.RequestId"));
describeVulLevelStatisticsResponse.setTotalCount(context.integerValue("DescribeVulLevelStatisticsResponse.TotalCount"));
List<LevelStatistic> levelStatistics = new ArrayList<LevelStatistic>();
for (int i = 0; i < context.lengthValue("DescribeVulLevelStatisticsResponse.LevelStatistics.Length"); i++) {
LevelStatistic levelStatistic = new LevelStatistic();
levelStatistic.setLevel(context.stringValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].Level"));
levelStatistic.setCveNum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].CveNum"));
levelStatistic.setEmgNum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].EmgNum"));
levelStatistic.setSysNum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].SysNum"));
levelStatistic.setCmsNum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].CmsNum"));
levelStatistic.setCmsDealedTotalNum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].CmsDealedTotalNum"));
levelStatistic.setVulDealedTotalNum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulDealedTotalNum"));
levelStatistic.setVulAsapSum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulAsapSum"));
levelStatistic.setVulLaterSum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulLaterSum"));
levelStatistic.setVulNntfSum(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulNntfSum"));
levelStatistic.setVulSeriousTotal(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulSeriousTotal"));
levelStatistic.setVulHighTotal(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulHighTotal"));
levelStatistic.setVulMediumTotal(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulMediumTotal"));
levelStatistic.setVulLowTotal(context.integerValue("DescribeVulLevelStatisticsResponse.LevelStatistics["+ i +"].VulLowTotal"));
levelStatistics.add(levelStatistic);
}
describeVulLevelStatisticsResponse.setLevelStatistics(levelStatistics);
return describeVulLevelStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeVulListResponse.VulRecord;
import com.aliyuncs.aegis.model.v20161111.DescribeVulListResponse.VulRecord.ExtendContentJson;
import com.aliyuncs.aegis.model.v20161111.DescribeVulListResponse.VulRecord.ExtendContentJson.Necessity;
import com.aliyuncs.aegis.model.v20161111.DescribeVulListResponse.VulRecord.ExtendContentJson.RpmEntityListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulListResponseUnmarshaller {
public static DescribeVulListResponse unmarshall(DescribeVulListResponse describeVulListResponse, UnmarshallerContext context) {
describeVulListResponse.setRequestId(context.stringValue("DescribeVulListResponse.RequestId"));
describeVulListResponse.setPageSize(context.integerValue("DescribeVulListResponse.PageSize"));
describeVulListResponse.setCurrentPage(context.integerValue("DescribeVulListResponse.CurrentPage"));
describeVulListResponse.setTotalCount(context.integerValue("DescribeVulListResponse.TotalCount"));
List<VulRecord> vulRecords = new ArrayList<VulRecord>();
for (int i = 0; i < context.lengthValue("DescribeVulListResponse.VulRecords.Length"); i++) {
VulRecord vulRecord = new VulRecord();
vulRecord.setPrimaryId(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].PrimaryId"));
vulRecord.setUuid(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Uuid"));
vulRecord.setName(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Name"));
vulRecord.setTag(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Tag"));
vulRecord.setAliasName(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].AliasName"));
vulRecord.setRecordId(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].RecordId"));
vulRecord.setType(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Type"));
vulRecord.setLevel(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Level"));
vulRecord.setProduct(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Product"));
vulRecord.setFirstTs(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].FirstTs"));
vulRecord.setLastTs(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].LastTs"));
vulRecord.setRepairTs(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].RepairTs"));
vulRecord.setStatus(context.integerValue("DescribeVulListResponse.VulRecords["+ i +"].Status"));
vulRecord.setRelated(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Related"));
vulRecord.setResultCode(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ResultCode"));
vulRecord.setResultMessage(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ResultMessage"));
vulRecord.setModifyTs(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].ModifyTs"));
vulRecord.setNecessity(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Necessity"));
vulRecord.setGroupId(context.integerValue("DescribeVulListResponse.VulRecords["+ i +"].GroupId"));
vulRecord.setInstanceId(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].InstanceId"));
vulRecord.setInstanceName(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].InstanceName"));
vulRecord.setInternetIp(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].InternetIp"));
vulRecord.setIntranetIp(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].IntranetIp"));
vulRecord.setIp(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].Ip"));
vulRecord.setOsVersion(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].OsVersion"));
vulRecord.setNeedReboot(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].NeedReboot"));
ExtendContentJson extendContentJson = new ExtendContentJson();
extendContentJson.setOs(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Os"));
extendContentJson.setOsRelease(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.OsRelease"));
extendContentJson.setStatus(context.integerValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Status"));
extendContentJson.setLastTs(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.LastTs"));
extendContentJson.setAliasName(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.AliasName"));
extendContentJson.setTag(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Tag"));
extendContentJson.setPrimaryId(context.longValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.PrimaryId"));
extendContentJson.setLevel(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Level"));
extendContentJson.setAbsolutePath(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.AbsolutePath"));
extendContentJson.setTarget(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Target"));
extendContentJson.setProof(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Proof"));
extendContentJson.setReason(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Reason"));
List<String> cveList = new ArrayList<String>();
for (int j = 0; j < context.lengthValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.cveList.Length"); j++) {
cveList.add(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.cveList["+ j +"]"));
}
extendContentJson.setCveList(cveList);
Necessity necessity = new Necessity();
necessity.setCvss_factor(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Cvss_factor"));
necessity.setGmt_create(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Gmt_create"));
necessity.setStatus(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Status"));
necessity.setEnviroment_factor(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Enviroment_factor"));
necessity.setAssets_factor(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Assets_factor"));
necessity.setIs_calc(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Is_calc"));
necessity.setTotal_score(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Total_score"));
necessity.setTime_factor(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.Necessity.Time_factor"));
extendContentJson.setNecessity(necessity);
List<RpmEntityListItem> rpmEntityList = new ArrayList<RpmEntityListItem>();
for (int j = 0; j < context.lengthValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.RpmEntityList.Length"); j++) {
RpmEntityListItem rpmEntityListItem = new RpmEntityListItem();
rpmEntityListItem.setFullVersion(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.RpmEntityList["+ j +"].FullVersion"));
rpmEntityListItem.setMatchDetail(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.RpmEntityList["+ j +"].MatchDetail"));
rpmEntityListItem.setName(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.RpmEntityList["+ j +"].Name"));
rpmEntityListItem.setPath(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.RpmEntityList["+ j +"].Path"));
rpmEntityListItem.setUpdateCmd(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.RpmEntityList["+ j +"].UpdateCmd"));
rpmEntityListItem.setVersion(context.stringValue("DescribeVulListResponse.VulRecords["+ i +"].ExtendContentJson.RpmEntityList["+ j +"].Version"));
rpmEntityList.add(rpmEntityListItem);
}
extendContentJson.setRpmEntityList(rpmEntityList);
vulRecord.setExtendContentJson(extendContentJson);
vulRecords.add(vulRecord);
}
describeVulListResponse.setVulRecords(vulRecords);
return describeVulListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulMachineListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulMachineListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeVulMachineListResponse.MachineStatistic;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulMachineListResponseUnmarshaller {
public static DescribeVulMachineListResponse unmarshall(DescribeVulMachineListResponse describeVulMachineListResponse, UnmarshallerContext context) {
describeVulMachineListResponse.setRequestId(context.stringValue("DescribeVulMachineListResponse.RequestId"));
describeVulMachineListResponse.setTotalCount(context.integerValue("DescribeVulMachineListResponse.TotalCount"));
List<MachineStatistic> machineStatistics = new ArrayList<MachineStatistic>();
for (int i = 0; i < context.lengthValue("DescribeVulMachineListResponse.MachineStatistics.Length"); i++) {
MachineStatistic machineStatistic = new MachineStatistic();
machineStatistic.setUuid(context.stringValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].Uuid"));
machineStatistic.setCveNum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].CveNum"));
machineStatistic.setEmgNum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].EmgNum"));
machineStatistic.setSysNum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].SysNum"));
machineStatistic.setCmsNum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].CmsNum"));
machineStatistic.setCmsDealedTotalNum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].CmsDealedTotalNum"));
machineStatistic.setVulDealedTotalNum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulDealedTotalNum"));
machineStatistic.setVulAsapSum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulAsapSum"));
machineStatistic.setVulLaterSum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulLaterSum"));
machineStatistic.setVulNntfSum(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulNntfSum"));
machineStatistic.setVulSeriousTotal(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulSeriousTotal"));
machineStatistic.setVulHighTotal(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulHighTotal"));
machineStatistic.setVulMediumTotal(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulMediumTotal"));
machineStatistic.setVulLowTotal(context.integerValue("DescribeVulMachineListResponse.MachineStatistics["+ i +"].VulLowTotal"));
machineStatistics.add(machineStatistic);
}
describeVulMachineListResponse.setMachineStatistics(machineStatistics);
return describeVulMachineListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulNumStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeVulNumStatisticsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulNumStatisticsResponseUnmarshaller {
public static DescribeVulNumStatisticsResponse unmarshall(DescribeVulNumStatisticsResponse describeVulNumStatisticsResponse, UnmarshallerContext context) {
describeVulNumStatisticsResponse.setRequestId(context.stringValue("DescribeVulNumStatisticsResponse.RequestId"));
describeVulNumStatisticsResponse.setCveNum(context.integerValue("DescribeVulNumStatisticsResponse.CveNum"));
describeVulNumStatisticsResponse.setEmgNum(context.integerValue("DescribeVulNumStatisticsResponse.EmgNum"));
describeVulNumStatisticsResponse.setSysNum(context.integerValue("DescribeVulNumStatisticsResponse.SysNum"));
describeVulNumStatisticsResponse.setCmsNum(context.integerValue("DescribeVulNumStatisticsResponse.CmsNum"));
describeVulNumStatisticsResponse.setCmsDealedTotalNum(context.integerValue("DescribeVulNumStatisticsResponse.CmsDealedTotalNum"));
describeVulNumStatisticsResponse.setVulDealedTotalNum(context.integerValue("DescribeVulNumStatisticsResponse.VulDealedTotalNum"));
describeVulNumStatisticsResponse.setVulAsapSum(context.integerValue("DescribeVulNumStatisticsResponse.VulAsapSum"));
describeVulNumStatisticsResponse.setVulLaterSum(context.integerValue("DescribeVulNumStatisticsResponse.VulLaterSum"));
describeVulNumStatisticsResponse.setVulNntfSum(context.integerValue("DescribeVulNumStatisticsResponse.VulNntfSum"));
return describeVulNumStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulTargetStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulTargetStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeVulTargetStatisticsResponse.TargetStat;
import com.aliyuncs.aegis.model.v20161111.DescribeVulTargetStatisticsResponse.TargetStat.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulTargetStatisticsResponseUnmarshaller {
public static DescribeVulTargetStatisticsResponse unmarshall(DescribeVulTargetStatisticsResponse describeVulTargetStatisticsResponse, UnmarshallerContext context) {
describeVulTargetStatisticsResponse.setRequestId(context.stringValue("DescribeVulTargetStatisticsResponse.RequestId"));
describeVulTargetStatisticsResponse.setPageSize(context.integerValue("DescribeVulTargetStatisticsResponse.PageSize"));
describeVulTargetStatisticsResponse.setCurrentPage(context.integerValue("DescribeVulTargetStatisticsResponse.CurrentPage"));
describeVulTargetStatisticsResponse.setTotalCount(context.integerValue("DescribeVulTargetStatisticsResponse.TotalCount"));
List<TargetStat> targetStats = new ArrayList<TargetStat>();
for (int i = 0; i < context.lengthValue("DescribeVulTargetStatisticsResponse.TargetStats.Length"); i++) {
TargetStat targetStat = new TargetStat();
targetStat.setVulType(context.stringValue("DescribeVulTargetStatisticsResponse.TargetStats["+ i +"].VulType"));
targetStat.setUuidCount(context.stringValue("DescribeVulTargetStatisticsResponse.TargetStats["+ i +"].UuidCount"));
targetStat.setTotalCount(context.stringValue("DescribeVulTargetStatisticsResponse.TargetStats["+ i +"].TotalCount"));
List<Target> targets = new ArrayList<Target>();
for (int j = 0; j < context.lengthValue("DescribeVulTargetStatisticsResponse.TargetStats["+ i +"].Targets.Length"); j++) {
Target target = new Target();
target.setTarget(context.stringValue("DescribeVulTargetStatisticsResponse.TargetStats["+ i +"].Targets["+ j +"].Target"));
target.setTargetType(context.stringValue("DescribeVulTargetStatisticsResponse.TargetStats["+ i +"].Targets["+ j +"].TargetType"));
target.setFlag(context.stringValue("DescribeVulTargetStatisticsResponse.TargetStats["+ i +"].Targets["+ j +"].Flag"));
targets.add(target);
}
targetStat.setTargets(targets);
targetStats.add(targetStat);
}
describeVulTargetStatisticsResponse.setTargetStats(targetStats);
return describeVulTargetStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulWhitelistResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeVulWhitelistResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeVulWhitelistResponse.VulWhitelist;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulWhitelistResponseUnmarshaller {
public static DescribeVulWhitelistResponse unmarshall(DescribeVulWhitelistResponse describeVulWhitelistResponse, UnmarshallerContext context) {
describeVulWhitelistResponse.setRequestId(context.stringValue("DescribeVulWhitelistResponse.RequestId"));
describeVulWhitelistResponse.setPageSize(context.integerValue("DescribeVulWhitelistResponse.PageSize"));
describeVulWhitelistResponse.setCurrentPage(context.integerValue("DescribeVulWhitelistResponse.CurrentPage"));
describeVulWhitelistResponse.setTotalCount(context.integerValue("DescribeVulWhitelistResponse.TotalCount"));
List<VulWhitelist> vulWhitelists = new ArrayList<VulWhitelist>();
for (int i = 0; i < context.lengthValue("DescribeVulWhitelistResponse.VulWhitelists.Length"); i++) {
VulWhitelist vulWhitelist = new VulWhitelist();
vulWhitelist.setName(context.stringValue("DescribeVulWhitelistResponse.VulWhitelists["+ i +"].Name"));
vulWhitelist.setType(context.stringValue("DescribeVulWhitelistResponse.VulWhitelists["+ i +"].Type"));
vulWhitelist.setAliasName(context.stringValue("DescribeVulWhitelistResponse.VulWhitelists["+ i +"].AliasName"));
vulWhitelist.setReason(context.stringValue("DescribeVulWhitelistResponse.VulWhitelists["+ i +"].Reason"));
vulWhitelists.add(vulWhitelist);
}
describeVulWhitelistResponse.setVulWhitelists(vulWhitelists);
return describeVulWhitelistResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeVulnerabilitySummaryResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeVulnerabilitySummaryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeVulnerabilitySummaryResponseUnmarshaller {
public static DescribeVulnerabilitySummaryResponse unmarshall(DescribeVulnerabilitySummaryResponse describeVulnerabilitySummaryResponse, UnmarshallerContext context) {
describeVulnerabilitySummaryResponse.setRequestId(context.stringValue("DescribeVulnerabilitySummaryResponse.RequestId"));
describeVulnerabilitySummaryResponse.setSuccess(context.booleanValue("DescribeVulnerabilitySummaryResponse.Success"));
describeVulnerabilitySummaryResponse.setSuggestionCount(context.longValue("DescribeVulnerabilitySummaryResponse.SuggestionCount"));
describeVulnerabilitySummaryResponse.setLowCount(context.longValue("DescribeVulnerabilitySummaryResponse.LowCount"));
describeVulnerabilitySummaryResponse.setMediumCount(context.longValue("DescribeVulnerabilitySummaryResponse.MediumCount"));
describeVulnerabilitySummaryResponse.setHighCount(context.longValue("DescribeVulnerabilitySummaryResponse.HighCount"));
describeVulnerabilitySummaryResponse.setTotalCount(context.longValue("DescribeVulnerabilitySummaryResponse.TotalCount"));
describeVulnerabilitySummaryResponse.setConcernCount(context.longValue("DescribeVulnerabilitySummaryResponse.ConcernCount"));
return describeVulnerabilitySummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWarningMachinesResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWarningMachinesResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWarningMachinesResponse.WarningMachine;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWarningMachinesResponseUnmarshaller {
public static DescribeWarningMachinesResponse unmarshall(DescribeWarningMachinesResponse describeWarningMachinesResponse, UnmarshallerContext context) {
describeWarningMachinesResponse.setRequestId(context.stringValue("DescribeWarningMachinesResponse.RequestId"));
describeWarningMachinesResponse.setCount(context.integerValue("DescribeWarningMachinesResponse.Count"));
describeWarningMachinesResponse.setPageSize(context.integerValue("DescribeWarningMachinesResponse.PageSize"));
describeWarningMachinesResponse.setTotalCount(context.integerValue("DescribeWarningMachinesResponse.TotalCount"));
describeWarningMachinesResponse.setCurrentPage(context.integerValue("DescribeWarningMachinesResponse.CurrentPage"));
List<WarningMachine> warningMachines = new ArrayList<WarningMachine>();
for (int i = 0; i < context.lengthValue("DescribeWarningMachinesResponse.WarningMachines.Length"); i++) {
WarningMachine warningMachine = new WarningMachine();
warningMachine.setUuid(context.stringValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].Uuid"));
warningMachine.setMachineName(context.stringValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].MachineName"));
warningMachine.setInternetIp(context.stringValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].InternetIp"));
warningMachine.setIntranetIp(context.stringValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].IntranetIp"));
warningMachine.setPassCount(context.integerValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].PassCount"));
warningMachine.setHighWarningCount(context.integerValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].HighWarningCount"));
warningMachine.setMediumWarningCount(context.integerValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].MediumWarningCount"));
warningMachine.setLowWarningCount(context.integerValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].LowWarningCount"));
warningMachine.setStatus(context.integerValue("DescribeWarningMachinesResponse.WarningMachines["+ i +"].Status"));
warningMachines.add(warningMachine);
}
describeWarningMachinesResponse.setWarningMachines(warningMachines);
return describeWarningMachinesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWarningResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWarningResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWarningResponse.Warning;
import com.aliyuncs.aegis.model.v20161111.DescribeWarningResponse.Warning.Detail;
import com.aliyuncs.aegis.model.v20161111.DescribeWarningResponse.Warning.Detail.DetailItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWarningResponseUnmarshaller {
public static DescribeWarningResponse unmarshall(DescribeWarningResponse describeWarningResponse, UnmarshallerContext context) {
describeWarningResponse.setRequestId(context.stringValue("DescribeWarningResponse.RequestId"));
describeWarningResponse.setCount(context.integerValue("DescribeWarningResponse.Count"));
describeWarningResponse.setPageSize(context.integerValue("DescribeWarningResponse.PageSize"));
describeWarningResponse.setTotalCount(context.integerValue("DescribeWarningResponse.TotalCount"));
describeWarningResponse.setCurrentPage(context.integerValue("DescribeWarningResponse.CurrentPage"));
List<Warning> warnings = new ArrayList<Warning>();
for (int i = 0; i < context.lengthValue("DescribeWarningResponse.Warnings.Length"); i++) {
Warning warning = new Warning();
warning.setRiskWarningId(context.longValue("DescribeWarningResponse.Warnings["+ i +"].RiskWarningId"));
warning.setRiskName(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].RiskName"));
warning.setUuid(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].Uuid"));
warning.setRirstFoundTime(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].RirstFoundTime"));
warning.setLastFoundTime(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].LastFoundTime"));
warning.setLevel(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].Level"));
warning.setTypeName(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].TypeName"));
warning.setSubTypeName(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].SubTypeName"));
warning.setTypeAlias(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].TypeAlias"));
warning.setSubTypeAlias(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].SubTypeAlias"));
warning.setStatus(context.integerValue("DescribeWarningResponse.Warnings["+ i +"].Status"));
List<Detail> details = new ArrayList<Detail>();
for (int j = 0; j < context.lengthValue("DescribeWarningResponse.Warnings["+ i +"].Details.Length"); j++) {
Detail detail = new Detail();
List<DetailItem> detailItems = new ArrayList<DetailItem>();
for (int k = 0; k < context.lengthValue("DescribeWarningResponse.Warnings["+ i +"].Details["+ j +"].DetailItems.Length"); k++) {
DetailItem detailItem = new DetailItem();
detailItem.setName(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].Details["+ j +"].DetailItems["+ k +"].name"));
detailItem.setValue(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].Details["+ j +"].DetailItems["+ k +"].value"));
detailItem.setType(context.stringValue("DescribeWarningResponse.Warnings["+ i +"].Details["+ j +"].DetailItems["+ k +"].type"));
detailItems.add(detailItem);
}
detail.setDetailItems(detailItems);
details.add(detail);
}
warning.setDetails(details);
warnings.add(warning);
}
describeWarningResponse.setWarnings(warnings);
return describeWarningResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWebLockBindListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockBindListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockBindListResponse.Bind;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWebLockBindListResponseUnmarshaller {
public static DescribeWebLockBindListResponse unmarshall(DescribeWebLockBindListResponse describeWebLockBindListResponse, UnmarshallerContext context) {
describeWebLockBindListResponse.setRequestId(context.stringValue("DescribeWebLockBindListResponse.RequestId"));
describeWebLockBindListResponse.setPageSize(context.integerValue("DescribeWebLockBindListResponse.PageSize"));
describeWebLockBindListResponse.setCurrentPage(context.integerValue("DescribeWebLockBindListResponse.CurrentPage"));
describeWebLockBindListResponse.setTotalCount(context.integerValue("DescribeWebLockBindListResponse.TotalCount"));
List<Bind> bindList = new ArrayList<Bind>();
for (int i = 0; i < context.lengthValue("DescribeWebLockBindListResponse.BindList.Length"); i++) {
Bind bind = new Bind();
bind.setUuid(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].Uuid"));
bind.setInstanceName(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].InstanceName"));
bind.setInternetIp(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].InternetIp"));
bind.setIntranetIp(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].IntranetIp"));
bind.setOs(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].Os"));
bind.setDirCount(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].DirCount"));
bind.setServiceStatus(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].ServiceStatus"));
bind.setServiceCode(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].ServiceCode"));
bind.setServiceDetail(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].ServiceDetail"));
bind.setStatus(context.stringValue("DescribeWebLockBindListResponse.BindList["+ i +"].Status"));
bindList.add(bind);
}
describeWebLockBindListResponse.setBindList(bindList);
return describeWebLockBindListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWebLockConfigListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockConfigListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockConfigListResponse.ConfigInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWebLockConfigListResponseUnmarshaller {
public static DescribeWebLockConfigListResponse unmarshall(DescribeWebLockConfigListResponse describeWebLockConfigListResponse, UnmarshallerContext context) {
describeWebLockConfigListResponse.setRequestId(context.stringValue("DescribeWebLockConfigListResponse.RequestId"));
describeWebLockConfigListResponse.setTotalCount(context.integerValue("DescribeWebLockConfigListResponse.TotalCount"));
List<ConfigInfo> configList = new ArrayList<ConfigInfo>();
for (int i = 0; i < context.lengthValue("DescribeWebLockConfigListResponse.ConfigList.Length"); i++) {
ConfigInfo configInfo = new ConfigInfo();
configInfo.setId(context.stringValue("DescribeWebLockConfigListResponse.ConfigList["+ i +"].Id"));
configInfo.setUuid(context.stringValue("DescribeWebLockConfigListResponse.ConfigList["+ i +"].Uuid"));
configInfo.setDir(context.stringValue("DescribeWebLockConfigListResponse.ConfigList["+ i +"].Dir"));
configInfo.setExclusiveDir(context.stringValue("DescribeWebLockConfigListResponse.ConfigList["+ i +"].ExclusiveDir"));
configInfo.setExclusiveFileType(context.stringValue("DescribeWebLockConfigListResponse.ConfigList["+ i +"].ExclusiveFileType"));
configInfo.setLocalBackupDir(context.stringValue("DescribeWebLockConfigListResponse.ConfigList["+ i +"].LocalBackupDir"));
configList.add(configInfo);
}
describeWebLockConfigListResponse.setConfigList(configList);
return describeWebLockConfigListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWebLockEventsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockEventsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockEventsResponse.EventInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWebLockEventsResponseUnmarshaller {
public static DescribeWebLockEventsResponse unmarshall(DescribeWebLockEventsResponse describeWebLockEventsResponse, UnmarshallerContext context) {
describeWebLockEventsResponse.setRequestId(context.stringValue("DescribeWebLockEventsResponse.RequestId"));
describeWebLockEventsResponse.setCurrentPage(context.integerValue("DescribeWebLockEventsResponse.CurrentPage"));
describeWebLockEventsResponse.setPageSize(context.integerValue("DescribeWebLockEventsResponse.PageSize"));
describeWebLockEventsResponse.setTotalCount(context.integerValue("DescribeWebLockEventsResponse.TotalCount"));
List<EventInfo> eventList = new ArrayList<EventInfo>();
for (int i = 0; i < context.lengthValue("DescribeWebLockEventsResponse.EventList.Length"); i++) {
EventInfo eventInfo = new EventInfo();
eventInfo.setUuid(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].Uuid"));
eventInfo.setIp(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].Ip"));
eventInfo.setInternetIp(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].InternetIp"));
eventInfo.setIntranetIp(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].IntranetIp"));
eventInfo.setInstanceName(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].InstanceName"));
eventInfo.setEventType(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].EventType"));
eventInfo.setEventName(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].EventName"));
eventInfo.setLevel(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].Level"));
eventInfo.setStatus(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].Status"));
eventInfo.setGmtEvent(context.longValue("DescribeWebLockEventsResponse.EventList["+ i +"].GmtEvent"));
eventInfo.setPath(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].Path"));
eventInfo.setSolution(context.stringValue("DescribeWebLockEventsResponse.EventList["+ i +"].Solution"));
eventList.add(eventInfo);
}
describeWebLockEventsResponse.setEventList(eventList);
return describeWebLockEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWebLockMachineListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockMachineListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockMachineListResponse.MachineInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWebLockMachineListResponseUnmarshaller {
public static DescribeWebLockMachineListResponse unmarshall(DescribeWebLockMachineListResponse describeWebLockMachineListResponse, UnmarshallerContext context) {
describeWebLockMachineListResponse.setRequestId(context.stringValue("DescribeWebLockMachineListResponse.RequestId"));
describeWebLockMachineListResponse.setTotalCount(context.integerValue("DescribeWebLockMachineListResponse.TotalCount"));
List<MachineInfo> machineList = new ArrayList<MachineInfo>();
for (int i = 0; i < context.lengthValue("DescribeWebLockMachineListResponse.MachineList.Length"); i++) {
MachineInfo machineInfo = new MachineInfo();
machineInfo.setUuid(context.stringValue("DescribeWebLockMachineListResponse.MachineList["+ i +"].Uuid"));
machineInfo.setInternetIp(context.stringValue("DescribeWebLockMachineListResponse.MachineList["+ i +"].InternetIp"));
machineInfo.setIntranetIp(context.stringValue("DescribeWebLockMachineListResponse.MachineList["+ i +"].IntranetIp"));
machineInfo.setInstanceId(context.stringValue("DescribeWebLockMachineListResponse.MachineList["+ i +"].InstanceId"));
machineInfo.setInstanceName(context.stringValue("DescribeWebLockMachineListResponse.MachineList["+ i +"].InstanceName"));
machineInfo.setStatus(context.stringValue("DescribeWebLockMachineListResponse.MachineList["+ i +"].Status"));
machineList.add(machineInfo);
}
describeWebLockMachineListResponse.setMachineList(machineList);
return describeWebLockMachineListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWebLockStatusResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeWebLockStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWebLockStatusResponseUnmarshaller {
public static DescribeWebLockStatusResponse unmarshall(DescribeWebLockStatusResponse describeWebLockStatusResponse, UnmarshallerContext context) {
describeWebLockStatusResponse.setRequestId(context.stringValue("DescribeWebLockStatusResponse.RequestId"));
describeWebLockStatusResponse.setAuthCount(context.integerValue("DescribeWebLockStatusResponse.AuthCount"));
describeWebLockStatusResponse.setBindCount(context.integerValue("DescribeWebLockStatusResponse.BindCount"));
describeWebLockStatusResponse.setExpireTime(context.longValue("DescribeWebLockStatusResponse.ExpireTime"));
return describeWebLockStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWebshellResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWebshellResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWebshellResponse.WebshellListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWebshellResponseUnmarshaller {
public static DescribeWebshellResponse unmarshall(DescribeWebshellResponse describeWebshellResponse, UnmarshallerContext context) {
describeWebshellResponse.setRequestId(context.stringValue("DescribeWebshellResponse.RequestId"));
List<WebshellListItem> webshellList = new ArrayList<WebshellListItem>();
for (int i = 0; i < context.lengthValue("DescribeWebshellResponse.WebshellList.Length"); i++) {
WebshellListItem webshellListItem = new WebshellListItem();
webshellListItem.setOs(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].Os"));
webshellListItem.setInstanceName(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].InstanceName"));
webshellListItem.setGroupId(context.longValue("DescribeWebshellResponse.WebshellList["+ i +"].GroupId"));
webshellListItem.setIp(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].Ip"));
webshellListItem.setUuid(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].Uuid"));
webshellListItem.setFoundTime(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].FoundTime"));
webshellListItem.setInstanceId(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].InstanceId"));
webshellListItem.setTrojanType(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].TrojanType"));
webshellListItem.setFirstFoundTime(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].FirstFoundTime"));
webshellListItem.setTrojanSize(context.longValue("DescribeWebshellResponse.WebshellList["+ i +"].TrojanSize"));
webshellListItem.setDomain(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].Domain"));
webshellListItem.setTrojanPath(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].TrojanPath"));
webshellListItem.setRegion(context.stringValue("DescribeWebshellResponse.WebshellList["+ i +"].Region"));
webshellListItem.setStatus(context.integerValue("DescribeWebshellResponse.WebshellList["+ i +"].Status"));
webshellList.add(webshellListItem);
}
describeWebshellResponse.setWebshellList(webshellList);
return describeWebshellResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListAssetResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListAssetResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListAssetResponse.Asset;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListAssetResponseUnmarshaller {
public static DescribeWhiteListAssetResponse unmarshall(DescribeWhiteListAssetResponse describeWhiteListAssetResponse, UnmarshallerContext context) {
describeWhiteListAssetResponse.setRequestId(context.stringValue("DescribeWhiteListAssetResponse.RequestId"));
List<Asset> assets = new ArrayList<Asset>();
for (int i = 0; i < context.lengthValue("DescribeWhiteListAssetResponse.Assets.Length"); i++) {
Asset asset = new Asset();
asset.setId(context.longValue("DescribeWhiteListAssetResponse.Assets["+ i +"].Id"));
asset.setUuid(context.stringValue("DescribeWhiteListAssetResponse.Assets["+ i +"].Uuid"));
asset.setGroupId(context.longValue("DescribeWhiteListAssetResponse.Assets["+ i +"].GroupId"));
asset.setMachineName(context.stringValue("DescribeWhiteListAssetResponse.Assets["+ i +"].MachineName"));
asset.setMachineIp(context.stringValue("DescribeWhiteListAssetResponse.Assets["+ i +"].MachineIp"));
asset.setSelected(context.integerValue("DescribeWhiteListAssetResponse.Assets["+ i +"].Selected"));
asset.setAllowSelected(context.integerValue("DescribeWhiteListAssetResponse.Assets["+ i +"].AllowSelected"));
assets.add(asset);
}
describeWhiteListAssetResponse.setAssets(assets);
return describeWhiteListAssetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListAuthorizeResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListAuthorizeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListAuthorizeResponseUnmarshaller {
public static DescribeWhiteListAuthorizeResponse unmarshall(DescribeWhiteListAuthorizeResponse describeWhiteListAuthorizeResponse, UnmarshallerContext context) {
describeWhiteListAuthorizeResponse.setRequestId(context.stringValue("DescribeWhiteListAuthorizeResponse.RequestId"));
describeWhiteListAuthorizeResponse.setAvailableAuthorizeNum(context.integerValue("DescribeWhiteListAuthorizeResponse.AvailableAuthorizeNum"));
return describeWhiteListAuthorizeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListEffectiveAssetsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListEffectiveAssetsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListEffectiveAssetsResponse.Asset;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListEffectiveAssetsResponseUnmarshaller {
public static DescribeWhiteListEffectiveAssetsResponse unmarshall(DescribeWhiteListEffectiveAssetsResponse describeWhiteListEffectiveAssetsResponse, UnmarshallerContext context) {
describeWhiteListEffectiveAssetsResponse.setRequestId(context.stringValue("DescribeWhiteListEffectiveAssetsResponse.RequestId"));
describeWhiteListEffectiveAssetsResponse.setCount(context.integerValue("DescribeWhiteListEffectiveAssetsResponse.Count"));
describeWhiteListEffectiveAssetsResponse.setPageSize(context.integerValue("DescribeWhiteListEffectiveAssetsResponse.PageSize"));
describeWhiteListEffectiveAssetsResponse.setTotalCount(context.integerValue("DescribeWhiteListEffectiveAssetsResponse.TotalCount"));
describeWhiteListEffectiveAssetsResponse.setCurrentPage(context.integerValue("DescribeWhiteListEffectiveAssetsResponse.CurrentPage"));
List<Asset> assets = new ArrayList<Asset>();
for (int i = 0; i < context.lengthValue("DescribeWhiteListEffectiveAssetsResponse.Assets.Length"); i++) {
Asset asset = new Asset();
asset.setUuid(context.stringValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].Uuid"));
asset.setMachineName(context.stringValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].MachineName"));
asset.setInternetIp(context.stringValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].InternetIp"));
asset.setIntranetIp(context.stringValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].IntranetIp"));
asset.setStrategyId(context.longValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].StrategyId"));
asset.setStrategyName(context.stringValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].StrategyName"));
asset.setSuspiciousEventCount(context.integerValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].SuspiciousEventCount"));
asset.setProcessMethod(context.integerValue("DescribeWhiteListEffectiveAssetsResponse.Assets["+ i +"].ProcessMethod"));
assets.add(asset);
}
describeWhiteListEffectiveAssetsResponse.setAssets(assets);
return describeWhiteListEffectiveAssetsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListProcessResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListProcessResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListProcessResponse.Process;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListProcessResponseUnmarshaller {
public static DescribeWhiteListProcessResponse unmarshall(DescribeWhiteListProcessResponse describeWhiteListProcessResponse, UnmarshallerContext context) {
describeWhiteListProcessResponse.setRequestId(context.stringValue("DescribeWhiteListProcessResponse.RequestId"));
describeWhiteListProcessResponse.setCount(context.integerValue("DescribeWhiteListProcessResponse.Count"));
describeWhiteListProcessResponse.setPageSize(context.integerValue("DescribeWhiteListProcessResponse.PageSize"));
describeWhiteListProcessResponse.setTotalCount(context.integerValue("DescribeWhiteListProcessResponse.TotalCount"));
describeWhiteListProcessResponse.setCurrentPage(context.integerValue("DescribeWhiteListProcessResponse.CurrentPage"));
List<Process> processes = new ArrayList<Process>();
for (int i = 0; i < context.lengthValue("DescribeWhiteListProcessResponse.Processes.Length"); i++) {
Process process = new Process();
process.setId(context.longValue("DescribeWhiteListProcessResponse.Processes["+ i +"].Id"));
process.setProcessId(context.integerValue("DescribeWhiteListProcessResponse.Processes["+ i +"].ProcessId"));
process.setProcessName(context.stringValue("DescribeWhiteListProcessResponse.Processes["+ i +"].ProcessName"));
process.setFilePath(context.stringValue("DescribeWhiteListProcessResponse.Processes["+ i +"].FilePath"));
process.setMd5(context.stringValue("DescribeWhiteListProcessResponse.Processes["+ i +"].Md5"));
process.setLevel(context.integerValue("DescribeWhiteListProcessResponse.Processes["+ i +"].Level"));
process.setProcessType(context.integerValue("DescribeWhiteListProcessResponse.Processes["+ i +"].ProcessType"));
process.setStatus(context.integerValue("DescribeWhiteListProcessResponse.Processes["+ i +"].Status"));
processes.add(process);
}
describeWhiteListProcessResponse.setProcesses(processes);
return describeWhiteListProcessResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListStrategyCountResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListStrategyCountResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListStrategyCountResponseUnmarshaller {
public static DescribeWhiteListStrategyCountResponse unmarshall(DescribeWhiteListStrategyCountResponse describeWhiteListStrategyCountResponse, UnmarshallerContext context) {
describeWhiteListStrategyCountResponse.setRequestId(context.stringValue("DescribeWhiteListStrategyCountResponse.RequestId"));
describeWhiteListStrategyCountResponse.setStrategyCount(context.integerValue("DescribeWhiteListStrategyCountResponse.StrategyCount"));
return describeWhiteListStrategyCountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListStrategyListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListStrategyListResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListStrategyListResponse.Strategy;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListStrategyListResponseUnmarshaller {
public static DescribeWhiteListStrategyListResponse unmarshall(DescribeWhiteListStrategyListResponse describeWhiteListStrategyListResponse, UnmarshallerContext context) {
describeWhiteListStrategyListResponse.setRequestId(context.stringValue("DescribeWhiteListStrategyListResponse.RequestId"));
List<Strategy> strategies = new ArrayList<Strategy>();
for (int i = 0; i < context.lengthValue("DescribeWhiteListStrategyListResponse.Strategies.Length"); i++) {
Strategy strategy = new Strategy();
strategy.setStrategyId(context.longValue("DescribeWhiteListStrategyListResponse.Strategies["+ i +"].StrategyId"));
strategy.setStrategyName(context.stringValue("DescribeWhiteListStrategyListResponse.Strategies["+ i +"].StrategyName"));
strategy.setStudyTime(context.integerValue("DescribeWhiteListStrategyListResponse.Strategies["+ i +"].StudyTime"));
strategy.setStatus(context.integerValue("DescribeWhiteListStrategyListResponse.Strategies["+ i +"].Status"));
strategies.add(strategy);
}
describeWhiteListStrategyListResponse.setStrategies(strategies);
return describeWhiteListStrategyListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListStrategyStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListStrategyStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListStrategyStatisticsResponse.Strategy;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListStrategyStatisticsResponseUnmarshaller {
public static DescribeWhiteListStrategyStatisticsResponse unmarshall(DescribeWhiteListStrategyStatisticsResponse describeWhiteListStrategyStatisticsResponse, UnmarshallerContext context) {
describeWhiteListStrategyStatisticsResponse.setRequestId(context.stringValue("DescribeWhiteListStrategyStatisticsResponse.RequestId"));
describeWhiteListStrategyStatisticsResponse.setCount(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Count"));
describeWhiteListStrategyStatisticsResponse.setPageSize(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.PageSize"));
describeWhiteListStrategyStatisticsResponse.setTotalCount(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.TotalCount"));
describeWhiteListStrategyStatisticsResponse.setCurrentPage(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.CurrentPage"));
List<Strategy> strategies = new ArrayList<Strategy>();
for (int i = 0; i < context.lengthValue("DescribeWhiteListStrategyStatisticsResponse.Strategies.Length"); i++) {
Strategy strategy = new Strategy();
strategy.setStrategyId(context.longValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].StrategyId"));
strategy.setStrategyName(context.stringValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].StrategyName"));
strategy.setStudyTime(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].StudyTime"));
strategy.setAssetCount(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].AssetCount"));
strategy.setStatus(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].Status"));
strategy.setTrustProcCount(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].TrustProcCount"));
strategy.setSuspiciousProcCount(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].SuspiciousProcCount"));
strategy.setVirusProcCount(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].VirusProcCount"));
strategy.setProgress(context.integerValue("DescribeWhiteListStrategyStatisticsResponse.Strategies["+ i +"].Progress"));
strategies.add(strategy);
}
describeWhiteListStrategyStatisticsResponse.setStrategies(strategies);
return describeWhiteListStrategyStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeWhiteListStrategyUuidCountResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeWhiteListStrategyUuidCountResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeWhiteListStrategyUuidCountResponseUnmarshaller {
public static DescribeWhiteListStrategyUuidCountResponse unmarshall(DescribeWhiteListStrategyUuidCountResponse describeWhiteListStrategyUuidCountResponse, UnmarshallerContext context) {
describeWhiteListStrategyUuidCountResponse.setRequestId(context.stringValue("DescribeWhiteListStrategyUuidCountResponse.RequestId"));
describeWhiteListStrategyUuidCountResponse.setUuidCount(context.integerValue("DescribeWhiteListStrategyUuidCountResponse.UuidCount"));
return describeWhiteListStrategyUuidCountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribeYesterdayStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.DescribeYesterdayStatisticsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeYesterdayStatisticsResponseUnmarshaller {
public static DescribeYesterdayStatisticsResponse unmarshall(DescribeYesterdayStatisticsResponse describeYesterdayStatisticsResponse, UnmarshallerContext context) {
describeYesterdayStatisticsResponse.setRequestId(context.stringValue("DescribeYesterdayStatisticsResponse.RequestId"));
describeYesterdayStatisticsResponse.setTotalCount(context.integerValue("DescribeYesterdayStatisticsResponse.TotalCount"));
describeYesterdayStatisticsResponse.setNewRiskCheckCount(context.integerValue("DescribeYesterdayStatisticsResponse.NewRiskCheckCount"));
describeYesterdayStatisticsResponse.setNewVulCount(context.integerValue("DescribeYesterdayStatisticsResponse.NewVulCount"));
describeYesterdayStatisticsResponse.setNewHealthCheckCount(context.integerValue("DescribeYesterdayStatisticsResponse.NewHealthCheckCount"));
describeYesterdayStatisticsResponse.setNewSuspiciousCount(context.integerValue("DescribeYesterdayStatisticsResponse.NewSuspiciousCount"));
return describeYesterdayStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DescribesummaryResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DescribesummaryResponse;
import com.aliyuncs.aegis.model.v20161111.DescribesummaryResponse.WarningSummary;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribesummaryResponseUnmarshaller {
public static DescribesummaryResponse unmarshall(DescribesummaryResponse describesummaryResponse, UnmarshallerContext context) {
describesummaryResponse.setRequestId(context.stringValue("DescribesummaryResponse.RequestId"));
describesummaryResponse.setCount(context.integerValue("DescribesummaryResponse.Count"));
describesummaryResponse.setPageSize(context.integerValue("DescribesummaryResponse.PageSize"));
describesummaryResponse.setTotalCount(context.integerValue("DescribesummaryResponse.TotalCount"));
describesummaryResponse.setCurrentPage(context.integerValue("DescribesummaryResponse.CurrentPage"));
List<WarningSummary> warningSummarys = new ArrayList<WarningSummary>();
for (int i = 0; i < context.lengthValue("DescribesummaryResponse.WarningSummarys.Length"); i++) {
WarningSummary warningSummary = new WarningSummary();
warningSummary.setRiskId(context.longValue("DescribesummaryResponse.WarningSummarys["+ i +"].RiskId"));
warningSummary.setRiskName(context.stringValue("DescribesummaryResponse.WarningSummarys["+ i +"].RiskName"));
warningSummary.setLevel(context.stringValue("DescribesummaryResponse.WarningSummarys["+ i +"].Level"));
warningSummary.setTypeAlias(context.stringValue("DescribesummaryResponse.WarningSummarys["+ i +"].TypeAlias"));
warningSummary.setSubTypeAlias(context.stringValue("DescribesummaryResponse.WarningSummarys["+ i +"].SubTypeAlias"));
warningSummary.setLastFoundTime(context.stringValue("DescribesummaryResponse.WarningSummarys["+ i +"].LastFoundTime"));
warningSummary.setPendingCount(context.integerValue("DescribesummaryResponse.WarningSummarys["+ i +"].PendingCount"));
warningSummary.setTotalCount(context.integerValue("DescribesummaryResponse.WarningSummarys["+ i +"].TotalCount"));
warningSummary.setRiskDetail(context.stringValue("DescribesummaryResponse.WarningSummarys["+ i +"].RiskDetail"));
warningSummarys.add(warningSummary);
}
describesummaryResponse.setWarningSummarys(warningSummarys);
return describesummaryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/DownloadLogResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.DownloadLogResponse;
import com.aliyuncs.aegis.model.v20161111.DownloadLogResponse.StackTraceItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DownloadLogResponseUnmarshaller {
public static DownloadLogResponse unmarshall(DownloadLogResponse downloadLogResponse, UnmarshallerContext context) {
downloadLogResponse.setRequestId(context.stringValue("DownloadLogResponse.RequestId"));
List<String> suppressed = new ArrayList<String>();
for (int i = 0; i < context.lengthValue("DownloadLogResponse.Suppressed.Length"); i++) {
suppressed.add(context.stringValue("DownloadLogResponse.Suppressed["+ i +"]"));
}
downloadLogResponse.setSuppressed(suppressed);
List<StackTraceItem> stackTrace = new ArrayList<StackTraceItem>();
for (int i = 0; i < context.lengthValue("DownloadLogResponse.StackTrace.Length"); i++) {
StackTraceItem stackTraceItem = new StackTraceItem();
stackTraceItem.setFileName(context.stringValue("DownloadLogResponse.StackTrace["+ i +"].FileName"));
stackTraceItem.setNativeMethod(context.booleanValue("DownloadLogResponse.StackTrace["+ i +"].NativeMethod"));
stackTraceItem.setMethodName(context.stringValue("DownloadLogResponse.StackTrace["+ i +"].MethodName"));
stackTraceItem.setClassName(context.stringValue("DownloadLogResponse.StackTrace["+ i +"].ClassName"));
stackTraceItem.setLineNumber(context.integerValue("DownloadLogResponse.StackTrace["+ i +"].LineNumber"));
stackTrace.add(stackTraceItem);
}
downloadLogResponse.setStackTrace(stackTrace);
return downloadLogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ExecStrategyResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ExecStrategyResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ExecStrategyResponseUnmarshaller {
public static ExecStrategyResponse unmarshall(ExecStrategyResponse execStrategyResponse, UnmarshallerContext context) {
execStrategyResponse.setRequestId(context.stringValue("ExecStrategyResponse.RequestId"));
return execStrategyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ExecuteRuleEngineActualTimeResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ExecuteRuleEngineActualTimeResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ExecuteRuleEngineActualTimeResponseUnmarshaller {
public static ExecuteRuleEngineActualTimeResponse unmarshall(ExecuteRuleEngineActualTimeResponse executeRuleEngineActualTimeResponse, UnmarshallerContext context) {
executeRuleEngineActualTimeResponse.setRequestId(context.stringValue("ExecuteRuleEngineActualTimeResponse.RequestId"));
executeRuleEngineActualTimeResponse.setExecResult(context.stringValue("ExecuteRuleEngineActualTimeResponse.ExecResult"));
return executeRuleEngineActualTimeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ExportSuspEventsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ExportSuspEventsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ExportSuspEventsResponseUnmarshaller {
public static ExportSuspEventsResponse unmarshall(ExportSuspEventsResponse exportSuspEventsResponse, UnmarshallerContext context) {
exportSuspEventsResponse.setRequestId(context.stringValue("ExportSuspEventsResponse.RequestId"));
exportSuspEventsResponse.setFileName(context.integerValue("ExportSuspEventsResponse.FileName"));
exportSuspEventsResponse.setId(context.integerValue("ExportSuspEventsResponse.Id"));
return exportSuspEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ExportVulResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ExportVulResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ExportVulResponseUnmarshaller {
public static ExportVulResponse unmarshall(ExportVulResponse exportVulResponse, UnmarshallerContext context) {
exportVulResponse.setRequestId(context.stringValue("ExportVulResponse.RequestId"));
exportVulResponse.setId(context.longValue("ExportVulResponse.Id"));
exportVulResponse.setFileName(context.stringValue("ExportVulResponse.FileName"));
exportVulResponse.setCurrentCount(context.integerValue("ExportVulResponse.CurrentCount"));
exportVulResponse.setTotalCount(context.integerValue("ExportVulResponse.TotalCount"));
exportVulResponse.setProgress(context.integerValue("ExportVulResponse.Progress"));
exportVulResponse.setExportStatus(context.stringValue("ExportVulResponse.ExportStatus"));
exportVulResponse.setMessage(context.stringValue("ExportVulResponse.Message"));
exportVulResponse.setLink(context.stringValue("ExportVulResponse.Link"));
return exportVulResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ExportWarningResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ExportWarningResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ExportWarningResponseUnmarshaller {
public static ExportWarningResponse unmarshall(ExportWarningResponse exportWarningResponse, UnmarshallerContext context) {
exportWarningResponse.setRequestId(context.stringValue("ExportWarningResponse.RequestId"));
exportWarningResponse.setId(context.longValue("ExportWarningResponse.Id"));
exportWarningResponse.setFileName(context.stringValue("ExportWarningResponse.FileName"));
return exportWarningResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/GetAccountStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.GetAccountStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.GetAccountStatisticsResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAccountStatisticsResponseUnmarshaller {
public static GetAccountStatisticsResponse unmarshall(GetAccountStatisticsResponse getAccountStatisticsResponse, UnmarshallerContext context) {
getAccountStatisticsResponse.setRequestId(context.stringValue("GetAccountStatisticsResponse.requestId"));
getAccountStatisticsResponse.setCode(context.stringValue("GetAccountStatisticsResponse.Code"));
getAccountStatisticsResponse.setSuccess(context.booleanValue("GetAccountStatisticsResponse.Success"));
getAccountStatisticsResponse.setMessage(context.stringValue("GetAccountStatisticsResponse.Message"));
Data data = new Data();
data.setRemoteLogin(context.integerValue("GetAccountStatisticsResponse.Data.RemoteLogin"));
data.setCrackSuccess(context.integerValue("GetAccountStatisticsResponse.Data.CrackSuccess"));
getAccountStatisticsResponse.setData(data);
return getAccountStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/GetCrackStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.GetCrackStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.GetCrackStatisticsResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCrackStatisticsResponseUnmarshaller {
public static GetCrackStatisticsResponse unmarshall(GetCrackStatisticsResponse getCrackStatisticsResponse, UnmarshallerContext context) {
getCrackStatisticsResponse.setRequestId(context.stringValue("GetCrackStatisticsResponse.requestId"));
getCrackStatisticsResponse.setCode(context.stringValue("GetCrackStatisticsResponse.Code"));
getCrackStatisticsResponse.setSuccess(context.booleanValue("GetCrackStatisticsResponse.Success"));
getCrackStatisticsResponse.setMessage(context.stringValue("GetCrackStatisticsResponse.Message"));
Data data = new Data();
data.setIntercepted(context.integerValue("GetCrackStatisticsResponse.Data.Intercepted"));
getCrackStatisticsResponse.setData(data);
return getCrackStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/GetEntityListResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.GetEntityListResponse;
import com.aliyuncs.aegis.model.v20161111.GetEntityListResponse.Data;
import com.aliyuncs.aegis.model.v20161111.GetEntityListResponse.Data.Entity;
import com.aliyuncs.aegis.model.v20161111.GetEntityListResponse.Data.PageInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetEntityListResponseUnmarshaller {
public static GetEntityListResponse unmarshall(GetEntityListResponse getEntityListResponse, UnmarshallerContext context) {
getEntityListResponse.setRequestId(context.stringValue("GetEntityListResponse.requestId"));
getEntityListResponse.setCode(context.stringValue("GetEntityListResponse.Code"));
getEntityListResponse.setSuccess(context.booleanValue("GetEntityListResponse.Success"));
getEntityListResponse.setMessage(context.stringValue("GetEntityListResponse.Message"));
Data data = new Data();
PageInfo pageInfo = new PageInfo();
pageInfo.setCurrentPage(context.integerValue("GetEntityListResponse.Data.PageInfo.CurrentPage"));
pageInfo.setPageSize(context.integerValue("GetEntityListResponse.Data.PageInfo.PageSize"));
pageInfo.setTotalCount(context.integerValue("GetEntityListResponse.Data.PageInfo.TotalCount"));
pageInfo.setCount(context.integerValue("GetEntityListResponse.Data.PageInfo.Count"));
data.setPageInfo(pageInfo);
List<Entity> list = new ArrayList<Entity>();
for (int i = 0; i < context.lengthValue("GetEntityListResponse.Data.List.Length"); i++) {
Entity entity = new Entity();
entity.setUuid(context.stringValue("GetEntityListResponse.Data.List["+ i +"].Uuid"));
entity.setGroupId(context.longValue("GetEntityListResponse.Data.List["+ i +"].GroupId"));
entity.setIp(context.stringValue("GetEntityListResponse.Data.List["+ i +"].Ip"));
entity.setInstanceName(context.stringValue("GetEntityListResponse.Data.List["+ i +"].InstanceName"));
entity.setInstanceId(context.stringValue("GetEntityListResponse.Data.List["+ i +"].InstanceId"));
entity.setRegion(context.stringValue("GetEntityListResponse.Data.List["+ i +"].Region"));
entity.setOs(context.stringValue("GetEntityListResponse.Data.List["+ i +"].Os"));
entity.setFlag(context.stringValue("GetEntityListResponse.Data.List["+ i +"].Flag"));
entity.setBuyVersion(context.stringValue("GetEntityListResponse.Data.List["+ i +"].BuyVersion"));
entity.setAegisOnline(context.booleanValue("GetEntityListResponse.Data.List["+ i +"].AegisOnline"));
entity.setAegisVersion(context.stringValue("GetEntityListResponse.Data.List["+ i +"].aegisVersion"));
list.add(entity);
}
data.setList(list);
getEntityListResponse.setData(data);
return getEntityListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/GetStatisticsByUuidResponseUnmarshaller.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.aegis.transform.v20161111;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aegis.model.v20161111.GetStatisticsByUuidResponse;
import com.aliyuncs.aegis.model.v20161111.GetStatisticsByUuidResponse.Entity;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetStatisticsByUuidResponseUnmarshaller {
public static GetStatisticsByUuidResponse unmarshall(GetStatisticsByUuidResponse getStatisticsByUuidResponse, UnmarshallerContext context) {
getStatisticsByUuidResponse.setRequestId(context.stringValue("GetStatisticsByUuidResponse.requestId"));
getStatisticsByUuidResponse.setCode(context.stringValue("GetStatisticsByUuidResponse.Code"));
getStatisticsByUuidResponse.setSuccess(context.booleanValue("GetStatisticsByUuidResponse.Success"));
getStatisticsByUuidResponse.setMessage(context.stringValue("GetStatisticsByUuidResponse.Message"));
List<Entity> data = new ArrayList<Entity>();
for (int i = 0; i < context.lengthValue("GetStatisticsByUuidResponse.Data.Length"); i++) {
Entity entity = new Entity();
entity.setUuid(context.stringValue("GetStatisticsByUuidResponse.Data["+ i +"].Uuid"));
entity.setAccount(context.integerValue("GetStatisticsByUuidResponse.Data["+ i +"].Account"));
entity.setHealth(context.integerValue("GetStatisticsByUuidResponse.Data["+ i +"].Health"));
entity.setPatch(context.integerValue("GetStatisticsByUuidResponse.Data["+ i +"].Patch"));
entity.setTrojan(context.integerValue("GetStatisticsByUuidResponse.Data["+ i +"].Trojan"));
entity.setOnline(context.booleanValue("GetStatisticsByUuidResponse.Data["+ i +"].Online"));
data.add(entity);
}
getStatisticsByUuidResponse.setData(data);
return getStatisticsByUuidResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/GetStatisticsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.GetStatisticsResponse;
import com.aliyuncs.aegis.model.v20161111.GetStatisticsResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetStatisticsResponseUnmarshaller {
public static GetStatisticsResponse unmarshall(GetStatisticsResponse getStatisticsResponse, UnmarshallerContext context) {
getStatisticsResponse.setRequestId(context.stringValue("GetStatisticsResponse.requestId"));
getStatisticsResponse.setCode(context.stringValue("GetStatisticsResponse.Code"));
getStatisticsResponse.setSuccess(context.booleanValue("GetStatisticsResponse.Success"));
getStatisticsResponse.setMessage(context.stringValue("GetStatisticsResponse.Message"));
Data data = new Data();
data.setAccount(context.integerValue("GetStatisticsResponse.Data.Account"));
data.setHealth(context.integerValue("GetStatisticsResponse.Data.Health"));
data.setPatch(context.integerValue("GetStatisticsResponse.Data.Patch"));
data.setTrojan(context.integerValue("GetStatisticsResponse.Data.Trojan"));
getStatisticsResponse.setData(data);
return getStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/IgnoreHcCheckWarningsResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.IgnoreHcCheckWarningsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class IgnoreHcCheckWarningsResponseUnmarshaller {
public static IgnoreHcCheckWarningsResponse unmarshall(IgnoreHcCheckWarningsResponse ignoreHcCheckWarningsResponse, UnmarshallerContext context) {
ignoreHcCheckWarningsResponse.setRequestId(context.stringValue("IgnoreHcCheckWarningsResponse.RequestId"));
return ignoreHcCheckWarningsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ModifyAssetGroupResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ModifyAssetGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyAssetGroupResponseUnmarshaller {
public static ModifyAssetGroupResponse unmarshall(ModifyAssetGroupResponse modifyAssetGroupResponse, UnmarshallerContext context) {
modifyAssetGroupResponse.setRequestId(context.stringValue("ModifyAssetGroupResponse.RequestId"));
return modifyAssetGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ModifyAutoDelConfigResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ModifyAutoDelConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyAutoDelConfigResponseUnmarshaller {
public static ModifyAutoDelConfigResponse unmarshall(ModifyAutoDelConfigResponse modifyAutoDelConfigResponse, UnmarshallerContext context) {
modifyAutoDelConfigResponse.setRequestId(context.stringValue("ModifyAutoDelConfigResponse.RequestId"));
return modifyAutoDelConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ModifyBatchIgnoreVulResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ModifyBatchIgnoreVulResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyBatchIgnoreVulResponseUnmarshaller {
public static ModifyBatchIgnoreVulResponse unmarshall(ModifyBatchIgnoreVulResponse modifyBatchIgnoreVulResponse, UnmarshallerContext context) {
modifyBatchIgnoreVulResponse.setRequestId(context.stringValue("ModifyBatchIgnoreVulResponse.RequestId"));
return modifyBatchIgnoreVulResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ModifyClearLogstoreStorageResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ModifyClearLogstoreStorageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyClearLogstoreStorageResponseUnmarshaller {
public static ModifyClearLogstoreStorageResponse unmarshall(ModifyClearLogstoreStorageResponse modifyClearLogstoreStorageResponse, UnmarshallerContext context) {
modifyClearLogstoreStorageResponse.setRequestId(context.stringValue("ModifyClearLogstoreStorageResponse.RequestId"));
return modifyClearLogstoreStorageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ModifyConcernNecessityResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ModifyConcernNecessityResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyConcernNecessityResponseUnmarshaller {
public static ModifyConcernNecessityResponse unmarshall(ModifyConcernNecessityResponse modifyConcernNecessityResponse, UnmarshallerContext context) {
modifyConcernNecessityResponse.setRequestId(context.stringValue("ModifyConcernNecessityResponse.RequestId"));
return modifyConcernNecessityResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aegis/1.0.6/com/aliyuncs/aegis/transform/v20161111/ModifyEmgVulSubmitResponseUnmarshaller.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.aegis.transform.v20161111;
import com.aliyuncs.aegis.model.v20161111.ModifyEmgVulSubmitResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyEmgVulSubmitResponseUnmarshaller {
public static ModifyEmgVulSubmitResponse unmarshall(ModifyEmgVulSubmitResponse modifyEmgVulSubmitResponse, UnmarshallerContext context) {
modifyEmgVulSubmitResponse.setRequestId(context.stringValue("ModifyEmgVulSubmitResponse.RequestId"));
return modifyEmgVulSubmitResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.