-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shawnnqin
committed
Jun 7, 2022
1 parent
4a1ba79
commit 5d2b172
Showing
5 changed files
with
151 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
QCloudCSharpSDK/COSXML/Model/CI/SubmitTextCensorJobResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
using System.IO; | ||
using System.Collections.Generic; | ||
using COSXML.Model.Tag; | ||
using COSXML.Transfer; | ||
|
||
namespace COSXML.Model.CI | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public sealed class SubmitTextCensorJobsResult : CosDataResult<TextCensorJobsResponse> | ||
{ | ||
|
||
/// <summary> | ||
/// 文本审核结果 | ||
/// </summary> | ||
/// <value></value> | ||
public TextCensorJobsResponse textCensorJobsResponse { | ||
get {return _data; } | ||
} | ||
} | ||
} |
125 changes: 125 additions & 0 deletions
125
QCloudCSharpSDK/COSXML/Model/Tag/TextCensorJobDetail.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Xml.Serialization; | ||
using System.Text; | ||
|
||
namespace COSXML.Model.Tag | ||
{ | ||
/// <summary> | ||
/// 审核任务提交回执 | ||
/// <see href="https://cloud.tencent.com/document/product/436/47316"/> | ||
/// </summary> | ||
[XmlRoot("Response")] | ||
public sealed class TextCensorJobsResponse | ||
{ | ||
[XmlElement] | ||
public JobsDetailContent JobsDetail; | ||
|
||
public sealed class JobsDetailContent | ||
{ | ||
[XmlElement] | ||
public string JobId; | ||
|
||
[XmlElement] | ||
public string State; | ||
|
||
[XmlElement] | ||
public string CreationTime; | ||
|
||
[XmlElement] | ||
public string Code; | ||
|
||
[XmlElement] | ||
public string DataId; | ||
|
||
[XmlElement] | ||
public string Message; | ||
|
||
[XmlElement] | ||
public string Content; | ||
|
||
[XmlElement] | ||
public string Label; | ||
|
||
[XmlElement] | ||
public string Result; | ||
|
||
[XmlElement] | ||
public string SectionCount; | ||
|
||
[XmlElement] | ||
public Info PornInfo; | ||
|
||
[XmlElement] | ||
public Info TerrorismInfo; | ||
|
||
[XmlElement] | ||
public Info PoliticsInfo; | ||
|
||
[XmlElement] | ||
public Info AdsInfo; | ||
|
||
[XmlElement] | ||
public Info IllegalInfo; | ||
|
||
[XmlElement] | ||
public Info AbuseInfo; | ||
|
||
[XmlElement] | ||
public List<SectionInfo> Section; | ||
|
||
} | ||
|
||
public sealed class Info | ||
{ | ||
[XmlElement] | ||
public string HitFlag; | ||
|
||
[XmlElement] | ||
public string Count; | ||
} | ||
|
||
public sealed class SectionInfo | ||
{ | ||
[XmlElement] | ||
public string StartByte; | ||
|
||
[XmlElement] | ||
public SectionInfoDetail PornInfo; | ||
|
||
[XmlElement] | ||
public SectionInfoDetail TerrorismInfo; | ||
|
||
[XmlElement] | ||
public SectionInfoDetail PoliticsInfo; | ||
|
||
[XmlElement] | ||
public SectionInfoDetail AdsInfo; | ||
|
||
[XmlElement] | ||
public SectionInfoDetail IllegalInfo; | ||
|
||
[XmlElement] | ||
public SectionInfoDetail AbuseInfo; | ||
|
||
} | ||
|
||
public sealed class SectionInfoDetail | ||
{ | ||
[XmlElement] | ||
public string Code; | ||
|
||
[XmlElement] | ||
public string HitFlag; | ||
|
||
[XmlElement] | ||
public string Score; | ||
|
||
[XmlElement] | ||
public string Keywords; | ||
|
||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters