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