81 lines
3.2 KiB
C#
81 lines
3.2 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.Vod.V20180717.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class DescribeStorageDetailsRequest : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 起始时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
||
/// </summary>
|
||
[JsonProperty("StartTime")]
|
||
public string StartTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 结束时间,需大于开始日期,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
||
/// </summary>
|
||
[JsonProperty("EndTime")]
|
||
public string EndTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 查询时间间隔,有效值:
|
||
/// <li>Minute:每分钟一个统计数据。</li>
|
||
/// <li>Hour:每小时一个统计数据。</li>
|
||
/// <li>Day:每天一个统计数据。</li>
|
||
/// 默认按时间跨度决定,小于1小时按分钟,小于等于7天按小时,大于7天按天展示。
|
||
/// </summary>
|
||
[JsonProperty("Interval")]
|
||
public string Interval{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 查询的存储类型,有效值:
|
||
/// <li>TotalStorage:存储总量。</li>
|
||
/// <li>StandardStorage:标准存储。</li>
|
||
/// <li>InfrequentStorage:低频存储。</li>
|
||
/// 默认值为 TotalStorage。
|
||
/// </summary>
|
||
[JsonProperty("StorageType")]
|
||
public string StorageType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
|
||
/// 当该字段为1时,表示以管理员身份查询所有子应用(含主应用)的用量合计。
|
||
/// </summary>
|
||
[JsonProperty("SubAppId")]
|
||
public ulong? SubAppId{ 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 + "StartTime", this.StartTime);
|
||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||
this.SetParamSimple(map, prefix + "Interval", this.Interval);
|
||
this.SetParamSimple(map, prefix + "StorageType", this.StorageType);
|
||
this.SetParamSimple(map, prefix + "SubAppId", this.SubAppId);
|
||
}
|
||
}
|
||
}
|
||
|