OdinsSmartRobotAskResponse.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.Xml.Serialization;
  3. using System.Collections.Generic;
  4. namespace Top.Api.Response
  5. {
  6. /// <summary>
  7. /// OdinsSmartRobotAskResponse.
  8. /// </summary>
  9. public class OdinsSmartRobotAskResponse : TopResponse
  10. {
  11. /// <summary>
  12. /// 接口返回model
  13. /// </summary>
  14. [XmlElement("result")]
  15. public ResultDomain Result { get; set; }
  16. /// <summary>
  17. /// ResultDomain Data Structure.
  18. /// </summary>
  19. [Serializable]
  20. public class ResultDomain : TopObject
  21. {
  22. /// <summary>
  23. /// 问题答案
  24. /// </summary>
  25. [XmlElement("data")]
  26. public string Data { get; set; }
  27. /// <summary>
  28. /// 错误码
  29. /// </summary>
  30. [XmlElement("error_code")]
  31. public long ErrorCode { get; set; }
  32. /// <summary>
  33. /// 错误信息
  34. /// </summary>
  35. [XmlElement("error_msg")]
  36. public string ErrorMsg { get; set; }
  37. /// <summary>
  38. /// 是否成功
  39. /// </summary>
  40. [XmlElement("success")]
  41. public bool Success { get; set; }
  42. }
  43. }
  44. }