/*
* 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 DescribeDevicesRequest : AbstractModel
{
///
/// 偏移量
///
[JsonProperty("Offset")]
public ulong? Offset{ get; set; }
///
/// 返回数量
///
[JsonProperty("Limit")]
public ulong? Limit{ get; set; }
///
/// 机型ID,通过接口[查询设备型号(DescribeDeviceClass)](https://cloud.tencent.com/document/api/386/32911)查询
///
[JsonProperty("DeviceClassCode")]
public string DeviceClassCode{ get; set; }
///
/// 设备ID数组
///
[JsonProperty("InstanceIds")]
public string[] InstanceIds{ get; set; }
///
/// 外网IP数组
///
[JsonProperty("WanIps")]
public string[] WanIps{ get; set; }
///
/// 内网IP数组
///
[JsonProperty("LanIps")]
public string[] LanIps{ get; set; }
///
/// 设备名称
///
[JsonProperty("Alias")]
public string Alias{ get; set; }
///
/// 模糊IP查询
///
[JsonProperty("VagueIp")]
public string VagueIp{ get; set; }
///
/// 设备到期时间查询的起始时间
///
[JsonProperty("DeadlineStartTime")]
public string DeadlineStartTime{ get; set; }
///
/// 设备到期时间查询的结束时间
///
[JsonProperty("DeadlineEndTime")]
public string DeadlineEndTime{ get; set; }
///
/// 自动续费标志 0:不自动续费,1:自动续费
///
[JsonProperty("AutoRenewFlag")]
public ulong? AutoRenewFlag{ get; set; }
///
/// 私有网络唯一ID
///
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
///
/// 子网唯一ID
///
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
///
/// 标签列表
///
[JsonProperty("Tags")]
public Tag[] Tags{ get; set; }
///
/// 设备类型,取值有: compute(计算型), standard(标准型), storage(存储型) 等
///
[JsonProperty("DeviceType")]
public string DeviceType{ get; set; }
///
/// 竞价实例机器的过滤。如果未指定此参数,则不做过滤。0: 查询非竞价实例的机器; 1: 查询竞价实例的机器。
///
[JsonProperty("IsLuckyDevice")]
public ulong? IsLuckyDevice{ get; set; }
///
/// 排序字段
///
[JsonProperty("OrderField")]
public string OrderField{ get; set; }
///
/// 排序方式,取值:0:增序(默认),1:降序
///
[JsonProperty("Order")]
public ulong? Order{ 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 + "DeviceClassCode", this.DeviceClassCode);
this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds);
this.SetParamArraySimple(map, prefix + "WanIps.", this.WanIps);
this.SetParamArraySimple(map, prefix + "LanIps.", this.LanIps);
this.SetParamSimple(map, prefix + "Alias", this.Alias);
this.SetParamSimple(map, prefix + "VagueIp", this.VagueIp);
this.SetParamSimple(map, prefix + "DeadlineStartTime", this.DeadlineStartTime);
this.SetParamSimple(map, prefix + "DeadlineEndTime", this.DeadlineEndTime);
this.SetParamSimple(map, prefix + "AutoRenewFlag", this.AutoRenewFlag);
this.SetParamSimple(map, prefix + "VpcId", this.VpcId);
this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
this.SetParamSimple(map, prefix + "DeviceType", this.DeviceType);
this.SetParamSimple(map, prefix + "IsLuckyDevice", this.IsLuckyDevice);
this.SetParamSimple(map, prefix + "OrderField", this.OrderField);
this.SetParamSimple(map, prefix + "Order", this.Order);
}
}
}