/* * 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.Tmt.V20180321.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ImageTranslateRequest : AbstractModel { /// /// 唯一id,返回时原样返回 /// [JsonProperty("SessionUuid")] public string SessionUuid{ get; set; } /// /// doc:文档扫描 /// [JsonProperty("Scene")] public string Scene{ get; set; } /// /// 图片数据的Base64字符串,图片大小上限为4M,建议对源图片进行一定程度压缩 /// [JsonProperty("Data")] public string Data{ get; set; } /// /// 源语言,支持语言列表
  • zh : 中文
  • en : 英文
  • ///
    [JsonProperty("Source")] public string Source{ get; set; } /// /// 目标语言,支持语言列表
  • zh : 中文
  • en : 英文
  • ///
    [JsonProperty("Target")] public string Target{ get; set; } /// /// 项目ID,可以根据控制台-账号中心-项目管理中的配置填写,如无配置请填写默认项目ID:0 /// [JsonProperty("ProjectId")] public long? ProjectId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "SessionUuid", this.SessionUuid); this.SetParamSimple(map, prefix + "Scene", this.Scene); this.SetParamSimple(map, prefix + "Data", this.Data); this.SetParamSimple(map, prefix + "Source", this.Source); this.SetParamSimple(map, prefix + "Target", this.Target); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); } } }