114 lines
3.6 KiB
C#
114 lines
3.6 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.Bm.V20180423.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class DescribeTaskInfoRequest : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 开始位置
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Offset")]
|
|||
|
|
public ulong? Offset{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 数据条数
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Limit")]
|
|||
|
|
public ulong? Limit{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 时间过滤下限
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("StartDate")]
|
|||
|
|
public string StartDate{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 时间过滤上限
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("EndDate")]
|
|||
|
|
public string EndDate{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务状态ID过滤
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("TaskStatus")]
|
|||
|
|
public ulong?[] TaskStatus{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 排序字段,目前支持:CreateTime,AuthTime,EndTime
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("OrderField")]
|
|||
|
|
public string OrderField{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 排序方式 0:递增(默认) 1:递减
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Order")]
|
|||
|
|
public ulong? Order{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务ID过滤
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("TaskIds")]
|
|||
|
|
public string[] TaskIds{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例ID过滤
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceIds")]
|
|||
|
|
public string[] InstanceIds{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例别名过滤
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Aliases")]
|
|||
|
|
public string[] Aliases{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 故障类型ID过滤
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("TaskTypeIds")]
|
|||
|
|
public ulong?[] TaskTypeIds{ 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 + "Offset", this.Offset);
|
|||
|
|
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
|||
|
|
this.SetParamSimple(map, prefix + "StartDate", this.StartDate);
|
|||
|
|
this.SetParamSimple(map, prefix + "EndDate", this.EndDate);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "TaskStatus.", this.TaskStatus);
|
|||
|
|
this.SetParamSimple(map, prefix + "OrderField", this.OrderField);
|
|||
|
|
this.SetParamSimple(map, prefix + "Order", this.Order);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "TaskIds.", this.TaskIds);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "Aliases.", this.Aliases);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "TaskTypeIds.", this.TaskTypeIds);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|