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 Application AppKey
How to Obtain It:
1.
|
Long |
getType()
Get Access type, 5 - API visitor .
|
String |
getVisitorBizId()
Get Visitor ID (external input, recommended to be unique, identifies the user currently accessing the session).
|
GetWsTokenReq_Label[] |
getVisitorLabels()
Get Knowledge label, used for search filter in the knowledge base.
|
void |
setBotAppKey(String BotAppKey)
Set Application AppKey
How to Obtain It:
1.
|
void |
setType(Long Type)
Set Access type, 5 - API visitor .
|
void |
setVisitorBizId(String VisitorBizId)
Set Visitor ID (external input, recommended to be unique, identifies the user currently accessing the session).
|
void |
setVisitorLabels(GetWsTokenReq_Label[] VisitorLabels)
Set Knowledge label, used for search filter in the knowledge base.
|
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 - Access type, 5 - API visitor .public String getBotAppKey()
public void setBotAppKey(String BotAppKey)
BotAppKey - Application AppKey
How to Obtain It:
1. After the application is released, obtain it at [Release Management] - [Call Information] - [API Management] on the application page.
2. See the second item in https://cloud.tencent.com/document/product/1759/109469.public String getVisitorBizId()
public void setVisitorBizId(String VisitorBizId)
VisitorBizId - Visitor ID (external input, recommended to be unique, identifies the user currently accessing the session). Length Limit: string(64).public GetWsTokenReq_Label[] getVisitorLabels()
public void setVisitorLabels(GetWsTokenReq_Label[] VisitorLabels)
VisitorLabels - Knowledge label, used for search filter in the knowledge base. This field is about to be deactivated. Please use the custom_variables field in the dialogue endpoint API to replace this field.Copyright © 2025. All rights reserved.