Files
g.hnyhua.cn/TencentCloud/Hcm/V20181106/Models/EvaluationRequest.cs
2026-02-07 15:48:27 +08:00

86 lines
3.4 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.Hcm.V20181106.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EvaluationRequest : AbstractModel
{
/// <summary>
/// 图片唯一标识一张图片一个SessionId
/// </summary>
[JsonProperty("SessionId")]
public string SessionId{ get; set; }
/// <summary>
/// 图片数据需要使用base64对图片的二进制数据进行编码与url参数二者填一即可
/// </summary>
[JsonProperty("Image")]
public string Image{ get; set; }
/// <summary>
/// 业务应用ID与账号应用APPID无关是用来方便客户管理服务的参数新的 HcmAppid 可以在[控制台](https://console.cloud.tencent.com/hcm)【应用管理】下新建。
/// </summary>
[JsonProperty("HcmAppid")]
public string HcmAppid{ get; set; }
/// <summary>
/// 图片url与Image参数二者填一即可
/// </summary>
[JsonProperty("Url")]
public string Url{ get; set; }
/// <summary>
/// 横屏拍摄开关,若开启则支持传输横屏拍摄的图片;
/// </summary>
[JsonProperty("SupportHorizontalImage")]
public bool? SupportHorizontalImage{ get; set; }
/// <summary>
/// 拒绝非速算图(如风景图、人物图)开关,若开启,则遇到非速算图会快速返回拒绝的结果,但极端情况下可能会影响评估结果(比如算式截图贴到风景画里可能被判为非速算图直接返回了)。
/// </summary>
[JsonProperty("RejectNonArithmeticImage")]
public bool? RejectNonArithmeticImage{ get; set; }
/// <summary>
/// 异步模式标识0同步模式1异步模式。默认为同步模式
/// </summary>
[JsonProperty("IsAsync")]
public long? IsAsync{ 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 + "SessionId", this.SessionId);
this.SetParamSimple(map, prefix + "Image", this.Image);
this.SetParamSimple(map, prefix + "HcmAppid", this.HcmAppid);
this.SetParamSimple(map, prefix + "Url", this.Url);
this.SetParamSimple(map, prefix + "SupportHorizontalImage", this.SupportHorizontalImage);
this.SetParamSimple(map, prefix + "RejectNonArithmeticImage", this.RejectNonArithmeticImage);
this.SetParamSimple(map, prefix + "IsAsync", this.IsAsync);
}
}
}