public class WebSocket extends AbstractModel
Constructor and Description |
---|
WebSocket() |
WebSocket(WebSocket 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 |
getSwitch()
Get WebSocket configuration switch, which can be `on` or `off`.
|
Long |
getTimeout()
Get Sets timeout period in seconds.
|
void |
setSwitch(String Switch)
Set WebSocket configuration switch, which can be `on` or `off`.
|
void |
setTimeout(Long Timeout)
Set Sets timeout period in seconds.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public WebSocket()
public WebSocket(WebSocket source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- WebSocket configuration switch, which can be `on` or `off`.public Long getTimeout()
public void setTimeout(Long Timeout)
Timeout
- Sets timeout period in seconds. Maximum value: 65
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.