Class: TencentCloud::Waf::V20180125::SwitchElasticModeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::SwitchElasticModeRequest
- Defined in:
- lib/v20180125/models.rb
Overview
SwitchElasticMode请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(edition = nil, mode = nil, instanceid = nil) ⇒ SwitchElasticModeRequest
constructor
A new instance of SwitchElasticModeRequest.
Constructor Details
#initialize(edition = nil, mode = nil, instanceid = nil) ⇒ SwitchElasticModeRequest
Returns a new instance of SwitchElasticModeRequest.
12636 12637 12638 12639 12640 |
# File 'lib/v20180125/models.rb', line 12636 def initialize(edition=nil, mode=nil, instanceid=nil) @Edition = edition @Mode = mode @InstanceID = instanceid end |
Instance Attribute Details
#Edition ⇒ Object
12634 12635 12636 |
# File 'lib/v20180125/models.rb', line 12634 def Edition @Edition end |
#InstanceID ⇒ Object
12634 12635 12636 |
# File 'lib/v20180125/models.rb', line 12634 def InstanceID @InstanceID end |
#Mode ⇒ Object
12634 12635 12636 |
# File 'lib/v20180125/models.rb', line 12634 def Mode @Mode end |
Instance Method Details
#deserialize(params) ⇒ Object
12642 12643 12644 12645 12646 |
# File 'lib/v20180125/models.rb', line 12642 def deserialize(params) @Edition = params['Edition'] @Mode = params['Mode'] @InstanceID = params['InstanceID'] end |