Files
g.hnyhua.cn/TencentCloud/Iotcloud/V20180614/Models/DescribeDeviceResponse.cs
2026-02-07 15:48:27 +08:00

205 lines
7.0 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.Iotcloud.V20180614.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDeviceResponse : AbstractModel
{
/// <summary>
/// 设备名
/// </summary>
[JsonProperty("DeviceName")]
public string DeviceName{ get; set; }
/// <summary>
/// 设备是否在线0不在线1在线
/// </summary>
[JsonProperty("Online")]
public ulong? Online{ get; set; }
/// <summary>
/// 设备登录时间
/// </summary>
[JsonProperty("LoginTime")]
public ulong? LoginTime{ get; set; }
/// <summary>
/// 设备固件版本
/// </summary>
[JsonProperty("Version")]
public string Version{ get; set; }
/// <summary>
/// 设备最后更新时间
/// </summary>
[JsonProperty("LastUpdateTime")]
public ulong? LastUpdateTime{ get; set; }
/// <summary>
/// 设备证书
/// </summary>
[JsonProperty("DeviceCert")]
public string DeviceCert{ get; set; }
/// <summary>
/// 设备密钥
/// </summary>
[JsonProperty("DevicePsk")]
public string DevicePsk{ get; set; }
/// <summary>
/// 设备属性
/// </summary>
[JsonProperty("Tags")]
public DeviceTag[] Tags{ get; set; }
/// <summary>
/// 设备类型
/// </summary>
[JsonProperty("DeviceType")]
public ulong? DeviceType{ get; set; }
/// <summary>
/// IMEI
/// </summary>
[JsonProperty("Imei")]
public string Imei{ get; set; }
/// <summary>
/// 运营商类型
/// </summary>
[JsonProperty("Isp")]
public ulong? Isp{ get; set; }
/// <summary>
/// IP地址
/// </summary>
[JsonProperty("ConnIP")]
public ulong? ConnIP{ get; set; }
/// <summary>
/// NB IoT运营商处的DeviceID
/// </summary>
[JsonProperty("NbiotDeviceID")]
public string NbiotDeviceID{ get; set; }
/// <summary>
/// Lora设备的dev eui
/// </summary>
[JsonProperty("LoraDevEui")]
public string LoraDevEui{ get; set; }
/// <summary>
/// Lora设备的mote type
/// </summary>
[JsonProperty("LoraMoteType")]
public ulong? LoraMoteType{ get; set; }
/// <summary>
/// 设备的sdk日志等级
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LogLevel")]
public ulong? LogLevel{ get; set; }
/// <summary>
/// 首次上线时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("FirstOnlineTime")]
public ulong? FirstOnlineTime{ get; set; }
/// <summary>
/// 最近下线时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LastOfflineTime")]
public ulong? LastOfflineTime{ get; set; }
/// <summary>
/// 设备创建时间
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CreateTime")]
public ulong? CreateTime{ get; set; }
/// <summary>
/// 设备证书获取状态0 未获取过设备密钥, 1 已获取过设备密钥
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("CertState")]
public ulong? CertState{ get; set; }
/// <summary>
/// 设备启用状态
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("EnableState")]
public ulong? EnableState{ get; set; }
/// <summary>
/// 设备标签
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Labels")]
public DeviceLabel[] Labels{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ 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 + "DeviceName", this.DeviceName);
this.SetParamSimple(map, prefix + "Online", this.Online);
this.SetParamSimple(map, prefix + "LoginTime", this.LoginTime);
this.SetParamSimple(map, prefix + "Version", this.Version);
this.SetParamSimple(map, prefix + "LastUpdateTime", this.LastUpdateTime);
this.SetParamSimple(map, prefix + "DeviceCert", this.DeviceCert);
this.SetParamSimple(map, prefix + "DevicePsk", this.DevicePsk);
this.SetParamArrayObj(map, prefix + "Tags.", this.Tags);
this.SetParamSimple(map, prefix + "DeviceType", this.DeviceType);
this.SetParamSimple(map, prefix + "Imei", this.Imei);
this.SetParamSimple(map, prefix + "Isp", this.Isp);
this.SetParamSimple(map, prefix + "ConnIP", this.ConnIP);
this.SetParamSimple(map, prefix + "NbiotDeviceID", this.NbiotDeviceID);
this.SetParamSimple(map, prefix + "LoraDevEui", this.LoraDevEui);
this.SetParamSimple(map, prefix + "LoraMoteType", this.LoraMoteType);
this.SetParamSimple(map, prefix + "LogLevel", this.LogLevel);
this.SetParamSimple(map, prefix + "FirstOnlineTime", this.FirstOnlineTime);
this.SetParamSimple(map, prefix + "LastOfflineTime", this.LastOfflineTime);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "CertState", this.CertState);
this.SetParamSimple(map, prefix + "EnableState", this.EnableState);
this.SetParamArrayObj(map, prefix + "Labels.", this.Labels);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}