/* * 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.Gme.V20180711.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CreateAppRequest : AbstractModel { /// /// 应用名称 /// [JsonProperty("AppName")] public string AppName{ get; set; } /// /// 腾讯云项目ID,默认为0,表示默认项目 /// [JsonProperty("ProjectId")] public ulong? ProjectId{ get; set; } /// /// 需要支持的引擎列表,默认全选。 /// [JsonProperty("EngineList")] public string[] EngineList{ get; set; } /// /// 服务区域列表,默认全选。 /// [JsonProperty("RegionList")] public string[] RegionList{ get; set; } /// /// 实时语音服务配置数据 /// [JsonProperty("RealtimeSpeechConf")] public RealtimeSpeechConf RealtimeSpeechConf{ get; set; } /// /// 语音消息及转文本服务配置数据 /// [JsonProperty("VoiceMessageConf")] public VoiceMessageConf VoiceMessageConf{ get; set; } /// /// 语音分析服务配置数据 /// [JsonProperty("VoiceFilterConf")] public VoiceFilterConf VoiceFilterConf{ get; set; } /// /// 需要添加的标签列表 /// [JsonProperty("Tags")] public Tag[] Tags{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "AppName", this.AppName); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamArraySimple(map, prefix + "EngineList.", this.EngineList); this.SetParamArraySimple(map, prefix + "RegionList.", this.RegionList); this.SetParamObj(map, prefix + "RealtimeSpeechConf.", this.RealtimeSpeechConf); this.SetParamObj(map, prefix + "VoiceMessageConf.", this.VoiceMessageConf); this.SetParamObj(map, prefix + "VoiceFilterConf.", this.VoiceFilterConf); this.SetParamArrayObj(map, prefix + "Tags.", this.Tags); } } }