TextCensorJobDetail.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Xml.Serialization;
  4. using System.Text;
  5. namespace COSXML.Model.Tag
  6. {
  7. /// <summary>
  8. /// 审核任务提交回执
  9. /// <see href="https://cloud.tencent.com/document/product/436/47316"/>
  10. /// </summary>
  11. [XmlRoot("Response")]
  12. public sealed class TextCensorJobsResponse
  13. {
  14. [XmlElement]
  15. public JobsDetailContent JobsDetail;
  16. public sealed class JobsDetailContent
  17. {
  18. [XmlElement]
  19. public string JobId;
  20. [XmlElement]
  21. public string State;
  22. [XmlElement]
  23. public string CreationTime;
  24. [XmlElement]
  25. public string Code;
  26. [XmlElement]
  27. public string DataId;
  28. [XmlElement]
  29. public string Message;
  30. [XmlElement]
  31. public string Content;
  32. [XmlElement]
  33. public string Label;
  34. [XmlElement]
  35. public string Result;
  36. [XmlElement]
  37. public string SectionCount;
  38. [XmlElement]
  39. public Info PornInfo;
  40. [XmlElement]
  41. public Info TerrorismInfo;
  42. [XmlElement]
  43. public Info PoliticsInfo;
  44. [XmlElement]
  45. public Info AdsInfo;
  46. [XmlElement]
  47. public Info IllegalInfo;
  48. [XmlElement]
  49. public Info AbuseInfo;
  50. [XmlElement]
  51. public List<SectionInfo> Section;
  52. }
  53. public sealed class Info
  54. {
  55. [XmlElement]
  56. public string HitFlag;
  57. [XmlElement]
  58. public string Count;
  59. }
  60. public sealed class SectionInfo
  61. {
  62. [XmlElement]
  63. public string StartByte;
  64. [XmlElement]
  65. public SectionInfoDetail PornInfo;
  66. [XmlElement]
  67. public SectionInfoDetail TerrorismInfo;
  68. [XmlElement]
  69. public SectionInfoDetail PoliticsInfo;
  70. [XmlElement]
  71. public SectionInfoDetail AdsInfo;
  72. [XmlElement]
  73. public SectionInfoDetail IllegalInfo;
  74. [XmlElement]
  75. public SectionInfoDetail AbuseInfo;
  76. }
  77. public sealed class SectionInfoDetail
  78. {
  79. [XmlElement]
  80. public string Code;
  81. [XmlElement]
  82. public string HitFlag;
  83. [XmlElement]
  84. public string Score;
  85. [XmlElement]
  86. public string Keywords;
  87. }
  88. }
  89. }