WdkRexoutDeviceIotRegisteridResponse.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using System;
  2. using System.Xml.Serialization;
  3. using System.Collections.Generic;
  4. namespace Top.Api.Response
  5. {
  6. /// <summary>
  7. /// WdkRexoutDeviceIotRegisteridResponse.
  8. /// </summary>
  9. public class WdkRexoutDeviceIotRegisteridResponse : TopResponse
  10. {
  11. /// <summary>
  12. /// 数据
  13. /// </summary>
  14. [XmlElement("data")]
  15. public IotRegisterResultDomain Data { get; set; }
  16. /// <summary>
  17. /// 错误码
  18. /// </summary>
  19. [XmlElement("msg_code")]
  20. public string MsgCode { get; set; }
  21. /// <summary>
  22. /// 错误信息
  23. /// </summary>
  24. [XmlElement("msg_info")]
  25. public string MsgInfo { get; set; }
  26. /// <summary>
  27. /// 结果
  28. /// </summary>
  29. [XmlElement("succeed")]
  30. public bool Succeed { get; set; }
  31. /// <summary>
  32. /// IotRegisterResultDomain Data Structure.
  33. /// </summary>
  34. [Serializable]
  35. public class IotRegisterResultDomain : TopObject
  36. {
  37. /// <summary>
  38. /// 设备名称
  39. /// </summary>
  40. [XmlElement("device_name")]
  41. public string DeviceName { get; set; }
  42. /// <summary>
  43. /// 设备Secret
  44. /// </summary>
  45. [XmlElement("device_secret")]
  46. public string DeviceSecret { get; set; }
  47. /// <summary>
  48. /// 产品Key
  49. /// </summary>
  50. [XmlElement("product_key")]
  51. public string ProductKey { get; set; }
  52. }
  53. }
  54. }