com.tencentcloudapi.csip.v20221121.models.DescribeCVMAssetsResponse Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.csip.v20221121.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeCVMAssetsResponse extends AbstractModel {
/**
* u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("Total")
@Expose
private Long Total;
/**
* u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("Data")
@Expose
private CVMAssetVO [] Data;
/**
* List of regions
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("RegionList")
@Expose
private FilterDataObject [] RegionList;
/**
* Protection status
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("DefenseStatusList")
@Expose
private FilterDataObject [] DefenseStatusList;
/**
* List of VPCs
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("VpcList")
@Expose
private FilterDataObject [] VpcList;
/**
* List of asset types
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("AssetTypeList")
@Expose
private FilterDataObject [] AssetTypeList;
/**
* List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("SystemTypeList")
@Expose
private FilterDataObject [] SystemTypeList;
/**
* List of IP types
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("IpTypeList")
@Expose
private FilterDataObject [] IpTypeList;
/**
* List of AppIds
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("AppIdList")
@Expose
private FilterDataObject [] AppIdList;
/**
* List of availability zones
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("ZoneList")
@Expose
private FilterDataObject [] ZoneList;
/**
* List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
*/
@SerializedName("OsList")
@Expose
private FilterDataObject [] OsList;
/**
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
* @return Total u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public Long getTotal() {
return this.Total;
}
/**
* Set u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
* @param Total u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setTotal(Long Total) {
this.Total = Total;
}
/**
* Get u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
* @return Data u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public CVMAssetVO [] getData() {
return this.Data;
}
/**
* Set u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
* @param Data u200c-
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setData(CVMAssetVO [] Data) {
this.Data = Data;
}
/**
* Get List of regions
Note: This field may return·null, indicating that no valid values can be obtained.
* @return RegionList List of regions
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getRegionList() {
return this.RegionList;
}
/**
* Set List of regions
Note: This field may return·null, indicating that no valid values can be obtained.
* @param RegionList List of regions
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setRegionList(FilterDataObject [] RegionList) {
this.RegionList = RegionList;
}
/**
* Get Protection status
Note: This field may return·null, indicating that no valid values can be obtained.
* @return DefenseStatusList Protection status
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getDefenseStatusList() {
return this.DefenseStatusList;
}
/**
* Set Protection status
Note: This field may return·null, indicating that no valid values can be obtained.
* @param DefenseStatusList Protection status
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setDefenseStatusList(FilterDataObject [] DefenseStatusList) {
this.DefenseStatusList = DefenseStatusList;
}
/**
* Get List of VPCs
Note: This field may return·null, indicating that no valid values can be obtained.
* @return VpcList List of VPCs
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getVpcList() {
return this.VpcList;
}
/**
* Set List of VPCs
Note: This field may return·null, indicating that no valid values can be obtained.
* @param VpcList List of VPCs
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setVpcList(FilterDataObject [] VpcList) {
this.VpcList = VpcList;
}
/**
* Get List of asset types
Note: This field may return·null, indicating that no valid values can be obtained.
* @return AssetTypeList List of asset types
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getAssetTypeList() {
return this.AssetTypeList;
}
/**
* Set List of asset types
Note: This field may return·null, indicating that no valid values can be obtained.
* @param AssetTypeList List of asset types
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setAssetTypeList(FilterDataObject [] AssetTypeList) {
this.AssetTypeList = AssetTypeList;
}
/**
* Get List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
* @return SystemTypeList List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getSystemTypeList() {
return this.SystemTypeList;
}
/**
* Set List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
* @param SystemTypeList List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setSystemTypeList(FilterDataObject [] SystemTypeList) {
this.SystemTypeList = SystemTypeList;
}
/**
* Get List of IP types
Note: This field may return·null, indicating that no valid values can be obtained.
* @return IpTypeList List of IP types
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getIpTypeList() {
return this.IpTypeList;
}
/**
* Set List of IP types
Note: This field may return·null, indicating that no valid values can be obtained.
* @param IpTypeList List of IP types
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setIpTypeList(FilterDataObject [] IpTypeList) {
this.IpTypeList = IpTypeList;
}
/**
* Get List of AppIds
Note: This field may return·null, indicating that no valid values can be obtained.
* @return AppIdList List of AppIds
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getAppIdList() {
return this.AppIdList;
}
/**
* Set List of AppIds
Note: This field may return·null, indicating that no valid values can be obtained.
* @param AppIdList List of AppIds
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setAppIdList(FilterDataObject [] AppIdList) {
this.AppIdList = AppIdList;
}
/**
* Get List of availability zones
Note: This field may return·null, indicating that no valid values can be obtained.
* @return ZoneList List of availability zones
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getZoneList() {
return this.ZoneList;
}
/**
* Set List of availability zones
Note: This field may return·null, indicating that no valid values can be obtained.
* @param ZoneList List of availability zones
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setZoneList(FilterDataObject [] ZoneList) {
this.ZoneList = ZoneList;
}
/**
* Get List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
* @return OsList List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public FilterDataObject [] getOsList() {
return this.OsList;
}
/**
* Set List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
* @param OsList List of operating systems
Note: This field may return·null, indicating that no valid values can be obtained.
*/
public void setOsList(FilterDataObject [] OsList) {
this.OsList = OsList;
}
/**
* Get The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @return RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @param RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeCVMAssetsResponse() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeCVMAssetsResponse(DescribeCVMAssetsResponse source) {
if (source.Total != null) {
this.Total = new Long(source.Total);
}
if (source.Data != null) {
this.Data = new CVMAssetVO[source.Data.length];
for (int i = 0; i < source.Data.length; i++) {
this.Data[i] = new CVMAssetVO(source.Data[i]);
}
}
if (source.RegionList != null) {
this.RegionList = new FilterDataObject[source.RegionList.length];
for (int i = 0; i < source.RegionList.length; i++) {
this.RegionList[i] = new FilterDataObject(source.RegionList[i]);
}
}
if (source.DefenseStatusList != null) {
this.DefenseStatusList = new FilterDataObject[source.DefenseStatusList.length];
for (int i = 0; i < source.DefenseStatusList.length; i++) {
this.DefenseStatusList[i] = new FilterDataObject(source.DefenseStatusList[i]);
}
}
if (source.VpcList != null) {
this.VpcList = new FilterDataObject[source.VpcList.length];
for (int i = 0; i < source.VpcList.length; i++) {
this.VpcList[i] = new FilterDataObject(source.VpcList[i]);
}
}
if (source.AssetTypeList != null) {
this.AssetTypeList = new FilterDataObject[source.AssetTypeList.length];
for (int i = 0; i < source.AssetTypeList.length; i++) {
this.AssetTypeList[i] = new FilterDataObject(source.AssetTypeList[i]);
}
}
if (source.SystemTypeList != null) {
this.SystemTypeList = new FilterDataObject[source.SystemTypeList.length];
for (int i = 0; i < source.SystemTypeList.length; i++) {
this.SystemTypeList[i] = new FilterDataObject(source.SystemTypeList[i]);
}
}
if (source.IpTypeList != null) {
this.IpTypeList = new FilterDataObject[source.IpTypeList.length];
for (int i = 0; i < source.IpTypeList.length; i++) {
this.IpTypeList[i] = new FilterDataObject(source.IpTypeList[i]);
}
}
if (source.AppIdList != null) {
this.AppIdList = new FilterDataObject[source.AppIdList.length];
for (int i = 0; i < source.AppIdList.length; i++) {
this.AppIdList[i] = new FilterDataObject(source.AppIdList[i]);
}
}
if (source.ZoneList != null) {
this.ZoneList = new FilterDataObject[source.ZoneList.length];
for (int i = 0; i < source.ZoneList.length; i++) {
this.ZoneList[i] = new FilterDataObject(source.ZoneList[i]);
}
}
if (source.OsList != null) {
this.OsList = new FilterDataObject[source.OsList.length];
for (int i = 0; i < source.OsList.length; i++) {
this.OsList[i] = new FilterDataObject(source.OsList[i]);
}
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Total", this.Total);
this.setParamArrayObj(map, prefix + "Data.", this.Data);
this.setParamArrayObj(map, prefix + "RegionList.", this.RegionList);
this.setParamArrayObj(map, prefix + "DefenseStatusList.", this.DefenseStatusList);
this.setParamArrayObj(map, prefix + "VpcList.", this.VpcList);
this.setParamArrayObj(map, prefix + "AssetTypeList.", this.AssetTypeList);
this.setParamArrayObj(map, prefix + "SystemTypeList.", this.SystemTypeList);
this.setParamArrayObj(map, prefix + "IpTypeList.", this.IpTypeList);
this.setParamArrayObj(map, prefix + "AppIdList.", this.AppIdList);
this.setParamArrayObj(map, prefix + "ZoneList.", this.ZoneList);
this.setParamArrayObj(map, prefix + "OsList.", this.OsList);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy