80 lines
2.7 KiB
C#
80 lines
2.7 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.Iotvideo.V20191126.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class DescribeDevicesRequest : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 产品ID
|
||
/// </summary>
|
||
[JsonProperty("ProductId")]
|
||
public string ProductId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否返回全量数据
|
||
/// 当该值为false时,返回值中的设备物模型、固件版本、在线状态、最后在线时间字段等字段,都将返回数据类型的零值。
|
||
/// </summary>
|
||
[JsonProperty("ReturnModel")]
|
||
public bool? ReturnModel{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 分页数量,0<取值范围<=100
|
||
/// </summary>
|
||
[JsonProperty("Limit")]
|
||
public ulong? Limit{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 分页偏移,取值>0
|
||
/// </summary>
|
||
[JsonProperty("Offset")]
|
||
public ulong? Offset{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 指定固件版本号,为空查询此产品下所有设备
|
||
/// </summary>
|
||
[JsonProperty("OtaVersion")]
|
||
public string OtaVersion{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 设备名称,支持左前缀模糊匹配
|
||
/// </summary>
|
||
[JsonProperty("DeviceName")]
|
||
public string DeviceName{ 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 + "ProductId", this.ProductId);
|
||
this.SetParamSimple(map, prefix + "ReturnModel", this.ReturnModel);
|
||
this.SetParamSimple(map, prefix + "Limit", this.Limit);
|
||
this.SetParamSimple(map, prefix + "Offset", this.Offset);
|
||
this.SetParamSimple(map, prefix + "OtaVersion", this.OtaVersion);
|
||
this.SetParamSimple(map, prefix + "DeviceName", this.DeviceName);
|
||
}
|
||
}
|
||
}
|
||
|