/*
* 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 DescribeCostDetailRequest : AbstractModel
{
///
/// 数量,最大值为100
///
[JsonProperty("Limit")]
public long? Limit{ get; set; }
///
/// 偏移量
///
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
///
/// 周期开始时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
///
[JsonProperty("BeginTime")]
public string BeginTime{ get; set; }
///
/// 周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
///
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
///
/// 是否需要访问列表的总记录数,用于前端分页
/// 1-表示需要, 0-表示不需要
///
[JsonProperty("NeedRecordNum")]
public ulong? NeedRecordNum{ get; set; }
///
/// 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
///
[JsonProperty("Month")]
public string Month{ 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; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Offset", this.Offset);
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 + "Month", this.Month);
this.SetParamSimple(map, prefix + "ProductCode", this.ProductCode);
this.SetParamSimple(map, prefix + "PayMode", this.PayMode);
this.SetParamSimple(map, prefix + "ResourceId", this.ResourceId);
}
}
}