/* * 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.Billing.V20180709.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribeBillDetailRequest : AbstractModel { /// /// 偏移量 /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 数量,最大值为100 /// [JsonProperty("Limit")] public ulong? Limit{ get; set; } /// /// 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。 /// [JsonProperty("PeriodType")] public string PeriodType{ get; set; } /// /// 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。 /// [JsonProperty("Month")] public string Month{ get; set; } /// /// 周期开始时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询) /// [JsonProperty("BeginTime")] public string BeginTime{ get; set; } /// /// 周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询) /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 是否需要访问列表的总记录数,用于前端分页 /// 1-表示需要, 0-表示不需要 /// [JsonProperty("NeedRecordNum")] public long? NeedRecordNum{ get; set; } /// /// 查询指定产品信息 /// [JsonProperty("ProductCode")] public string ProductCode{ get; set; } /// /// 付费模式 prePay/postPay /// [JsonProperty("PayMode")] public string PayMode{ get; set; } /// /// 查询指定资源信息 /// [JsonProperty("ResourceId")] public string ResourceId{ get; set; } /// /// 查询交易类型。如 按量计费日结,按量计费小时结 等 /// [JsonProperty("ActionType")] public string ActionType{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); this.SetParamSimple(map, prefix + "PeriodType", this.PeriodType); this.SetParamSimple(map, prefix + "Month", this.Month); this.SetParamSimple(map, prefix + "BeginTime", this.BeginTime); this.SetParamSimple(map, prefix + "EndTime", this.EndTime); this.SetParamSimple(map, prefix + "NeedRecordNum", this.NeedRecordNum); this.SetParamSimple(map, prefix + "ProductCode", this.ProductCode); this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId); this.SetParamSimple(map, prefix + "ActionType", this.ActionType); } } }