Files
g.hnyhua.cn/TencentCloud/Cdn/V20180606/Models/SearchClsLogRequest.cs
2026-02-07 15:48:27 +08:00

100 lines
3.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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 SearchClsLogRequest : AbstractModel
{
/// <summary>
/// 需要查询的日志集ID
/// </summary>
[JsonProperty("LogsetId")]
public string LogsetId{ get; set; }
/// <summary>
/// 需要查询的日志主题ID组合以逗号分隔
/// </summary>
[JsonProperty("TopicIds")]
public string TopicIds{ get; set; }
/// <summary>
/// 需要查询的日志的起始时间,格式 YYYY-mm-dd HH:MM:SS
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 需要查询的日志的结束时间,格式 YYYY-mm-dd HH:MM:SS
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 单次要返回的日志条数单次返回的最大条数为100
/// </summary>
[JsonProperty("Limit")]
public long? Limit{ get; set; }
/// <summary>
/// 接入渠道默认值为cdn
/// </summary>
[JsonProperty("Channel")]
public string Channel{ get; set; }
/// <summary>
/// 需要查询的内容详情请参考https://cloud.tencent.com/document/product/614/16982
/// </summary>
[JsonProperty("Query")]
public string Query{ get; set; }
/// <summary>
/// 加载更多使用,透传上次返回的 context 值获取后续的日志内容通过游标最多可获取10000条请尽可能缩小时间范围
/// </summary>
[JsonProperty("Context")]
public string Context{ get; set; }
/// <summary>
/// 按日志时间排序, asc升序或者 desc降序默认为 desc
/// </summary>
[JsonProperty("Sort")]
public string Sort{ 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 + "LogsetId", this.LogsetId);
this.SetParamSimple(map, prefix + "TopicIds", this.TopicIds);
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamSimple(map, prefix + "Limit", this.Limit);
this.SetParamSimple(map, prefix + "Channel", this.Channel);
this.SetParamSimple(map, prefix + "Query", this.Query);
this.SetParamSimple(map, prefix + "Context", this.Context);
this.SetParamSimple(map, prefix + "Sort", this.Sort);
}
}
}