/* * Copyright (c) 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. */ namespace TencentCloud.Vpc.V20170312.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CcnRoute : AbstractModel { /// /// 路由策略ID /// [JsonProperty("RouteId")] public string RouteId{ get; set; } /// /// 目的端 /// [JsonProperty("DestinationCidrBlock")] public string DestinationCidrBlock{ get; set; } /// /// 下一跳类型(关联实例类型),所有类型:VPC、DIRECTCONNECT /// [JsonProperty("InstanceType")] public string InstanceType{ get; set; } /// /// 下一跳(关联实例) /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 下一跳名称(关联实例名称) /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 下一跳所属地域(关联实例所属地域) /// [JsonProperty("InstanceRegion")] public string InstanceRegion{ get; set; } /// /// 更新时间 /// [JsonProperty("UpdateTime")] public string UpdateTime{ get; set; } /// /// 路由是否启用 /// [JsonProperty("Enabled")] public bool? Enabled{ get; set; } /// /// 关联实例所属UIN(根账号) /// [JsonProperty("InstanceUin")] public string InstanceUin{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "RouteId", this.RouteId); this.SetParamSimple(map, prefix + "DestinationCidrBlock", this.DestinationCidrBlock); this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamSimple(map, prefix + "InstanceRegion", this.InstanceRegion); this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime); this.SetParamSimple(map, prefix + "Enabled", this.Enabled); this.SetParamSimple(map, prefix + "InstanceUin", this.InstanceUin); } } }