Files
g.hnyhua.cn/TencentCloud/Vod/V20180717/Models/UserDefineOcrTextReviewTemplateInfo.cs
2026-02-07 15:48:27 +08:00

68 lines
2.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.Vod.V20180717.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class UserDefineOcrTextReviewTemplateInfo : AbstractModel
{
/// <summary>
/// 用户自定文本审核任务开关,可选值:
/// <li>ON开启自定义文本审核任务</li>
/// <li>OFF关闭自定义文本审核任务。</li>
/// </summary>
[JsonProperty("Switch")]
public string Switch{ get; set; }
/// <summary>
/// 用户自定义文本过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
/// 标签个数最多 10 个,每个标签长度最多 16 个字符。
/// </summary>
[JsonProperty("LabelSet")]
public string[] LabelSet{ get; set; }
/// <summary>
/// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 100 分。取值范围0~100。
/// </summary>
[JsonProperty("BlockConfidence")]
public long? BlockConfidence{ get; set; }
/// <summary>
/// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 75 分。取值范围0~100。
/// </summary>
[JsonProperty("ReviewConfidence")]
public long? ReviewConfidence{ 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 + "Switch", this.Switch);
this.SetParamArraySimple(map, prefix + "LabelSet.", this.LabelSet);
this.SetParamSimple(map, prefix + "BlockConfidence", this.BlockConfidence);
this.SetParamSimple(map, prefix + "ReviewConfidence", this.ReviewConfidence);
}
}
}