/* * 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.Live.V20180801.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class LivePackageInfo : AbstractModel { /// /// 包 ID。 /// [JsonProperty("Id")] public string Id{ get; set; } /// /// 总量。 /// 注意:当为流量包时单位为字节。 /// 当为转码包时单位为分钟。 /// [JsonProperty("Total")] public long? Total{ get; set; } /// /// 使用量。 /// 注意:当为流量包时单位为字节。 /// 当为转码包时单位为分钟。 /// [JsonProperty("Used")] public long? Used{ get; set; } /// /// 剩余量。 /// 注意:当为流量包时单位为字节。 /// 当为转码包时单位为分钟。 /// [JsonProperty("Left")] public long? Left{ get; set; } /// /// 购买时间。 /// [JsonProperty("BuyTime")] public string BuyTime{ get; set; } /// /// 过期时间。 /// [JsonProperty("ExpireTime")] public string ExpireTime{ get; set; } /// /// 包类型,可选值: /// 0: 流量包。 /// 1: 普通转码包。 /// 2: 极速高清包。 /// [JsonProperty("Type")] public long? Type{ get; set; } /// /// 包状态,可选值: /// 0: 未使用。 /// 1: 使用中。 /// 2: 已过期。 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Id", this.Id); this.SetParamSimple(map, prefix + "Total", this.Total); this.SetParamSimple(map, prefix + "Used", this.Used); this.SetParamSimple(map, prefix + "Left", this.Left); this.SetParamSimple(map, prefix + "BuyTime", this.BuyTime); this.SetParamSimple(map, prefix + "ExpireTime", this.ExpireTime); this.SetParamSimple(map, prefix + "Type", this.Type); this.SetParamSimple(map, prefix + "Status", this.Status); } } }