/*
* 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
{
///
/// 开始位置
///
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
///
/// 数据条数
///
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
///
/// 时间过滤下限
///
[JsonProperty("StartDate")]
public string StartDate{ get; set; }
///
/// 时间过滤上限
///
[JsonProperty("EndDate")]
public string EndDate{ get; set; }
///
/// 任务状态ID过滤
///
[JsonProperty("TaskStatus")]
public ulong?[] TaskStatus{ get; set; }
///
/// 排序字段,目前支持:CreateTime,AuthTime,EndTime
///
[JsonProperty("OrderField")]
public string OrderField{ get; set; }
///
/// 排序方式 0:递增(默认) 1:递减
///
[JsonProperty("Order")]
public ulong? Order{ get; set; }
///
/// 任务ID过滤
///
[JsonProperty("TaskIds")]
public string[] TaskIds{ get; set; }
///
/// 实例ID过滤
///
[JsonProperty("InstanceIds")]
public string[] InstanceIds{ get; set; }
///
/// 实例别名过滤
///
[JsonProperty("Aliases")]
public string[] Aliases{ get; set; }
///
/// 故障类型ID过滤
///
[JsonProperty("TaskTypeIds")]
public ulong?[] TaskTypeIds{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}