106 lines
3.8 KiB
C#
106 lines
3.8 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 LiveStreamAiReviewImagePoliticalResult : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 嫌疑片段起始的 PTS 时间,单位:秒。
|
||
/// </summary>
|
||
[JsonProperty("StartPtsTime")]
|
||
public float? StartPtsTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 嫌疑片段结束的 PTS 时间,单位:秒。
|
||
/// </summary>
|
||
[JsonProperty("EndPtsTime")]
|
||
public float? EndPtsTime{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 嫌疑片段涉政分数。
|
||
/// </summary>
|
||
[JsonProperty("Confidence")]
|
||
public float? Confidence{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 嫌疑片段鉴黄结果建议,取值范围:
|
||
/// <li>pass</li>
|
||
/// <li>review</li>
|
||
/// <li>block</li>
|
||
/// </summary>
|
||
[JsonProperty("Suggestion")]
|
||
public string Suggestion{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 视频鉴政结果标签,取值范围:
|
||
/// <li>politician:政治人物。</li>
|
||
/// <li>violation_photo:违规图标。</li>
|
||
/// </summary>
|
||
[JsonProperty("Label")]
|
||
public string Label{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 涉政人物、违规图标名字。
|
||
/// </summary>
|
||
[JsonProperty("Name")]
|
||
public string Name{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 涉政人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
|
||
/// </summary>
|
||
[JsonProperty("AreaCoordSet")]
|
||
public long?[] AreaCoordSet{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 嫌疑图片 URL (图片不会永久存储,到达
|
||
/// PicUrlExpireTime 时间点后图片将被删除)。
|
||
/// </summary>
|
||
[JsonProperty("Url")]
|
||
public string Url{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
||
/// </summary>
|
||
[JsonProperty("PicUrlExpireTime")]
|
||
public string PicUrlExpireTime{ 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 + "StartPtsTime", this.StartPtsTime);
|
||
this.SetParamSimple(map, prefix + "EndPtsTime", this.EndPtsTime);
|
||
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 + "Name", this.Name);
|
||
this.SetParamArraySimple(map, prefix + "AreaCoordSet.", this.AreaCoordSet);
|
||
this.SetParamSimple(map, prefix + "Url", this.Url);
|
||
this.SetParamSimple(map, prefix + "PicUrlExpireTime", this.PicUrlExpireTime);
|
||
}
|
||
}
|
||
}
|
||
|