Files
g.hnyhua.cn/TencentCloud/Mps/V20190612/Models/MediaContentReviewPoliticalSegmentItem.cs
2026-02-07 15:48:27 +08:00

104 lines
3.7 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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 MediaContentReviewPoliticalSegmentItem : 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("Name")]
public string Name{ get; set; }
/// <summary>
/// 嫌疑片段鉴政结果标签。
/// </summary>
[JsonProperty("Label")]
public string Label{ get; set; }
/// <summary>
/// 嫌疑图片 URL (图片不会永久存储,到达
/// PicUrlExpireTime 时间点后图片将被删除)。
/// </summary>
[JsonProperty("Url")]
public string Url{ get; set; }
/// <summary>
/// 涉政人物、违规图标出现的区域坐标 (像素级)[x1, y1, x2, y2],即左上角坐标、右下角坐标。
/// </summary>
[JsonProperty("AreaCoordSet")]
public long?[] AreaCoordSet{ 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 + "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.SetParamSimple(map, prefix + "Name", this.Name);
this.SetParamSimple(map, prefix + "Label", this.Label);
this.SetParamSimple(map, prefix + "Url", this.Url);
this.SetParamArraySimple(map, prefix + "AreaCoordSet.", this.AreaCoordSet);
this.SetParamSimple(map, prefix + "PicUrlExpireTime", this.PicUrlExpireTime);
}
}
}