Files
g.hnyhua.cn/TencentCloud/Billing/V20180709/Models/DescribeBillDetailRequest.cs
2026-02-07 15:48:27 +08:00

115 lines
4.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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
{
/// <summary>
/// 偏移量
/// </summary>
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
/// <summary>
/// 数量最大值为100
/// </summary>
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
/// <summary>
/// 周期类型byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
/// </summary>
[JsonProperty("PeriodType")]
public string PeriodType{ get; set; }
/// <summary>
/// 月份格式为yyyy-mmMonth和BeginTime&EndTime必传一个如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份最多可拉取24个月内的数据。
/// </summary>
[JsonProperty("Month")]
public string Month{ get; set; }
/// <summary>
/// 周期开始时间格式为Y-m-d H:i:sMonth和BeginTime&EndTime必传一个如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份最多可拉取24个月内的数据。(不支持跨月查询)
/// </summary>
[JsonProperty("BeginTime")]
public string BeginTime{ get; set; }
/// <summary>
/// 周期结束时间格式为Y-m-d H:i:sMonth和BeginTime&EndTime必传一个如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份最多可拉取24个月内的数据。不支持跨月查询
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 是否需要访问列表的总记录数,用于前端分页
/// 1-表示需要, 0-表示不需要
/// </summary>
[JsonProperty("NeedRecordNum")]
public long? NeedRecordNum{ get; set; }
/// <summary>
/// 查询指定产品信息
/// </summary>
[JsonProperty("ProductCode")]
public string ProductCode{ get; set; }
/// <summary>
/// 付费模式 prePay/postPay
/// </summary>
[JsonProperty("PayMode")]
public string PayMode{ get; set; }
/// <summary>
/// 查询指定资源信息
/// </summary>
[JsonProperty("ResourceId")]
public string ResourceId{ get; set; }
/// <summary>
/// 查询交易类型。如 按量计费日结,按量计费小时结 等
/// </summary>
[JsonProperty("ActionType")]
public string ActionType{ 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 + "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);
}
}
}