Class: TencentCloud::Sqlserver::V20180328::SwitchLog
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::SwitchLog
- Defined in:
- lib/v20180328/models.rb
Overview
主备切换日志
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventid = nil, switchtype = nil, starttime = nil, endtime = nil, reason = nil) ⇒ SwitchLog
constructor
A new instance of SwitchLog.
Constructor Details
#initialize(eventid = nil, switchtype = nil, starttime = nil, endtime = nil, reason = nil) ⇒ SwitchLog
Returns a new instance of SwitchLog.
11692 11693 11694 11695 11696 11697 11698 |
# File 'lib/v20180328/models.rb', line 11692 def initialize(eventid=nil, switchtype=nil, starttime=nil, endtime=nil, reason=nil) @EventId = eventid @SwitchType = switchtype @StartTime = starttime @EndTime = endtime @Reason = reason end |
Instance Attribute Details
#EndTime ⇒ Object
11690 11691 11692 |
# File 'lib/v20180328/models.rb', line 11690 def EndTime @EndTime end |
#EventId ⇒ Object
11690 11691 11692 |
# File 'lib/v20180328/models.rb', line 11690 def EventId @EventId end |
#Reason ⇒ Object
11690 11691 11692 |
# File 'lib/v20180328/models.rb', line 11690 def Reason @Reason end |
#StartTime ⇒ Object
11690 11691 11692 |
# File 'lib/v20180328/models.rb', line 11690 def StartTime @StartTime end |
#SwitchType ⇒ Object
11690 11691 11692 |
# File 'lib/v20180328/models.rb', line 11690 def SwitchType @SwitchType end |
Instance Method Details
#deserialize(params) ⇒ Object
11700 11701 11702 11703 11704 11705 11706 |
# File 'lib/v20180328/models.rb', line 11700 def deserialize(params) @EventId = params['EventId'] @SwitchType = params['SwitchType'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Reason = params['Reason'] end |