public class GetWsTokenRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| GetWsTokenRequest() | 
| GetWsTokenRequest(GetWsTokenRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBotAppKey()Get   应用AppKey    获取方式:   1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取   2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项 | 
| Long | getType()Get 接入类型, 5-API 访客,目前仅支持传5 | 
| String | getVisitorBizId()Get 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
长度限制: string(64) | 
| GetWsTokenReq_Label[] | getVisitorLabels()Get 知识标签,用于知识库中知识的检索过滤。该字段即将下线,请使用对话端接口中的 custom_variables 字段替代该字段。 | 
| void | setBotAppKey(String BotAppKey)Set   应用AppKey    获取方式:   1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取   2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项 | 
| void | setType(Long Type)Set 接入类型, 5-API 访客,目前仅支持传5 | 
| void | setVisitorBizId(String VisitorBizId)Set 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
长度限制: string(64) | 
| void | setVisitorLabels(GetWsTokenReq_Label[] VisitorLabels)Set 知识标签,用于知识库中知识的检索过滤。该字段即将下线,请使用对话端接口中的 custom_variables 字段替代该字段。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic GetWsTokenRequest()
public GetWsTokenRequest(GetWsTokenRequest source)
public Long getType()
public void setType(Long Type)
Type - 接入类型, 5-API 访客,目前仅支持传5public String getBotAppKey()
public void setBotAppKey(String BotAppKey)
BotAppKey - 应用AppKey    获取方式:   1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取   2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项public String getVisitorBizId()
public void setVisitorBizId(String VisitorBizId)
VisitorBizId - 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
长度限制: string(64)public GetWsTokenReq_Label[] getVisitorLabels()
public void setVisitorLabels(GetWsTokenReq_Label[] VisitorLabels)
VisitorLabels - 知识标签,用于知识库中知识的检索过滤。该字段即将下线,请使用对话端接口中的 custom_variables 字段替代该字段。Copyright © 2025. All rights reserved.