Files
g.hnyhua.cn/TencentCloud/Tiia/V20190529/Models/DetectMisbehaviorRequest.cs

59 lines
2.2 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.Tiia.V20190529.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DetectMisbehaviorRequest : AbstractModel
{
/// <summary>
/// 图片URL地址。
/// 图片限制:
/// • 图片格式PNG、JPG、JPEG。
/// • 图片大小所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
/// 建议:
/// • 图片像素大于50*50像素否则影响识别效果
/// • 长宽比:长边:短边<5
/// 接口响应时间会受到图片下载时间的影响建议使用更可靠的存储服务推荐将图片存储在腾讯云COS。
/// </summary>
[JsonProperty("ImageUrl")]
public string ImageUrl{ get; set; }
/// <summary>
/// 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
/// **注意图片需要base64编码并且要去掉编码头部。**
/// </summary>
[JsonProperty("ImageBase64")]
public string ImageBase64{ 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 + "ImageUrl", this.ImageUrl);
this.SetParamSimple(map, prefix + "ImageBase64", this.ImageBase64);
}
}
}