/*
* 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.Tbp.V20190627.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class TextProcessRequest : AbstractModel
{
///
/// 机器人标识,用于定义抽象机器人。
///
[JsonProperty("BotId")]
public string BotId{ get; set; }
///
/// 机器人版本,取值"dev"或"release",{调试版本:dev;线上版本:release}。
///
[JsonProperty("BotEnv")]
public string BotEnv{ get; set; }
///
/// 终端标识,每个终端(或线程)对应一个,区分并发多用户。
///
[JsonProperty("TerminalId")]
public string TerminalId{ get; set; }
///
/// 请求的文本。
///
[JsonProperty("InputText")]
public string InputText{ get; set; }
///
/// 透传字段,透传给用户自定义的WebService服务。
///
[JsonProperty("SessionAttributes")]
public string SessionAttributes{ get; set; }
///
/// 平台类型,{小程序:MiniProgram;小微:XiaoWei;公众号:OfficialAccount;企业微信: WXWork}。
///
[JsonProperty("PlatformType")]
public string PlatformType{ get; set; }
///
/// 当PlatformType为微信公众号或企业微信时,传递对应微信公众号或企业微信的唯一标识
///
[JsonProperty("PlatformId")]
public string PlatformId{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "BotId", this.BotId);
this.SetParamSimple(map, prefix + "BotEnv", this.BotEnv);
this.SetParamSimple(map, prefix + "TerminalId", this.TerminalId);
this.SetParamSimple(map, prefix + "InputText", this.InputText);
this.SetParamSimple(map, prefix + "SessionAttributes", this.SessionAttributes);
this.SetParamSimple(map, prefix + "PlatformType", this.PlatformType);
this.SetParamSimple(map, prefix + "PlatformId", this.PlatformId);
}
}
}