/* * 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 Conditions : AbstractModel { /// /// 只支持6和12两个值 /// [JsonProperty("TimeRange")] public ulong? TimeRange{ get; set; } /// /// 产品编码 /// [JsonProperty("BusinessCode")] public string BusinessCode{ get; set; } /// /// 项目ID /// [JsonProperty("ProjectId")] public long? ProjectId{ get; set; } /// /// 地域ID /// [JsonProperty("RegionId")] public long? RegionId{ get; set; } /// /// 付费模式,可选prePay和postPay /// [JsonProperty("PayMode")] public string PayMode{ get; set; } /// /// 资源关键字 /// [JsonProperty("ResourceKeyword")] public string ResourceKeyword{ get; set; } /// /// 产品编码 /// [JsonProperty("BusinessCodes")] public string[] BusinessCodes{ get; set; } /// /// 子产品编码 /// [JsonProperty("ProductCodes")] public string[] ProductCodes{ get; set; } /// /// 地域ID /// [JsonProperty("RegionIds")] public long?[] RegionIds{ get; set; } /// /// 项目ID /// [JsonProperty("ProjectIds")] public long?[] ProjectIds{ get; set; } /// /// 付费模式,可选prePay和postPay /// [JsonProperty("PayModes")] public string[] PayModes{ get; set; } /// /// 交易类型 /// [JsonProperty("ActionTypes")] public string[] ActionTypes{ get; set; } /// /// 是否隐藏0元流水 /// [JsonProperty("HideFreeCost")] public long? HideFreeCost{ get; set; } /// /// 排序规则,可选desc和asc /// [JsonProperty("OrderByCost")] public string OrderByCost{ get; set; } /// /// 交易ID /// [JsonProperty("BillIds")] public string[] BillIds{ get; set; } /// /// 组件编码 /// [JsonProperty("ComponentCodes")] public string[] ComponentCodes{ get; set; } /// /// 文件ID /// [JsonProperty("FileIds")] public string[] FileIds{ get; set; } /// /// 文件类型 /// [JsonProperty("FileTypes")] public string[] FileTypes{ get; set; } /// /// 状态 /// [JsonProperty("Status")] public ulong?[] Status{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "TimeRange", this.TimeRange); this.SetParamSimple(map, prefix + "BusinessCode", this.BusinessCode); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamSimple(map, prefix + "RegionId", this.RegionId); this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "ResourceKeyword", this.ResourceKeyword); this.SetParamArraySimple(map, prefix + "BusinessCodes.", this.BusinessCodes); this.SetParamArraySimple(map, prefix + "ProductCodes.", this.ProductCodes); this.SetParamArraySimple(map, prefix + "RegionIds.", this.RegionIds); this.SetParamArraySimple(map, prefix + "ProjectIds.", this.ProjectIds); this.SetParamArraySimple(map, prefix + "PayModes.", this.PayModes); this.SetParamArraySimple(map, prefix + "ActionTypes.", this.ActionTypes); this.SetParamSimple(map, prefix + "HideFreeCost", this.HideFreeCost); this.SetParamSimple(map, prefix + "OrderByCost", this.OrderByCost); this.SetParamArraySimple(map, prefix + "BillIds.", this.BillIds); this.SetParamArraySimple(map, prefix + "ComponentCodes.", this.ComponentCodes); this.SetParamArraySimple(map, prefix + "FileIds.", this.FileIds); this.SetParamArraySimple(map, prefix + "FileTypes.", this.FileTypes); this.SetParamArraySimple(map, prefix + "Status.", this.Status); } } }