using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Top.Api.Response { /// /// WdkRexoutDeviceIotRegisteridResponse. /// public class WdkRexoutDeviceIotRegisteridResponse : TopResponse { /// /// 数据 /// [XmlElement("data")] public IotRegisterResultDomain Data { get; set; } /// /// 错误码 /// [XmlElement("msg_code")] public string MsgCode { get; set; } /// /// 错误信息 /// [XmlElement("msg_info")] public string MsgInfo { get; set; } /// /// 结果 /// [XmlElement("succeed")] public bool Succeed { get; set; } /// /// IotRegisterResultDomain Data Structure. /// [Serializable] public class IotRegisterResultDomain : TopObject { /// /// 设备名称 /// [XmlElement("device_name")] public string DeviceName { get; set; } /// /// 设备Secret /// [XmlElement("device_secret")] public string DeviceSecret { get; set; } /// /// 产品Key /// [XmlElement("product_key")] public string ProductKey { get; set; } } } }