public class BotToken extends AbstractModel
header, skipSign
Constructor and Description |
---|
BotToken() |
BotToken(BotToken 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 |
getDescription()
Get 会话描述
|
String |
getId()
Get 会话id
|
String |
getKey()
Get 会话key
|
String |
getLocation()
Get 会话位置
|
String |
getName()
Get 会话名称
|
String |
getOperator()
Get 会话匹配方式,前缀匹配、后缀匹配等
|
Long |
getPriority()
Get 优先级
|
String[] |
getScene()
Get 场景列表,内容为空表示全部场景应用
|
Boolean |
getStatus()
Get 策略的开关状态
|
Long |
getTimestamp()
Get 会话更新的时间戳
|
void |
setDescription(String Description)
Set 会话描述
|
void |
setId(String Id)
Set 会话id
|
void |
setKey(String Key)
Set 会话key
|
void |
setLocation(String Location)
Set 会话位置
|
void |
setName(String Name)
Set 会话名称
|
void |
setOperator(String Operator)
Set 会话匹配方式,前缀匹配、后缀匹配等
|
void |
setPriority(Long Priority)
Set 优先级
|
void |
setScene(String[] Scene)
Set 场景列表,内容为空表示全部场景应用
|
void |
setStatus(Boolean Status)
Set 策略的开关状态
|
void |
setTimestamp(Long Timestamp)
Set 会话更新的时间戳
|
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, toJsonString
public BotToken()
public BotToken(BotToken source)
public String getName()
public void setName(String Name)
Name
- 会话名称public String getDescription()
public void setDescription(String Description)
Description
- 会话描述public String getId()
public void setId(String Id)
Id
- 会话idpublic Boolean getStatus()
public void setStatus(Boolean Status)
Status
- 策略的开关状态public String getLocation()
public void setLocation(String Location)
Location
- 会话位置public String getKey()
public void setKey(String Key)
Key
- 会话keypublic String getOperator()
public void setOperator(String Operator)
Operator
- 会话匹配方式,前缀匹配、后缀匹配等public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- 会话更新的时间戳public String[] getScene()
public void setScene(String[] Scene)
Scene
- 场景列表,内容为空表示全部场景应用public Long getPriority()
public void setPriority(Long Priority)
Priority
- 优先级Copyright © 2025. All rights reserved.