public class WebSocket extends AbstractModel
| Constructor and Description | 
|---|
| WebSocket() | 
| 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, toJsonStringpublic 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.