/*
* 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 MediaContentReviewSegmentItem : AbstractModel
{
///
/// 嫌疑片段起始的偏移时间,单位:秒。
///
[JsonProperty("StartTimeOffset")]
public float? StartTimeOffset{ get; set; }
///
/// 嫌疑片段结束的偏移时间,单位:秒。
///
[JsonProperty("EndTimeOffset")]
public float? EndTimeOffset{ get; set; }
///
/// 嫌疑片段涉黄分数。
///
[JsonProperty("Confidence")]
public float? Confidence{ get; set; }
///
/// 嫌疑片段鉴黄结果标签。
///
[JsonProperty("Label")]
public string Label{ get; set; }
///
/// 嫌疑片段鉴黄结果建议,取值范围:
/// pass。
/// review。
/// block。
///
[JsonProperty("Suggestion")]
public string Suggestion{ get; set; }
///
/// 嫌疑图片 URL (图片不会永久存储,到达
/// PicUrlExpireTime 时间点后图片将被删除)。
///
[JsonProperty("Url")]
public string Url{ get; set; }
///
/// 该字段已废弃,请使用 PicUrlExpireTime。
///
[JsonProperty("PicUrlExpireTimeStamp")]
public long? PicUrlExpireTimeStamp{ 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 + "Label", this.Label);
this.SetParamSimple(map, prefix + "Suggestion", this.Suggestion);
this.SetParamSimple(map, prefix + "Url", this.Url);
this.SetParamSimple(map, prefix + "PicUrlExpireTimeStamp", this.PicUrlExpireTimeStamp);
this.SetParamSimple(map, prefix + "PicUrlExpireTime", this.PicUrlExpireTime);
}
}
}