105 lines
3.6 KiB
C#
105 lines
3.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.Ticm.V20181127.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class VodTerrorismReviewResult : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 视频暴恐评分,分值为0到100。
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Confidence")]
|
|||
|
|
public float? Confidence{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 暴恐结果建议,取值范围:
|
|||
|
|
/// pass。
|
|||
|
|
/// review。
|
|||
|
|
/// block。
|
|||
|
|
///
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Suggestion")]
|
|||
|
|
public string Suggestion{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 视频暴恐结果标签,取值范围:
|
|||
|
|
/// guns:武器枪支。
|
|||
|
|
/// crowd:人群聚集。
|
|||
|
|
/// police:警察部队。
|
|||
|
|
/// bloody:血腥画面。
|
|||
|
|
/// banners:暴恐旗帜。
|
|||
|
|
/// militant:武装分子。
|
|||
|
|
/// explosion:爆炸火灾。
|
|||
|
|
/// terrorists:暴恐人物。
|
|||
|
|
///
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Label")]
|
|||
|
|
public string Label{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Status")]
|
|||
|
|
public string Status{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 错误码,0:成功,其他值:失败。
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Code")]
|
|||
|
|
public long? Code{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 错误信息。
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Msg")]
|
|||
|
|
public string Msg{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 有暴恐嫌疑的视频片段列表。
|
|||
|
|
/// 注意:此字段可能返回 null,表示取不到有效值。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("SegmentSet")]
|
|||
|
|
public VodPornReviewSegmentItem[] SegmentSet{ 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 + "Confidence", this.Confidence);
|
|||
|
|
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
|||
|
|
this.SetParamSimple(map, prefix + "Label", this.Label);
|
|||
|
|
this.SetParamSimple(map, prefix + "Status", this.Status);
|
|||
|
|
this.SetParamSimple(map, prefix + "Code", this.Code);
|
|||
|
|
this.SetParamSimple(map, prefix + "Msg", this.Msg);
|
|||
|
|
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|