/*
* 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
{
///
/// 嫌疑片段起始的偏移时间,单位:秒。
///
[JsonProperty("StartTimeOffset")]
public float? StartTimeOffset{ get; set; }
///
/// 嫌疑片段结束的偏移时间,单位:秒。
///
[JsonProperty("EndTimeOffset")]
public float? EndTimeOffset{ get; set; }
///
/// 嫌疑片段置信度。
///
[JsonProperty("Confidence")]
public float? Confidence{ get; set; }
///
/// 嫌疑片段审核结果建议,取值范围:
/// pass。
/// review。
/// block。
///
[JsonProperty("Suggestion")]
public string Suggestion{ get; set; }
///
/// 嫌疑关键词列表。
///
[JsonProperty("KeywordSet")]
public string[] KeywordSet{ get; set; }
///
/// 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
///
[JsonProperty("AreaCoordSet")]
public long?[] AreaCoordSet{ get; set; }
///
/// 嫌疑图片 URL (图片不会永久存储,到达
/// PicUrlExpireTime 时间点后图片将被删除)。
///
[JsonProperty("Url")]
public string Url{ get; set; }
///
/// 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
///
[JsonProperty("PicUrlExpireTime")]
public string PicUrlExpireTime{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary 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);
}
}
}