Class: TencentCloud::Cfw::V20190904::ModifyClusterVpcFwSwitchRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::ModifyClusterVpcFwSwitchRequest
- Defined in:
- lib/v20190904/models.rb
Overview
ModifyClusterVpcFwSwitch请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enable = nil, ccnswitch = nil) ⇒ ModifyClusterVpcFwSwitchRequest
constructor
A new instance of ModifyClusterVpcFwSwitchRequest.
Constructor Details
#initialize(enable = nil, ccnswitch = nil) ⇒ ModifyClusterVpcFwSwitchRequest
Returns a new instance of ModifyClusterVpcFwSwitchRequest.
7570 7571 7572 7573 |
# File 'lib/v20190904/models.rb', line 7570 def initialize(enable=nil, ccnswitch=nil) @Enable = enable @CcnSwitch = ccnswitch end |
Instance Attribute Details
#CcnSwitch ⇒ Object
7568 7569 7570 |
# File 'lib/v20190904/models.rb', line 7568 def CcnSwitch @CcnSwitch end |
#Enable ⇒ Object
7568 7569 7570 |
# File 'lib/v20190904/models.rb', line 7568 def Enable @Enable end |
Instance Method Details
#deserialize(params) ⇒ Object
7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 |
# File 'lib/v20190904/models.rb', line 7575 def deserialize(params) @Enable = params['Enable'] unless params['CcnSwitch'].nil? @CcnSwitch = [] params['CcnSwitch'].each do |i| ccnswitchinfo_tmp = CcnSwitchInfo.new ccnswitchinfo_tmp.deserialize(i) @CcnSwitch << ccnswitchinfo_tmp end end end |