Files
g.hnyhua.cn/TencentCloud/Bm/V20180423/Models/DescribeDevicesRequest.cs
2026-02-07 15:48:27 +08:00

163 lines
5.5 KiB
C#
Raw Permalink Blame History

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