Class: TencentCloud::Cdb::V20170320::SwitchForUpgradeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::SwitchForUpgradeRequest
- Defined in:
- lib/v20170320/models.rb
Overview
SwitchForUpgrade请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, isrelatedswitch = nil) ⇒ SwitchForUpgradeRequest
constructor
A new instance of SwitchForUpgradeRequest.
Constructor Details
#initialize(instanceid = nil, isrelatedswitch = nil) ⇒ SwitchForUpgradeRequest
Returns a new instance of SwitchForUpgradeRequest.
14406 14407 14408 14409 |
# File 'lib/v20170320/models.rb', line 14406 def initialize(instanceid=nil, =nil) @InstanceId = instanceid @IsRelatedSwitch = end |
Instance Attribute Details
#InstanceId ⇒ Object
14404 14405 14406 |
# File 'lib/v20170320/models.rb', line 14404 def InstanceId @InstanceId end |
#IsRelatedSwitch ⇒ Object
14404 14405 14406 |
# File 'lib/v20170320/models.rb', line 14404 def IsRelatedSwitch @IsRelatedSwitch end |
Instance Method Details
#deserialize(params) ⇒ Object
14411 14412 14413 14414 |
# File 'lib/v20170320/models.rb', line 14411 def deserialize(params) @InstanceId = params['InstanceId'] @IsRelatedSwitch = params['IsRelatedSwitch'] end |