public class GetWsTokenResponse extends AbstractModel
header, skipSign| Constructor and Description |
|---|
GetWsTokenResponse() |
GetWsTokenResponse(GetWsTokenResponse 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 |
|---|---|
Float |
getBalance()
Get Balance.
|
Long |
getInputLenLimit()
Get The character limit for input in the chat window.
|
String |
getPattern()
Get Application mode: standard; agent; single_workflow.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
KnowledgeQaSingleWorkflow |
getSingleWorkflow()
Get SingleWorkflow.
|
String |
getToken()
Get Token value (valid for 60 seconds, valid only once, multiple validations will report an error).
|
void |
setBalance(Float Balance)
Set Balance.
|
void |
setInputLenLimit(Long InputLenLimit)
Set The character limit for input in the chat window.
|
void |
setPattern(String Pattern)
Set Application mode: standard; agent; single_workflow.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setSingleWorkflow(KnowledgeQaSingleWorkflow SingleWorkflow)
Set SingleWorkflow.
|
void |
setToken(String Token)
Set Token value (valid for 60 seconds, valid only once, multiple validations will report an error).
|
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 GetWsTokenResponse()
public GetWsTokenResponse(GetWsTokenResponse source)
public String getToken()
public void setToken(String Token)
Token - Token value (valid for 60 seconds, valid only once, multiple validations will report an error).public Float getBalance()
public void setBalance(Float Balance)
Balance - Balance. The balance is valid if it is greater than 0.public Long getInputLenLimit()
public void setInputLenLimit(Long InputLenLimit)
InputLenLimit - The character limit for input in the chat window.public String getPattern()
public void setPattern(String Pattern)
Pattern - Application mode: standard; agent; single_workflow.public KnowledgeQaSingleWorkflow getSingleWorkflow()
public void setSingleWorkflow(KnowledgeQaSingleWorkflow SingleWorkflow)
SingleWorkflow - SingleWorkflow.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.