AudioCensorResult.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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/54064"/>
  10. /// </summary>
  11. [XmlRoot("Response")]
  12. public sealed class AudioCensorResult
  13. {
  14. [XmlElement]
  15. public Detail JobsDetail;
  16. public sealed class Detail
  17. {
  18. [XmlElement]
  19. public string Code;
  20. [XmlElement]
  21. public string Message;
  22. [XmlElement]
  23. public string JobId;
  24. [XmlElement]
  25. public string State;
  26. [XmlElement]
  27. public string CreationTime;
  28. [XmlElement]
  29. public string Object;
  30. [XmlElement]
  31. public string Url;
  32. [XmlElement]
  33. public string Result;
  34. [XmlElement]
  35. public string AudioText;
  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<SectionInfo> Section;
  46. }
  47. public sealed class Info
  48. {
  49. [XmlElement]
  50. public string HitFlag;
  51. [XmlElement]
  52. public string Score;
  53. [XmlElement]
  54. public string Label;
  55. }
  56. public sealed class SectionInfo
  57. {
  58. [XmlElement]
  59. public string Url;
  60. [XmlElement]
  61. public string Text;
  62. [XmlElement]
  63. public string OffsetTime;
  64. [XmlElement]
  65. public string Duration;
  66. [XmlElement]
  67. public SectionInfoDetail PornInfo;
  68. [XmlElement]
  69. public SectionInfoDetail TerrorismInfo;
  70. [XmlElement]
  71. public SectionInfoDetail PoliticsInfo;
  72. [XmlElement]
  73. public SectionInfoDetail AdsInfo;
  74. }
  75. public sealed class SectionInfoDetail
  76. {
  77. [XmlElement]
  78. public string HitFlag;
  79. [XmlElement]
  80. public string Score;
  81. [XmlElement]
  82. public string Keywords;
  83. }
  84. }
  85. }