Files
g.hnyhua.cn/TencentCloud/Vpc/V20170312/Models/BandwidthPackage.cs

93 lines
3.3 KiB
C#
Raw Normal View History

/*
* 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 BandwidthPackage : AbstractModel
{
/// <summary>
/// 带宽包唯一标识Id
/// </summary>
[JsonProperty("BandwidthPackageId")]
public string BandwidthPackageId{ get; set; }
/// <summary>
/// 带宽包类型,包括'BGP','SINGLEISP','ANYCAST'
/// </summary>
[JsonProperty("NetworkType")]
public string NetworkType{ get; set; }
/// <summary>
/// 带宽包计费类型,包括'TOP5_POSTPAID_BY_MONTH'和'PERCENT95_POSTPAID_BY_MONTH'
/// </summary>
[JsonProperty("ChargeType")]
public string ChargeType{ get; set; }
/// <summary>
/// 带宽包名称
/// </summary>
[JsonProperty("BandwidthPackageName")]
public string BandwidthPackageName{ get; set; }
/// <summary>
/// 带宽包创建时间。按照`ISO8601`标准表示,并且使用`UTC`时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 带宽包状态,包括'CREATING','CREATED','DELETING','DELETED'
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 带宽包资源信息
/// </summary>
[JsonProperty("ResourceSet")]
public Resource[] ResourceSet{ get; set; }
/// <summary>
/// 带宽包限速大小。单位Mbps-1表示不限速。
/// </summary>
[JsonProperty("Bandwidth")]
public long? Bandwidth{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "BandwidthPackageId", this.BandwidthPackageId);
this.SetParamSimple(map, prefix + "NetworkType", this.NetworkType);
this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType);
this.SetParamSimple(map, prefix + "BandwidthPackageName", this.BandwidthPackageName);
this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamArrayObj(map, prefix + "ResourceSet.", this.ResourceSet);
this.SetParamSimple(map, prefix + "Bandwidth", this.Bandwidth);
}
}
}