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.
3830 3831 3832 3833 |
# File 'lib/v20170320/models.rb', line 3830 def initialize(switchtime=nil, switchtype=nil) @SwitchTime = switchtime @SwitchType = switchtype end |
Instance Attribute Details
#SwitchTime ⇒ Object
3828 3829 3830 |
# File 'lib/v20170320/models.rb', line 3828 def SwitchTime @SwitchTime end |
#SwitchType ⇒ Object
3828 3829 3830 |
# File 'lib/v20170320/models.rb', line 3828 def SwitchType @SwitchType end |
Instance Method Details
#deserialize(params) ⇒ Object
3835 3836 3837 3838 |
# File 'lib/v20170320/models.rb', line 3835 def deserialize(params) @SwitchTime = params['SwitchTime'] @SwitchType = params['SwitchType'] end |