/*
* 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 DescribeBillResourceSummaryRequest : AbstractModel
{
///
/// 偏移量
///
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
///
/// 数量,最大值为1000
///
[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。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。
///
[JsonProperty("Month")]
public string Month{ get; set; }
///
/// 是否需要访问列表的总记录数,用于前端分页
/// 1-表示需要, 0-表示不需要
///
[JsonProperty("NeedRecordNum")]
public long? NeedRecordNum{ 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 + "NeedRecordNum", this.NeedRecordNum);
this.SetParamSimple(map, prefix + "ActionType", this.ActionType);
}
}
}