Files
g.hnyhua.cn/TencentCloud/Mps/V20190612/Models/PoliticalImgReviewTemplateInfo.cs

71 lines
2.7 KiB
C#
Raw Permalink Normal View History

/*
* 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 PoliticalImgReviewTemplateInfo : AbstractModel
{
/// <summary>
/// 画面鉴政任务开关,可选值:
/// <li>ON开启画面鉴政任务</li>
/// <li>OFF关闭画面鉴政任务。</li>
/// </summary>
[JsonProperty("Switch")]
public string Switch{ get; set; }
/// <summary>
/// 画面鉴政过滤标签,审核结果包含选择的标签则返回结果,如果过滤标签为空,则审核结果全部返回,可选值为:
/// <li>violation_photo违规图标</li>
/// <li>politician政治人物</li>
/// <li>entertainment娱乐明星</li>
/// <li>sport体育明星。</li>
/// </summary>
[JsonProperty("LabelSet")]
public string[] LabelSet{ get; set; }
/// <summary>
/// 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 97 分。取值范围0~100。
/// </summary>
[JsonProperty("BlockConfidence")]
public long? BlockConfidence{ get; set; }
/// <summary>
/// 判定需人工复核是否违规的分数阈值,当智能审核达到该分数以上,认为需人工复核,不填默认为 95 分。取值范围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);
}
}
}