VideoCensorResult.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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/47317"/>
  10. /// </summary>
  11. [XmlRoot("Response")]
  12. public sealed class VideoCensorResult
  13. {
  14. [XmlElement]
  15. public JobsDetailStruct JobsDetail;
  16. [XmlElement]
  17. public string NonExistJobIds;
  18. public sealed class JobsDetailStruct
  19. {
  20. [XmlElement]
  21. public string Code;
  22. [XmlElement]
  23. public string Message;
  24. [XmlElement]
  25. public string JobId;
  26. [XmlElement]
  27. public string State;
  28. [XmlElement]
  29. public string CreationTime;
  30. [XmlElement]
  31. public string Object;
  32. [XmlElement]
  33. public string SnapshotCount;
  34. [XmlElement]
  35. public string Result;
  36. [XmlElement]
  37. public Info PornInfo;
  38. [XmlElement]
  39. public Info TerrorismInfo;
  40. [XmlElement]
  41. public Info PoliticsInfo;
  42. [XmlElement]
  43. public Info AdsInfo;
  44. [XmlElement]
  45. public List<SnapshotDetail> Snapshot;
  46. [XmlElement]
  47. public List<AudioSectionDetail> AudioSection;
  48. }
  49. public sealed class Info
  50. {
  51. [XmlElement]
  52. public string HitFlag;
  53. [XmlElement]
  54. public string Count;
  55. }
  56. public sealed class SnapshotDetail
  57. {
  58. [XmlElement]
  59. public string Url;
  60. [XmlElement]
  61. public string SnapshotTime;
  62. [XmlElement]
  63. public string Text;
  64. [XmlElement]
  65. public SnapshotSectionInfoDetail PornInfo;
  66. [XmlElement]
  67. public SnapshotSectionInfoDetail TerrorismInfo;
  68. [XmlElement]
  69. public SnapshotSectionInfoDetail PoliticsInfo;
  70. [XmlElement]
  71. public SnapshotSectionInfoDetail AdsInfo;
  72. }
  73. public sealed class AudioSectionDetail
  74. {
  75. [XmlElement]
  76. public string Url;
  77. [XmlElement]
  78. public string Text;
  79. [XmlElement]
  80. public string OffsetTime;
  81. [XmlElement]
  82. public string Duration;
  83. [XmlElement]
  84. public AudioSectionInfoDetail PornInfo;
  85. [XmlElement]
  86. public AudioSectionInfoDetail TerrorismInfo;
  87. [XmlElement]
  88. public AudioSectionInfoDetail PoliticsInfo;
  89. [XmlElement]
  90. public AudioSectionInfoDetail AdsInfo;
  91. }
  92. public sealed class SnapshotSectionInfoDetail
  93. {
  94. [XmlElement]
  95. public string HitFlag;
  96. [XmlElement]
  97. public string Score;
  98. [XmlElement]
  99. public string Label;
  100. [XmlElement]
  101. public string SubLabel;
  102. }
  103. public sealed class AudioSectionInfoDetail
  104. {
  105. [XmlElement]
  106. public string HitFlag;
  107. [XmlElement]
  108. public string Score;
  109. [XmlElement]
  110. public string Keywords;
  111. }
  112. }
  113. }