/*
* 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
{
///
/// 需要查询的日志集ID
///
[JsonProperty("LogsetId")]
public string LogsetId{ get; set; }
///
/// 需要查询的日志主题ID组合,以逗号分隔
///
[JsonProperty("TopicIds")]
public string TopicIds{ get; set; }
///
/// 需要查询的日志的起始时间,格式 YYYY-mm-dd HH:MM:SS
///
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
///
/// 需要查询的日志的结束时间,格式 YYYY-mm-dd HH:MM:SS
///
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
///
/// 单次要返回的日志条数,单次返回的最大条数为100
///
[JsonProperty("Limit")]
public long? Limit{ get; set; }
///
/// 接入渠道,默认值为cdn
///
[JsonProperty("Channel")]
public string Channel{ get; set; }
///
/// 需要查询的内容,详情请参考https://cloud.tencent.com/document/product/614/16982
///
[JsonProperty("Query")]
public string Query{ get; set; }
///
/// 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
///
[JsonProperty("Context")]
public string Context{ get; set; }
///
/// 按日志时间排序, asc(升序)或者 desc(降序),默认为 desc
///
[JsonProperty("Sort")]
public string Sort{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}