77 lines
3.2 KiB
C#
77 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.Cdn.V20180606.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class DescribeIpVisitRequest : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 查询起始时间,如:2018-09-04 10:40:10,返回结果大于等于指定时间
|
|||
|
|
/// 根据指定时间粒度不同,会进行向前归整,如 2018-09-04 10:40:10 在按 5 分钟的时间粒度查询时,返回的第一个数据对应时间点为 2018-09-04 10:40:00
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("StartTime")]
|
|||
|
|
public string StartTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 查询结束时间,如:2018-09-04 10:40:10,返回结果小于等于指定时间
|
|||
|
|
/// 根据指定时间粒度不同,会进行向前归整,如 2018-09-04 10:40:10 在按 5 分钟的时间粒度查询时,返回的最后一个数据对应时间点为 2018-09-04 10:40:00
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("EndTime")]
|
|||
|
|
public string EndTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 指定查询域名列表,最多可一次性查询 30 个加速域名明细
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Domains")]
|
|||
|
|
public string[] Domains{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 指定要查询的项目 ID,[前往查看项目 ID](https://console.cloud.tencent.com/project)
|
|||
|
|
/// 未填充域名情况下,指定项目查询,若填充了具体域名信息,以域名为主
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Project")]
|
|||
|
|
public long? Project{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 时间粒度,支持以下几种模式:
|
|||
|
|
/// 5min:5 分钟粒度,查询时间区间 24 小时内,默认返回 5 分钟粒度活跃用户数
|
|||
|
|
/// day:天粒度,查询时间区间大于 1 天时,默认返回天粒度活跃用户数
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Interval")]
|
|||
|
|
public string Interval{ 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.SetParamArraySimple(map, prefix + "Domains.", this.Domains);
|
|||
|
|
this.SetParamSimple(map, prefix + "Project", this.Project);
|
|||
|
|
this.SetParamSimple(map, prefix + "Interval", this.Interval);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|