Class: TencentCloud::Cdb::V20170320::DBSwitchInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DBSwitchInfo
- Defined in:
- lib/v20170320/models.rb
Overview
云数据库切换记录
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switchtime = nil, switchtype = nil) ⇒ DBSwitchInfo
constructor
A new instance of DBSwitchInfo.
Constructor Details
#initialize(switchtime = nil, switchtype = nil) ⇒ DBSwitchInfo
Returns a new instance of DBSwitchInfo.
3801 3802 3803 3804 |
# File 'lib/v20170320/models.rb', line 3801 def initialize(switchtime=nil, switchtype=nil) @SwitchTime = switchtime @SwitchType = switchtype end |
Instance Attribute Details
#SwitchTime ⇒ Object
3799 3800 3801 |
# File 'lib/v20170320/models.rb', line 3799 def SwitchTime @SwitchTime end |
#SwitchType ⇒ Object
3799 3800 3801 |
# File 'lib/v20170320/models.rb', line 3799 def SwitchType @SwitchType end |
Instance Method Details
#deserialize(params) ⇒ Object
3806 3807 3808 3809 |
# File 'lib/v20170320/models.rb', line 3806 def deserialize(params) @SwitchTime = params['SwitchTime'] @SwitchType = params['SwitchType'] end |