100 lines
3.3 KiB
C#
100 lines
3.3 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.Cat.V20180409.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class DescribeAlarmsByTaskRequest : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 拨测任务Id
|
||
/// </summary>
|
||
[JsonProperty("TaskId")]
|
||
public ulong? TaskId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 从第Offset 条开始查询。缺省值为0
|
||
/// </summary>
|
||
[JsonProperty("Offset")]
|
||
public ulong? Offset{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 本批次查询Limit 条记录。缺省值为20
|
||
/// </summary>
|
||
[JsonProperty("Limit")]
|
||
public ulong? Limit{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 0 全部, 1 已恢复, 2 未恢复 默认为0。其他值,视为0 查全部状态
|
||
/// </summary>
|
||
[JsonProperty("Status")]
|
||
public ulong? Status{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 格式如:2017-05-09 00:00:00 缺省为7天前0点
|
||
/// </summary>
|
||
[JsonProperty("BeginTime")]
|
||
public string BeginTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 格式如:2017-05-10 00:00:00 缺省为明天0点
|
||
/// </summary>
|
||
[JsonProperty("EndTime")]
|
||
public string EndTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 排序字段,可为Time, ObjName, Duration, Status, Content 之一。缺省为Time
|
||
/// </summary>
|
||
[JsonProperty("SortBy")]
|
||
public string SortBy{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 升序或降序。可为Desc, Asc之一。缺省为Desc
|
||
/// </summary>
|
||
[JsonProperty("SortType")]
|
||
public string SortType{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 告警对象的名称
|
||
/// </summary>
|
||
[JsonProperty("ObjName")]
|
||
public string ObjName{ 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 + "TaskId", this.TaskId);
|
||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||
this.SetParamSimple(map, prefix + "Status", this.Status);
|
||
this.SetParamSimple(map, prefix + "BeginTime", this.BeginTime);
|
||
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
|
||
this.SetParamSimple(map, prefix + "SortBy", this.SortBy);
|
||
this.SetParamSimple(map, prefix + "SortType", this.SortType);
|
||
this.SetParamSimple(map, prefix + "ObjName", this.ObjName);
|
||
}
|
||
}
|
||
}
|
||
|