Class: TencentCloud::Live::V20180801::EnableOptimalSwitchingRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::EnableOptimalSwitchingRequest
- Defined in:
- lib/v20180801/models.rb
Overview
EnableOptimalSwitching请求参数结构体
Instance Attribute Summary collapse
-
#EnableSwitch ⇒ Object
0 - 禁用。 1 - 启用。.
-
#HostGroupName ⇒ Object
0 - 禁用。 1 - 启用。.
-
#StreamName ⇒ Object
0 - 禁用。 1 - 启用。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(streamname = nil, enableswitch = nil, hostgroupname = nil) ⇒ EnableOptimalSwitchingRequest
constructor
A new instance of EnableOptimalSwitchingRequest.
Constructor Details
#initialize(streamname = nil, enableswitch = nil, hostgroupname = nil) ⇒ EnableOptimalSwitchingRequest
10931 10932 10933 10934 10935 |
# File 'lib/v20180801/models.rb', line 10931 def initialize(streamname=nil, enableswitch=nil, hostgroupname=nil) @StreamName = streamname @EnableSwitch = enableswitch @HostGroupName = hostgroupname end |
Instance Attribute Details
#EnableSwitch ⇒ Object
0 - 禁用。1 - 启用。
10929 10930 10931 |
# File 'lib/v20180801/models.rb', line 10929 def EnableSwitch @EnableSwitch end |
#HostGroupName ⇒ Object
0 - 禁用。1 - 启用。
10929 10930 10931 |
# File 'lib/v20180801/models.rb', line 10929 def HostGroupName @HostGroupName end |
#StreamName ⇒ Object
0 - 禁用。1 - 启用。
10929 10930 10931 |
# File 'lib/v20180801/models.rb', line 10929 def StreamName @StreamName end |
Instance Method Details
#deserialize(params) ⇒ Object
10937 10938 10939 10940 10941 |
# File 'lib/v20180801/models.rb', line 10937 def deserialize(params) @StreamName = params['StreamName'] @EnableSwitch = params['EnableSwitch'] @HostGroupName = params['HostGroupName'] end |