149 lines
6.6 KiB
C#
149 lines
6.6 KiB
C#
/*
|
||
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing,
|
||
* software distributed under the License is distributed on an
|
||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
* KIND, either express or implied. See the License for the
|
||
* specific language governing permissions and limitations
|
||
* under the License.
|
||
*/
|
||
|
||
namespace TencentCloud.Mps.V20190612.Models
|
||
{
|
||
using Newtonsoft.Json;
|
||
using System.Collections.Generic;
|
||
using TencentCloud.Common;
|
||
|
||
public class AiContentReviewResult : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 任务的类型,可以取的值有:
|
||
/// <li>Porn:图片鉴黄</li>
|
||
/// <li>Terrorism:图片鉴恐</li>
|
||
/// <li>Political:图片鉴政</li>
|
||
/// <li>Porn.Asr:Asr 文字鉴黄</li>
|
||
/// <li>Porn.Ocr:Ocr 文字鉴黄</li>
|
||
/// <li>Porn.Voice:声音鉴黄</li>
|
||
/// <li>Political.Asr:Asr 文字鉴政</li>
|
||
/// <li>Political.Ocr:Ocr 文字鉴政</li>
|
||
/// <li>Terrorism.Ocr:Ocr 文字鉴恐</li>
|
||
/// <li>Prohibited.Asr:Asr 文字鉴违禁</li>
|
||
/// <li>Prohibited.Ocr:Ocr 文字鉴违禁</li>
|
||
/// </summary>
|
||
[JsonProperty("Type")]
|
||
public string Type{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 采样频率,即对视频每秒截取进行审核的帧数。
|
||
/// </summary>
|
||
[JsonProperty("SampleRate")]
|
||
public float? SampleRate{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 审核的视频时长,单位:秒。
|
||
/// </summary>
|
||
[JsonProperty("Duration")]
|
||
public float? Duration{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核智能画面鉴黄任务的查询结果,当任务类型为 Porn 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PornTask")]
|
||
public AiReviewTaskPornResult PornTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核智能画面鉴恐任务的查询结果,当任务类型为 Terrorism 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TerrorismTask")]
|
||
public AiReviewTaskTerrorismResult TerrorismTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核智能画面鉴政任务的查询结果,当任务类型为 Political 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PoliticalTask")]
|
||
public AiReviewTaskPoliticalResult PoliticalTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核 Asr 文字鉴黄任务的查询结果,当任务类型为 Porn.Asr 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PornAsrTask")]
|
||
public AiReviewTaskPornAsrResult PornAsrTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核 Ocr 文字鉴黄任务的查询结果,当任务类型为 Porn.Ocr 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PornOcrTask")]
|
||
public AiReviewTaskPornOcrResult PornOcrTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核 Asr 文字鉴政任务的查询结果,当任务类型为 Political.Asr 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PoliticalAsrTask")]
|
||
public AiReviewTaskPoliticalAsrResult PoliticalAsrTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核 Ocr 文字鉴政任务的查询结果,当任务类型为 Political.Ocr 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("PoliticalOcrTask")]
|
||
public AiReviewTaskPoliticalOcrResult PoliticalOcrTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核 Ocr 文字鉴恐任务的查询结果,当任务类型为 Terrorism.Ocr 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("TerrorismOcrTask")]
|
||
public AiReviewTaskTerrorismOcrResult TerrorismOcrTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核 Asr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Asr 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ProhibitedAsrTask")]
|
||
public AiReviewTaskProhibitedAsrResult ProhibitedAsrTask{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频内容审核 Ocr 文字鉴违禁任务的查询结果,当任务类型为 Prohibited.Ocr 时有效。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("ProhibitedOcrTask")]
|
||
public AiReviewTaskProhibitedOcrResult ProhibitedOcrTask{ get; set; }
|
||
|
||
|
||
/// <summary>
|
||
/// For internal usage only. DO NOT USE IT.
|
||
/// </summary>
|
||
internal override void ToMap(Dictionary<string, string> map, string prefix)
|
||
{
|
||
this.SetParamSimple(map, prefix + "Type", this.Type);
|
||
this.SetParamSimple(map, prefix + "SampleRate", this.SampleRate);
|
||
this.SetParamSimple(map, prefix + "Duration", this.Duration);
|
||
this.SetParamObj(map, prefix + "PornTask.", this.PornTask);
|
||
this.SetParamObj(map, prefix + "TerrorismTask.", this.TerrorismTask);
|
||
this.SetParamObj(map, prefix + "PoliticalTask.", this.PoliticalTask);
|
||
this.SetParamObj(map, prefix + "PornAsrTask.", this.PornAsrTask);
|
||
this.SetParamObj(map, prefix + "PornOcrTask.", this.PornOcrTask);
|
||
this.SetParamObj(map, prefix + "PoliticalAsrTask.", this.PoliticalAsrTask);
|
||
this.SetParamObj(map, prefix + "PoliticalOcrTask.", this.PoliticalOcrTask);
|
||
this.SetParamObj(map, prefix + "TerrorismOcrTask.", this.TerrorismOcrTask);
|
||
this.SetParamObj(map, prefix + "ProhibitedAsrTask.", this.ProhibitedAsrTask);
|
||
this.SetParamObj(map, prefix + "ProhibitedOcrTask.", this.ProhibitedOcrTask);
|
||
}
|
||
}
|
||
}
|
||
|