93 lines
3.5 KiB
C#
93 lines
3.5 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 DescribeCostSummaryByResourceRequest : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 查询账单数据的用户UIN
|
||
/// </summary>
|
||
[JsonProperty("PayerUin")]
|
||
public string PayerUin{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 目前只支持传当月1号 00:00:00,且必须和EndTime为相同月份,不支持跨月查询,例 2018-09-01 00:00:00
|
||
/// </summary>
|
||
[JsonProperty("BeginTime")]
|
||
public string BeginTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 目前只支持传当月最后一天 23:59:59,且必须和BeginTime为相同月份,不支持跨月查询,例 2018-09-30 23:59:59
|
||
/// </summary>
|
||
[JsonProperty("EndTime")]
|
||
public string EndTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 每次获取数据量
|
||
/// </summary>
|
||
[JsonProperty("Limit")]
|
||
public ulong? Limit{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 偏移量
|
||
/// </summary>
|
||
[JsonProperty("Offset")]
|
||
public ulong? Offset{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否需要返回记录数量,0不需要,1需要,默认不需要
|
||
/// </summary>
|
||
[JsonProperty("NeedRecordNum")]
|
||
public ulong? NeedRecordNum{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否需要返回过滤条件,0不需要,1需要,默认不需要
|
||
/// </summary>
|
||
[JsonProperty("NeedConditionValue")]
|
||
public ulong? NeedConditionValue{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 过滤条件,只支持ResourceKeyword(资源关键字,支持资源id及资源名称模糊查询),ProjectIds(项目id),RegionIds(地域id),PayModes(付费模式,可选prePay和postPay),HideFreeCost(是否隐藏0元流水,可选0和1),OrderByCost(按费用排序规则,可选desc和asc)
|
||
/// </summary>
|
||
[JsonProperty("Conditions")]
|
||
public Conditions Conditions{ 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 + "PayerUin", this.PayerUin);
|
||
this.SetParamSimple(map, prefix + "BeginTime", this.BeginTime);
|
||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||
this.SetParamSimple(map, prefix + "NeedRecordNum", this.NeedRecordNum);
|
||
this.SetParamSimple(map, prefix + "NeedConditionValue", this.NeedConditionValue);
|
||
this.SetParamObj(map, prefix + "Conditions.", this.Conditions);
|
||
}
|
||
}
|
||
}
|
||
|