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