aliyun-net-sdk-ecs/Ecs/Model/V20140526/DescribeRouteTablesResponse.cs (282 lines of code) (raw):
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
using System.Collections.Generic;
using Newtonsoft.Json;
using Aliyun.Acs.Core;
namespace Aliyun.Acs.Ecs.Model.V20140526
{
public class DescribeRouteTablesResponse : AcsResponse
{
private int? pageSize;
private string requestId;
private int? pageNumber;
private int? totalCount;
private List<DescribeRouteTables_RouteTable> routeTables;
public int? PageSize
{
get
{
return pageSize;
}
set
{
pageSize = value;
}
}
public string RequestId
{
get
{
return requestId;
}
set
{
requestId = value;
}
}
public int? PageNumber
{
get
{
return pageNumber;
}
set
{
pageNumber = value;
}
}
public int? TotalCount
{
get
{
return totalCount;
}
set
{
totalCount = value;
}
}
public List<DescribeRouteTables_RouteTable> RouteTables
{
get
{
return routeTables;
}
set
{
routeTables = value;
}
}
public class DescribeRouteTables_RouteTable
{
private string creationTime;
private string vRouterId;
private string routeTableId;
private string resourceGroupId;
private string routeTableType;
private List<DescribeRouteTables_RouteEntry> routeEntrys;
public string CreationTime
{
get
{
return creationTime;
}
set
{
creationTime = value;
}
}
public string VRouterId
{
get
{
return vRouterId;
}
set
{
vRouterId = value;
}
}
public string RouteTableId
{
get
{
return routeTableId;
}
set
{
routeTableId = value;
}
}
public string ResourceGroupId
{
get
{
return resourceGroupId;
}
set
{
resourceGroupId = value;
}
}
public string RouteTableType
{
get
{
return routeTableType;
}
set
{
routeTableType = value;
}
}
public List<DescribeRouteTables_RouteEntry> RouteEntrys
{
get
{
return routeEntrys;
}
set
{
routeEntrys = value;
}
}
public class DescribeRouteTables_RouteEntry
{
private string type;
private string status;
private string nextHopType;
private string destinationCidrBlock;
private string instanceId;
private string routeTableId;
private List<DescribeRouteTables_NextHop> nextHops;
public string Type
{
get
{
return type;
}
set
{
type = value;
}
}
public string Status
{
get
{
return status;
}
set
{
status = value;
}
}
public string NextHopType
{
get
{
return nextHopType;
}
set
{
nextHopType = value;
}
}
public string DestinationCidrBlock
{
get
{
return destinationCidrBlock;
}
set
{
destinationCidrBlock = value;
}
}
public string InstanceId
{
get
{
return instanceId;
}
set
{
instanceId = value;
}
}
public string RouteTableId
{
get
{
return routeTableId;
}
set
{
routeTableId = value;
}
}
public List<DescribeRouteTables_NextHop> NextHops
{
get
{
return nextHops;
}
set
{
nextHops = value;
}
}
public class DescribeRouteTables_NextHop
{
private int? weight;
private string nextHopId;
private string nextHopType;
private int? enabled;
public int? Weight
{
get
{
return weight;
}
set
{
weight = value;
}
}
public string NextHopId
{
get
{
return nextHopId;
}
set
{
nextHopId = value;
}
}
public string NextHopType
{
get
{
return nextHopType;
}
set
{
nextHopType = value;
}
}
public int? Enabled
{
get
{
return enabled;
}
set
{
enabled = value;
}
}
}
}
}
}
}