com.tencentcloudapi.csip.v20221121.models.DescribeSubnetAssetsResponse 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 DescribeSubnetAssetsResponse extends AbstractModel {
/**
* Data list
*/
@SerializedName("Data")
@Expose
private SubnetAsset [] Data;
/**
* Total number of results
*/
@SerializedName("TotalCount")
@Expose
private Long TotalCount;
/**
* List of regions
*/
@SerializedName("RegionList")
@Expose
private FilterDataObject [] RegionList;
/**
* List of VPCs
*/
@SerializedName("VpcList")
@Expose
private FilterDataObject [] VpcList;
/**
* List of AppIds
*/
@SerializedName("AppIdList")
@Expose
private FilterDataObject [] AppIdList;
/**
* List of availability zones
*/
@SerializedName("ZoneList")
@Expose
private FilterDataObject [] ZoneList;
/**
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get Data list
* @return Data Data list
*/
public SubnetAsset [] getData() {
return this.Data;
}
/**
* Set Data list
* @param Data Data list
*/
public void setData(SubnetAsset [] Data) {
this.Data = Data;
}
/**
* Get Total number of results
* @return TotalCount Total number of results
*/
public Long getTotalCount() {
return this.TotalCount;
}
/**
* Set Total number of results
* @param TotalCount Total number of results
*/
public void setTotalCount(Long TotalCount) {
this.TotalCount = TotalCount;
}
/**
* Get List of regions
* @return RegionList List of regions
*/
public FilterDataObject [] getRegionList() {
return this.RegionList;
}
/**
* Set List of regions
* @param RegionList List of regions
*/
public void setRegionList(FilterDataObject [] RegionList) {
this.RegionList = RegionList;
}
/**
* Get List of VPCs
* @return VpcList List of VPCs
*/
public FilterDataObject [] getVpcList() {
return this.VpcList;
}
/**
* Set List of VPCs
* @param VpcList List of VPCs
*/
public void setVpcList(FilterDataObject [] VpcList) {
this.VpcList = VpcList;
}
/**
* Get List of AppIds
* @return AppIdList List of AppIds
*/
public FilterDataObject [] getAppIdList() {
return this.AppIdList;
}
/**
* Set List of AppIds
* @param AppIdList List of AppIds
*/
public void setAppIdList(FilterDataObject [] AppIdList) {
this.AppIdList = AppIdList;
}
/**
* Get List of availability zones
* @return ZoneList List of availability zones
*/
public FilterDataObject [] getZoneList() {
return this.ZoneList;
}
/**
* Set List of availability zones
* @param ZoneList List of availability zones
*/
public void setZoneList(FilterDataObject [] ZoneList) {
this.ZoneList = ZoneList;
}
/**
* 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 DescribeSubnetAssetsResponse() {
}
/**
* 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 DescribeSubnetAssetsResponse(DescribeSubnetAssetsResponse source) {
if (source.Data != null) {
this.Data = new SubnetAsset[source.Data.length];
for (int i = 0; i < source.Data.length; i++) {
this.Data[i] = new SubnetAsset(source.Data[i]);
}
}
if (source.TotalCount != null) {
this.TotalCount = new Long(source.TotalCount);
}
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.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.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.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamArrayObj(map, prefix + "Data.", this.Data);
this.setParamSimple(map, prefix + "TotalCount", this.TotalCount);
this.setParamArrayObj(map, prefix + "RegionList.", this.RegionList);
this.setParamArrayObj(map, prefix + "VpcList.", this.VpcList);
this.setParamArrayObj(map, prefix + "AppIdList.", this.AppIdList);
this.setParamArrayObj(map, prefix + "ZoneList.", this.ZoneList);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy