/*
* 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
{
///
/// 起始时间,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
///
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
///
/// 结束时间,需大于开始日期,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
///
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
///
/// 查询时间间隔,有效值:
/// Minute:每分钟一个统计数据。
/// Hour:每小时一个统计数据。
/// Day:每天一个统计数据。
/// 默认按时间跨度决定,小于1小时按分钟,小于等于7天按小时,大于7天按天展示。
///
[JsonProperty("Interval")]
public string Interval{ get; set; }
///
/// 查询的存储类型,有效值:
/// TotalStorage:存储总量。
/// StandardStorage:标准存储。
/// InfrequentStorage:低频存储。
/// 默认值为 TotalStorage。
///
[JsonProperty("StorageType")]
public string StorageType{ get; set; }
///
/// 点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
/// 当该字段为1时,表示以管理员身份查询所有子应用(含主应用)的用量合计。
///
[JsonProperty("SubAppId")]
public ulong? SubAppId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}