99 lines
3.4 KiB
C#
99 lines
3.4 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 VodPoliticalReviewResult : AbstractModel
|
||
{
|
||
|
||
/// <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>
|
||
/// 视频涉政评分,分值为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>
|
||
/// 视频鉴政结果标签,取值范围:
|
||
/// politician:政治人物。
|
||
/// violation_photo:违规图标。
|
||
///
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("Label")]
|
||
public string Label{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 有涉政嫌疑的视频片段列表。
|
||
/// 注意:此字段可能返回 null,表示取不到有效值。
|
||
/// </summary>
|
||
[JsonProperty("SegmentSet")]
|
||
public VodPoliticalReviewSegmentItem[] 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 + "Status", this.Status);
|
||
this.SetParamSimple(map, prefix + "Code", this.Code);
|
||
this.SetParamSimple(map, prefix + "Msg", this.Msg);
|
||
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
||
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
||
this.SetParamSimple(map, prefix + "Label", this.Label);
|
||
this.SetParamArrayObj(map, prefix + "SegmentSet.", this.SegmentSet);
|
||
}
|
||
}
|
||
}
|
||
|