/* * 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 { /// /// 产品ID /// [JsonProperty("ProductId")] public string ProductId{ get; set; } /// /// 是否返回全量数据 /// 当该值为false时,返回值中的设备物模型、固件版本、在线状态、最后在线时间字段等字段,都将返回数据类型的零值。 /// [JsonProperty("ReturnModel")] public bool? ReturnModel{ get; set; } /// /// 分页数量,0<取值范围<=100 /// [JsonProperty("Limit")] public ulong? Limit{ get; set; } /// /// 分页偏移,取值>0 /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 指定固件版本号,为空查询此产品下所有设备 /// [JsonProperty("OtaVersion")] public string OtaVersion{ get; set; } /// /// 设备名称,支持左前缀模糊匹配 /// [JsonProperty("DeviceName")] public string DeviceName{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary 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); } } }