Class: TencentCloud::Sqlserver::V20180328::DescribeHASwitchLogResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeHASwitchLogResponse
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeHASwitchLog返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, switchlog = nil, requestid = nil) ⇒ DescribeHASwitchLogResponse
constructor
A new instance of DescribeHASwitchLogResponse.
Constructor Details
#initialize(totalcount = nil, switchlog = nil, requestid = nil) ⇒ DescribeHASwitchLogResponse
Returns a new instance of DescribeHASwitchLogResponse.
5130 5131 5132 5133 5134 |
# File 'lib/v20180328/models.rb', line 5130 def initialize(totalcount=nil, switchlog=nil, requestid=nil) @TotalCount = totalcount @SwitchLog = switchlog @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5128 5129 5130 |
# File 'lib/v20180328/models.rb', line 5128 def RequestId @RequestId end |
#SwitchLog ⇒ Object
5128 5129 5130 |
# File 'lib/v20180328/models.rb', line 5128 def SwitchLog @SwitchLog end |
#TotalCount ⇒ Object
5128 5129 5130 |
# File 'lib/v20180328/models.rb', line 5128 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 |
# File 'lib/v20180328/models.rb', line 5136 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SwitchLog'].nil? @SwitchLog = [] params['SwitchLog'].each do |i| switchlog_tmp = SwitchLog.new switchlog_tmp.deserialize(i) @SwitchLog << switchlog_tmp end end @RequestId = params['RequestId'] end |