97 lines
3.4 KiB
C#
97 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.Vod.V20180717.Models
|
|||
|
|
{
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using TencentCloud.Common;
|
|||
|
|
|
|||
|
|
public class MediaContentReviewOcrTextSegmentItem : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 嫌疑片段起始的偏移时间,单位:秒。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("StartTimeOffset")]
|
|||
|
|
public float? StartTimeOffset{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 嫌疑片段结束的偏移时间,单位:秒。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("EndTimeOffset")]
|
|||
|
|
public float? EndTimeOffset{ 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>
|
|||
|
|
/// 嫌疑关键词列表。
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("KeywordSet")]
|
|||
|
|
public string[] KeywordSet{ 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/266/11732#I)。
|
|||
|
|
/// </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 + "StartTimeOffset", this.StartTimeOffset);
|
|||
|
|
this.SetParamSimple(map, prefix + "EndTimeOffset", this.EndTimeOffset);
|
|||
|
|
this.SetParamSimple(map, prefix + "Confidence", this.Confidence);
|
|||
|
|
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "KeywordSet.", this.KeywordSet);
|
|||
|
|
this.SetParamArraySimple(map, prefix + "AreaCoordSet.", this.AreaCoordSet);
|
|||
|
|
this.SetParamSimple(map, prefix + "Url", this.Url);
|
|||
|
|
this.SetParamSimple(map, prefix + "PicUrlExpireTime", this.PicUrlExpireTime);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|