Class: TencentCloud::Ecdn::V20191012::WebSocket
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecdn::V20191012::WebSocket
- Defined in:
- lib/v20191012/models.rb
Overview
WebSocket配置。
Instance Attribute Summary collapse
-
#Switch ⇒ Object
-
WebSocket 为内测功能,如需使用,请联系腾讯云工程师开白.
-
-
#Timeout ⇒ Object
-
WebSocket 为内测功能,如需使用,请联系腾讯云工程师开白.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, timeout = nil) ⇒ WebSocket
constructor
A new instance of WebSocket.
Constructor Details
#initialize(switch = nil, timeout = nil) ⇒ WebSocket
Returns a new instance of WebSocket.
1416 1417 1418 1419 |
# File 'lib/v20191012/models.rb', line 1416 def initialize(switch=nil, timeout=nil) @Switch = switch @Timeout = timeout end |
Instance Attribute Details
#Switch ⇒ Object
-
WebSocket 为内测功能,如需使用,请联系腾讯云工程师开白.
注意:此字段可能返回 null,表示取不到有效值。
1414 1415 1416 |
# File 'lib/v20191012/models.rb', line 1414 def Switch @Switch end |
#Timeout ⇒ Object
-
WebSocket 为内测功能,如需使用,请联系腾讯云工程师开白.
注意:此字段可能返回 null,表示取不到有效值。
1414 1415 1416 |
# File 'lib/v20191012/models.rb', line 1414 def Timeout @Timeout end |
Instance Method Details
#deserialize(params) ⇒ Object
1421 1422 1423 1424 |
# File 'lib/v20191012/models.rb', line 1421 def deserialize(params) @Switch = params['Switch'] @Timeout = params['Timeout'] end |